]> Joshua Wise's Git repositories - fpgaboy.git/blob - bootrom.asm
26ba6e4ed0c6862e89d6ffc3726a681f09225b06
[fpgaboy.git] / bootrom.asm
1         SECTION "b",HOME[$100]
2 boot:   jr .running     ; $0100
3         nop             ; $0102
4         nop             ; $0103
5         ;Nintendo Logo  ; $0104
6         DB $CE,$ED,$66,$66,$CC,$0D,$00,$0B,$03,$73,$00,$83,$00,$0C,$00,$0D 
7         DB $00,$08,$11,$1F,$88,$89,$00,$0E,$DC,$CC,$6E,$E6,$DD,$DD,$D9,$99 
8         DB $BB,$BB,$67,$63,$6E,$0E,$EC,$CC,$DD,$DC,$99,$9F,$BB,$B9,$33,$3E
9         ;$0134 
10         DB $00,$E7,$00,$00,$00,$00,$00,$00, $00,$00,$00,$00,$00,$00,$00,$00
11         ;$0144
12         DB $00,$00,$00,$00,$00,$00,$00,$00, $00,$00,$00,$00,$00,$00,$00,$00
13 .running:
14         ld a, $FF
15         ld [$FF51], A
16         ld a, $00
17         ld [$FF25], a
18 .diq:   ld A, [$FF51]
19         cp 0
20         jr z, .diq
21         ld a, 0
22         LD [$FF40],A
23         jp $0000
24
This page took 0.070784 seconds and 4 git commands to generate.