-
Notifications
You must be signed in to change notification settings - Fork 0
/
rom.asm
35 lines (33 loc) · 945 Bytes
/
rom.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
; Hardcoded chip8 game ROM binary
section "chip8rom", ROM0
chip8_rom:
;incbin "tests/jp1_test.ch8"
;incbin "tests/call2_and_ret00ee_test.ch8"
;incbin "tests/ld_se_sne_34569_test.ch8"
;incbin "tests/add7_ld80_or81_and82_xor83_test.ch8"
;incbin "tests/add84_sub85_shr86_shl8e_subn87_test.ch8"
;incbin "tests/a_fx55_test.ch8"
;incbin "tests/b_test.ch8"
;incbin "tests/fx1e_fx29_fx65_test.ch8"
;incbin "roms/Cave.ch8"
;incbin "roms/pong.rom"
incbin "roms/test_opcode.ch8"
chip8_rom_end:
chip8_font:
db $F0, $90, $90, $90, $F0
db $20, $60, $20, $20, $70
db $F0, $10, $F0, $80, $F0
db $F0, $10, $F0, $10, $F0
db $90, $90, $F0, $10, $10
db $F0, $80, $F0, $10, $F0
db $F0, $80, $F0, $90, $F0
db $F0, $10, $20, $40, $40
db $F0, $90, $F0, $90, $F0
db $F0, $90, $F0, $10, $F0
db $F0, $90, $F0, $90, $90
db $E0, $90, $E0, $90, $E0
db $F0, $80, $80, $80, $F0
db $E0, $90, $90, $90, $E0
db $F0, $80, $F0, $80, $F0
db $F0, $80, $F0, $80, $80
chip8_font_end: