mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
some reset fixes (#478)
* fix Prince of Persia reboot * Additional reset fixes * fix Victory Road reset during title screen
This commit is contained in:
parent
a9089f8c2f
commit
2c1c3c431b
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2022 by qkumba
|
||||
;(c) 2022 by qkumba, Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/PP",plain
|
||||
@ -7,6 +7,8 @@
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
inc $3F4 ; force reboot on reset
|
||||
|
||||
+READ_RAM2_NO_WRITE
|
||||
jsr EnableAccelerator
|
||||
lda MachineStatus
|
||||
|
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2022 by qkumba
|
||||
;(c) 2022 by qkumba, Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/VICTORY.ROAD",plain
|
||||
@ -20,6 +20,7 @@ callback
|
||||
|
||||
++
|
||||
+ENABLE_ACCEL
|
||||
inc $3F4 ; force reboot on reset during title screen
|
||||
lda #$60
|
||||
sta $11A7
|
||||
jsr $1000 ; decompress
|
||||
|
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by qkumba
|
||||
;(c) 2021-22 by qkumba, Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/VV",plain
|
||||
@ -8,6 +8,8 @@
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
+NEW_RESET_VECTOR $180
|
||||
|
||||
lda #<callback
|
||||
sta $A52
|
||||
lda #>callback
|
||||
@ -15,9 +17,9 @@
|
||||
jmp $800 ; load "DOS"
|
||||
|
||||
callback
|
||||
ldx #$00
|
||||
ldx #$80
|
||||
stx $9E52
|
||||
inx
|
||||
ldx #$01
|
||||
stx $9E53
|
||||
|
||||
+DISABLE_ACCEL
|
||||
|
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2022 by qkumba
|
||||
;(c) 2022 by qkumba, Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/ZP",plain
|
||||
@ -7,6 +7,8 @@
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+NEW_RESET_VECTOR $180
|
||||
|
||||
lda #$60
|
||||
sta $3076
|
||||
sta $313B
|
||||
|
Loading…
Reference in New Issue
Block a user