Various Reset Fixes

This commit is contained in:
Frank M 2019-12-18 23:22:06 -08:00
parent b2325a6abc
commit df679103bb
6 changed files with 41 additions and 9 deletions

BIN
res/dsk/crime wave PRODOS (san inc pack).po Normal file → Executable file

Binary file not shown.

7
src/prelaunch/alcazar.a Normal file → Executable file
View File

@ -17,6 +17,13 @@
lda #$ad
sta $8289 ; patch - don't decrease lives
+
lda #$4C
sta $9DBF
lda #0
sta $9DC0
lda #1
sta $9DC1 ; reset vector patch
+DISABLE_ACCEL
jmp $7c1e

7
src/prelaunch/axis.assassin.a Normal file → Executable file
View File

@ -17,6 +17,13 @@
lda #$ad
sta $6d31
+
lda #$4C
sta $5B2E
lda #0
sta $5B2F
lda #1
sta $5B30 ; reset vector patch
+DISABLE_ACCEL
jmp $5c00

View File

@ -15,8 +15,17 @@
sta $bd40
jsr $bc94
+DISABLE_ACCEL
jsr $5ff8
jsr $5ff8 ; run intro
+ENABLE_ACCEL
lda #0
sta $3f2
lda #1
sta $3f3
lda #$A4 ; reset vector patch
sta $3f4 ; (doesn't work during copyright)
lda #$6c
sta $bd40
lda #$60
@ -32,14 +41,6 @@
sta $1b4e
;;sta $a973
+
lda #0
sta $3f2
lda #1
sta $3f3
lda #$A4
sta $3f4 ; reset vector patch
; (only works after title music)
+DISABLE_ACCEL
jmp $6ba5

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

@ -18,6 +18,8 @@
sta $9D89 ; patch - don't decrease lives
sta $9DF4 ; patch - don't increase lives
+
; reset vector in high score file
; gets loaded directly to $300
+DISABLE_ACCEL
jmp $0800

15
src/prelaunch/impossible.miss.a Executable file
View File

@ -0,0 +1,15 @@
;license:MIT
;(c) 2019 by qkumba
!cpu 6502
!to "build/PRELAUNCH/IMPOSSIBLE.MISS",plain
*=$106
!source "src/prelaunch/common.a"
inc $3f4 ; reset vector patch (reboot)
jmp $800
!if * > $1C0 {
!error "code is too large, ends at ", *
}