mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-22 09:30:04 +00:00
Fixes for Control-Reset Vector
This commit is contained in:
parent
75eed9a957
commit
469fc09eb7
5
src/prelaunch/alien.rain.a
Normal file → Executable file
5
src/prelaunch/alien.rain.a
Normal file → Executable file
@ -22,6 +22,11 @@
|
|||||||
dec $6a59
|
dec $6a59
|
||||||
dec $72c1
|
dec $72c1
|
||||||
+
|
+
|
||||||
|
lda #1
|
||||||
|
sta $1026
|
||||||
|
lda #$A4
|
||||||
|
sta $102B ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $1000
|
jmp $1000
|
||||||
|
|
||||||
|
5
src/prelaunch/alien.typhoon.a
Normal file → Executable file
5
src/prelaunch/alien.typhoon.a
Normal file → Executable file
@ -22,6 +22,11 @@
|
|||||||
dec $7270
|
dec $7270
|
||||||
dec $7b53
|
dec $7b53
|
||||||
+
|
+
|
||||||
|
lda #0
|
||||||
|
sta $2067
|
||||||
|
lda #1
|
||||||
|
sta $206C ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $2001
|
jmp $2001
|
||||||
|
|
||||||
|
5
src/prelaunch/battlezone.a
Normal file → Executable file
5
src/prelaunch/battlezone.a
Normal file → Executable file
@ -19,6 +19,11 @@
|
|||||||
sta $719c ; patch - don't increase lives
|
sta $719c ; patch - don't increase lives
|
||||||
sta $71ba ; patch - don't increase lives
|
sta $71ba ; patch - don't increase lives
|
||||||
+
|
+
|
||||||
|
lda #0
|
||||||
|
sta $0811
|
||||||
|
lda #1
|
||||||
|
sta $0816 ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $810
|
jmp $810
|
||||||
|
|
||||||
|
8
src/prelaunch/brainteaserblvd.a
Normal file → Executable file
8
src/prelaunch/brainteaserblvd.a
Normal file → Executable file
@ -15,6 +15,14 @@
|
|||||||
lda #$60
|
lda #$60
|
||||||
sta $363F
|
sta $363F
|
||||||
jsr $3600 ; memory move
|
jsr $3600 ; memory move
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta $0A01
|
||||||
|
lda #$2C
|
||||||
|
sta $0A05
|
||||||
|
lda #$A4
|
||||||
|
sta $0A09 ; reset vector patch
|
||||||
|
|
||||||
+GET_MACHINE_STATUS
|
+GET_MACHINE_STATUS
|
||||||
and #CHEATS_ENABLED
|
and #CHEATS_ENABLED
|
||||||
beq +
|
beq +
|
||||||
|
4
src/prelaunch/burgertime.a
Normal file → Executable file
4
src/prelaunch/burgertime.a
Normal file → Executable file
@ -27,6 +27,10 @@
|
|||||||
sta $94d1
|
sta $94d1
|
||||||
sta $9768
|
sta $9768
|
||||||
+
|
+
|
||||||
|
lda #1
|
||||||
|
sta $A30F ; reset vector patch
|
||||||
|
; (doesn't persist past title?)
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $a300
|
jmp $a300
|
||||||
|
|
||||||
|
5
src/prelaunch/cider.spider.a
Normal file → Executable file
5
src/prelaunch/cider.spider.a
Normal file → Executable file
@ -18,6 +18,11 @@
|
|||||||
sta $19C5 ; patch - don't decrease lives
|
sta $19C5 ; patch - don't decrease lives
|
||||||
sta $196A ; patch - don't increase lives
|
sta $196A ; patch - don't increase lives
|
||||||
+
|
+
|
||||||
|
lda #0
|
||||||
|
sta $10AC
|
||||||
|
lda #1
|
||||||
|
sta $10B1 ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $1000
|
jmp $1000
|
||||||
|
|
||||||
|
3
src/prelaunch/cubit.a
Normal file → Executable file
3
src/prelaunch/cubit.a
Normal file → Executable file
@ -18,6 +18,9 @@
|
|||||||
sta $4292 ; patch - don't decrease lives
|
sta $4292 ; patch - don't decrease lives
|
||||||
sta $7C1F ; patch - don't increase lives
|
sta $7C1F ; patch - don't increase lives
|
||||||
+
|
+
|
||||||
|
lda #1
|
||||||
|
sta $406F ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $4000
|
jmp $4000
|
||||||
|
|
||||||
|
4
src/prelaunch/defender.a
Normal file → Executable file
4
src/prelaunch/defender.a
Normal file → Executable file
@ -19,6 +19,10 @@
|
|||||||
sta $7579 ; patch - don't decrease lives
|
sta $7579 ; patch - don't decrease lives
|
||||||
sta $6567 ; patch - don't increase lives
|
sta $6567 ; patch - don't increase lives
|
||||||
+
|
+
|
||||||
|
lda #$EA
|
||||||
|
sta $4045
|
||||||
|
sta $4046 ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $4000
|
jmp $4000
|
||||||
|
|
||||||
|
5
src/prelaunch/donkey.kong.a
Normal file → Executable file
5
src/prelaunch/donkey.kong.a
Normal file → Executable file
@ -18,6 +18,11 @@
|
|||||||
sta $729b
|
sta $729b
|
||||||
sta $6fea
|
sta $6fea
|
||||||
+
|
+
|
||||||
|
lda #0
|
||||||
|
sta $4112
|
||||||
|
lda #1
|
||||||
|
sta $4117 ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $4000
|
jmp $4000
|
||||||
|
|
||||||
|
29
src/prelaunch/dung.beetles.a
Executable file
29
src/prelaunch/dung.beetles.a
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/DUNG.BEETLES",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
lda #$60
|
||||||
|
sta $603A
|
||||||
|
jsr $6000
|
||||||
|
|
||||||
|
lda #1
|
||||||
|
sta $083E ; reset vector patch
|
||||||
|
lda #$4C
|
||||||
|
sta $847
|
||||||
|
lda #0
|
||||||
|
sta $848
|
||||||
|
lda #$96 ; patch $847 - JMP ($3F2)
|
||||||
|
sta $849 ; to JMP $9600
|
||||||
|
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
jmp $800
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
23
src/prelaunch/formula.1.a
Executable file
23
src/prelaunch/formula.1.a
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/FORMULA.1",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
lda #$60
|
||||||
|
sta $818
|
||||||
|
jsr $800
|
||||||
|
|
||||||
|
lda #1
|
||||||
|
sta $71D4 ; reset vector patch
|
||||||
|
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
jmp $7000
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
4
src/prelaunch/gorgon.a
Normal file → Executable file
4
src/prelaunch/gorgon.a
Normal file → Executable file
@ -21,6 +21,10 @@
|
|||||||
lda #$A5
|
lda #$A5
|
||||||
sta $A5B0 ; patch - don't decrease lives
|
sta $A5B0 ; patch - don't decrease lives
|
||||||
+
|
+
|
||||||
|
lda #1
|
||||||
|
sta $A8BC ; reset vector patch
|
||||||
|
; (doesn't persist past title?)
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $A720
|
jmp $A720
|
||||||
|
|
||||||
|
3
src/prelaunch/hard.hat.mack.a
Normal file → Executable file
3
src/prelaunch/hard.hat.mack.a
Normal file → Executable file
@ -21,6 +21,9 @@ patcher rts
|
|||||||
sta $50A5 ; patch - don't decrease lives
|
sta $50A5 ; patch - don't decrease lives
|
||||||
sta $7197 ; patch - don't increase lives
|
sta $7197 ; patch - don't increase lives
|
||||||
+
|
+
|
||||||
|
lda #1
|
||||||
|
sta $2218 ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
lda #$07
|
lda #$07
|
||||||
pha
|
pha
|
||||||
|
3
src/prelaunch/jumpman.a
Normal file → Executable file
3
src/prelaunch/jumpman.a
Normal file → Executable file
@ -20,6 +20,9 @@
|
|||||||
sta $93B1 ; patch - don't decrease lives
|
sta $93B1 ; patch - don't decrease lives
|
||||||
sta $A598 ; patch - don't increase lives
|
sta $A598 ; patch - don't increase lives
|
||||||
+
|
+
|
||||||
|
lda #1
|
||||||
|
sta $88E4 ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $8000
|
jmp $8000
|
||||||
|
|
||||||
|
5
src/prelaunch/kid.niki.a
Normal file → Executable file
5
src/prelaunch/kid.niki.a
Normal file → Executable file
@ -9,6 +9,10 @@
|
|||||||
|
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $6069
|
sta $6069
|
||||||
|
|
||||||
|
lda #1
|
||||||
|
sta $6051 ; reset vector patch
|
||||||
|
|
||||||
jsr $5FF2 ; load assets
|
jsr $5FF2 ; load assets
|
||||||
+GET_MACHINE_STATUS
|
+GET_MACHINE_STATUS
|
||||||
and #CHEATS_ENABLED
|
and #CHEATS_ENABLED
|
||||||
@ -17,6 +21,7 @@
|
|||||||
lda #$AD
|
lda #$AD
|
||||||
sta $BD34 ; patch - don't decrease lives
|
sta $BD34 ; patch - don't decrease lives
|
||||||
+
|
+
|
||||||
|
|
||||||
jmp $61E3
|
jmp $61E3
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
|
5
src/prelaunch/ms.pacman.a
Normal file → Executable file
5
src/prelaunch/ms.pacman.a
Normal file → Executable file
@ -19,6 +19,11 @@
|
|||||||
lda #>cheat
|
lda #>cheat
|
||||||
sta $2008
|
sta $2008
|
||||||
+
|
+
|
||||||
|
lda #0
|
||||||
|
sta $202A
|
||||||
|
lda #1
|
||||||
|
sta $202F ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $2000
|
jmp $2000
|
||||||
|
|
||||||
|
3
src/prelaunch/sneakers.a
Normal file → Executable file
3
src/prelaunch/sneakers.a
Normal file → Executable file
@ -18,6 +18,9 @@
|
|||||||
sta $6ed8
|
sta $6ed8
|
||||||
sta $7f1c
|
sta $7f1c
|
||||||
+
|
+
|
||||||
|
lda #1
|
||||||
|
sta $9E2F ; reset vector patch
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $9e00
|
jmp $9e00
|
||||||
|
|
||||||
|
14
src/prelaunch/stellar.7.a
Normal file → Executable file
14
src/prelaunch/stellar.7.a
Normal file → Executable file
@ -8,7 +8,19 @@
|
|||||||
!source "src/prelaunch/common.a"
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
+USES_TEXT_PAGE_2
|
+USES_TEXT_PAGE_2
|
||||||
jmp $800
|
lda #$60
|
||||||
|
sta $863
|
||||||
|
jsr $800
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta $AE2A
|
||||||
|
lda #1
|
||||||
|
sta $AE2C
|
||||||
|
lda #$A4
|
||||||
|
sta $AE28 ; reset vector patch
|
||||||
|
|
||||||
|
jmp $AE27
|
||||||
|
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
|
Loading…
Reference in New Issue
Block a user