2 more reset vectors

This commit is contained in:
frankmilliron 2019-12-24 09:37:13 -08:00 committed by 4am
parent 65377f54a3
commit 9bee3b5f75
2 changed files with 30 additions and 0 deletions

2
src/prelaunch/threshold.a Normal file → Executable file
View File

@ -8,6 +8,8 @@
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
+NEW_RESET_VECTOR $BFF0
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
sta patch+1

28
src/prelaunch/thunderbombs.a Executable file
View File

@ -0,0 +1,28 @@
;license:MIT
;(c) 2019 by qkumba
!cpu 6502
!to "build/PRELAUNCH/THUNDERBOMBS",plain
*=$106
!source "src/prelaunch/common.a"
lda #$60
sta $887F
jsr $87F9 ; load/title
+ENABLE_ACCEL
lda #$60
sta $7818
jsr $7800 ; unpack/setup
lda #0
sta $3F2
+DISABLE_ACCEL
lda $323
jmp $781B
!if * > $1C0 {
!error "code is too large, ends at ", *
}