This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`timescale 1ns/1ns | |
/* These defines determine which machines are compiled in to the design */ | |
`define INCLUDE_GATED_RESET | |
`define INCLUDE_BUS_WATCHDOG | |
`define INCLUDE_DRAM_MACHINE | |
`define INCLUDE_XBUS_MACHINE | |
`define INCLUDE_INTERRUPT_CONTROLLER | |
`define INCLUDE_BUS_ARBITER | |
`define INCLUDE_ETHERNET_MACHINE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
pois = [ | |
('McLaren', 51.34314, -0.54252), | |
('Williams', 51.61672, -1.41096), | |
('Alpine', 51.92018, -1.38986), | |
('Haas', 52.06374, -1.31433), | |
('Mercedes', 52.02262, -1.1495), | |
('Aston Martin', 52.07592, -1.0296), | |
('Red Bull', 52.00815, -0.6929), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heap_start .equ 0x9000 ; Starting address of heap | |
heap_size .equ 0x0100 ; Number of bytes available in heap | |
.org 0 | |
jp main | |
.org 0x100 | |
main: | |
ld HL, 0x8100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* Home */ | |
"\UF729" = "moveToBeginningOfLine:"; | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; | |
/* End */ | |
"\UF72B" = "moveToEndOfLine:"; | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; | |
/* Page Up/Down */ |