fix Archon, Archon II reset

This commit is contained in:
Peter Ferrie 2020-06-07 12:16:45 -07:00
parent 07c274820a
commit 15e7897491
2 changed files with 32 additions and 2 deletions

View File

@ -17,17 +17,23 @@
hookreset
sta $BD01
jsr $BC08
ldx #0
lda $867
cmp #$A9
bne +
+READ_ROM_WRITE_RAM1
ldx #0
stx $868
stx $1B3D
stx $FFFE
inx
stx $86D
stx $1B42
stx $FFFF
+ rts
rts
+ stx $2029
inx
stx $202E
rts
callback
lda #$4C

View File

@ -14,7 +14,31 @@
sta $5C50
jmp $3FF8 ; decompress
hookreset
sta $BD05
jsr $BC09
ldx #0
lda $8E3
cmp #$A9
bne +
stx $8E4
inx
stx $8E9
rts
+ cmp #$89
bne +
stx $1C7B
inx
stx $1C80
+ rts
callback
lda #$4C
sta $BC06
lda #<hookreset
sta $BC07
lda #>hookreset
sta $BC08
+READ_RAM2_WRITE_RAM2
+LC_REBOOT
jsr DisableAccelerator