mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-02 22:31:17 +00:00
Reset vector patches (#83)
* 2 more * Reset vector patches These are all for games which previously rebooted.
This commit is contained in:
parent
9bee3b5f75
commit
119e99edd0
6
src/prelaunch/cannonball.bltz.a
Normal file → Executable file
6
src/prelaunch/cannonball.bltz.a
Normal file → Executable file
@ -18,6 +18,12 @@
|
|||||||
sta $7dbf ; patch - don't increase lives
|
sta $7dbf ; patch - don't increase lives
|
||||||
sta $9c01 ; patch - don't decrease lives
|
sta $9c01 ; patch - don't decrease lives
|
||||||
+
|
+
|
||||||
|
+RESET_VECTOR $100
|
||||||
|
lda #$2C
|
||||||
|
sta $A0D2
|
||||||
|
sta $A0D5
|
||||||
|
sta $A0DA ; reset fix
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $a000
|
jmp $a000
|
||||||
|
|
||||||
|
1
src/prelaunch/free.fall.a
Normal file → Executable file
1
src/prelaunch/free.fall.a
Normal file → Executable file
@ -22,6 +22,7 @@
|
|||||||
sta $7E11 ; patch - don't increase lives
|
sta $7E11 ; patch - don't increase lives
|
||||||
sta $BE11 ; patch - don't increase lives
|
sta $BE11 ; patch - don't increase lives
|
||||||
+
|
+
|
||||||
|
+RESET_VECTOR $100
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $4000
|
jmp $4000
|
||||||
|
|
||||||
|
1
src/prelaunch/gamma.goblins.a
Normal file → Executable file
1
src/prelaunch/gamma.goblins.a
Normal file → Executable file
@ -21,6 +21,7 @@
|
|||||||
lda #$00
|
lda #$00
|
||||||
sta $7F62 ; patch - don't increase lives
|
sta $7F62 ; patch - don't increase lives
|
||||||
+
|
+
|
||||||
|
+RESET_VECTOR $100
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
lda #$00
|
lda #$00
|
||||||
tay
|
tay
|
||||||
|
20
src/prelaunch/outpost.a
Executable file
20
src/prelaunch/outpost.a
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/OUTPOST",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
;+ENABLE_ACCEL ; can't
|
||||||
|
lda #$60
|
||||||
|
sta $3EF2
|
||||||
|
jsr $3EC8 ; decompress/title
|
||||||
|
|
||||||
|
+RESET_VECTOR $100
|
||||||
|
jmp $200
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
26
src/prelaunch/photar.a
Executable file
26
src/prelaunch/photar.a
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/PHOTAR",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
lda #$60
|
||||||
|
sta $1027
|
||||||
|
jsr $1000 ; decompress
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta $60
|
||||||
|
sta $61
|
||||||
|
sta $62 ; uses reset vector for setup code
|
||||||
|
+RESET_VECTOR $100
|
||||||
|
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
jmp $3FA
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
22
src/prelaunch/raster.blaster.a
Executable file
22
src/prelaunch/raster.blaster.a
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/RASTER.BLASTER",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
;+ENABLE_ACCEL ; can't
|
||||||
|
lda #$60
|
||||||
|
sta $825
|
||||||
|
jsr $800 ; decompress
|
||||||
|
|
||||||
|
+RESET_VECTOR $100
|
||||||
|
|
||||||
|
jsr $8200 ; title
|
||||||
|
jmp $FEBC ; demo
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user