mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-27 12:30:30 +00:00
Reset/Reboot Fixes (#168)
This commit is contained in:
parent
01f38a6585
commit
a78e1d16b5
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2020 by qkumba
|
;(c) 2020 by qkumba/Frank M.
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH/G.I.JOE",plain
|
!to "build/PRELAUNCH/G.I.JOE",plain
|
||||||
@ -25,6 +25,7 @@
|
|||||||
sta $D5A3
|
sta $D5A3
|
||||||
+
|
+
|
||||||
bit $C083
|
bit $C083
|
||||||
|
+LC_REBOOT
|
||||||
jsr DisableAccelerator
|
jsr DisableAccelerator
|
||||||
bit $C08B
|
bit $C08B
|
||||||
jmp $D400
|
jmp $D400
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2020 by qkumba
|
;(c) 2020 by qkumba/Frank M.
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH/MAXWELL.MANOR",plain
|
!to "build/PRELAUNCH/MAXWELL.MANOR",plain
|
||||||
@ -15,6 +15,7 @@
|
|||||||
jmp $800 ; decompress
|
jmp $800 ; decompress
|
||||||
|
|
||||||
callback
|
callback
|
||||||
|
+LC_REBOOT
|
||||||
jsr DisableAccelerator
|
jsr DisableAccelerator
|
||||||
jmp $204B
|
jmp $204B
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2020 by qkumba
|
;(c) 2020 by qkumba/Frank M.
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH/MINIT.MAN",plain
|
!to "build/PRELAUNCH/MINIT.MAN",plain
|
||||||
@ -18,6 +18,11 @@
|
|||||||
lda #$a5
|
lda #$a5
|
||||||
sta $B13D ; patch - don't decrease lives
|
sta $B13D ; patch - don't decrease lives
|
||||||
+
|
+
|
||||||
|
ldx #0
|
||||||
|
stx $9E31
|
||||||
|
inx
|
||||||
|
stx $9E3C ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $B700
|
jmp $B700
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2020 by qkumba
|
;(c) 2020 by qkumba/Frank M.
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH/SPINDIZZY",plain
|
!to "build/PRELAUNCH/SPINDIZZY",plain
|
||||||
@ -8,9 +8,20 @@
|
|||||||
!source "src/prelaunch/common.a"
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL
|
||||||
|
|
||||||
|
+READ_RAM1_WRITE_RAM1
|
||||||
|
+LC_REBOOT
|
||||||
|
+READ_ROM_NO_WRITE
|
||||||
|
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $855
|
sta $855
|
||||||
jsr $800 ; decompress
|
jsr $800 ; decompress
|
||||||
|
|
||||||
|
ldx #0
|
||||||
|
stx $9344
|
||||||
|
inx
|
||||||
|
stx $934F ; fix reboot
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $9300
|
jmp $9300
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2020 by qkumba
|
;(c) 2020 by qkumba/Frank M.
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH/THUNDERHEAD",plain
|
!to "build/PRELAUNCH/THUNDERHEAD",plain
|
||||||
@ -15,6 +15,7 @@
|
|||||||
jmp $800 ; decompress
|
jmp $800 ; decompress
|
||||||
|
|
||||||
callback
|
callback
|
||||||
|
+LC_REBOOT
|
||||||
jsr DisableAccelerator
|
jsr DisableAccelerator
|
||||||
jmp $204B
|
jmp $204B
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user