]>
Commit | Line | Data |
---|---|---|
49c326da JW |
1 | SECTION "boot", HOME[$0] |
2 | ld a, $AA | |
3 | ld [$FF51], A ; Poke the LEDs | |
4 | ||
5 | ; Write a little bit to the RAM | |
6 | ld H, $01 | |
7 | ld L, $00 | |
8 | ld A, $00 | |
9 | ld [HLI], A | |
10 | ld [HLI], A | |
11 | ld [HLI], A | |
12 | ld [HLI], A | |
13 | ld [HLI], A | |
14 | ld [HLI], A | |
15 | ld [HLI], A | |
16 | ld [HLI], A | |
17 | ||
18 | ld a, $55 | |
19 | ld [$FF51], A ; Poke the LEDs | |
20 | ||
21 | ld A, $FF | |
22 | ld [HLI], A | |
23 | ld [HLI], A | |
24 | ld [HLI], A | |
25 | ld [HLI], A | |
26 | ld [HLI], A | |
27 | ld [HLI], A | |
28 | ld [HLI], A | |
29 | ld [HLI], A | |
30 | ||
31 | ld H, $00 | |
32 | ld L, $00 | |
33 | ld [HL], $01 ; Select the GB boot rom | |
34 | rst $00 ; Boot | |
35 | ||
36 | SECTION "a", HOME[$100] | |
37 | nop ; Make sure we don't overflow. | |
38 |