Add test program for mapper, fix reset bug

This commit is contained in:
Byron Lathi
2023-10-20 08:27:51 -07:00
parent 5a8d15de94
commit ac5564d03d
6 changed files with 281 additions and 170 deletions

View File

@@ -0,0 +1,23 @@
.export _init, _nmi_int, _irq_int
.code
_nmi_int:
_irq_int:
MAPPER_BASE = $200
_init:
ldx #$ff
txs
lda #$10
sta MAPPER_BASE + 2
lda #$aa
sta $1000
lda #$55
sta $1001
@end: bra @end