mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-19 02:10:39 +00:00
Pitstop II: reset to reboot
This commit is contained in:
parent
2f3c6c7f9d
commit
77cb37355c
21
src/prelaunch/pitstop.ii.a
Normal file
21
src/prelaunch/pitstop.ii.a
Normal file
@ -0,0 +1,21 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/PITSTOP.II",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
lda #$60
|
||||
sta $4055
|
||||
jsr $4000 ; decompress
|
||||
+LC_REBOOT
|
||||
lda #$2c
|
||||
sta $b12
|
||||
sta $b17 ; don't let game change reset vector
|
||||
jmp $a00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user