mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-27 12:30:30 +00:00
fix Archon, Archon II reset
This commit is contained in:
parent
07c274820a
commit
15e7897491
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user