Pitstop II: reset to reboot

This commit is contained in:
4am 2019-12-23 23:03:31 -05:00
parent 2f3c6c7f9d
commit 77cb37355c

View 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 ", *
}