mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-08 11:54:42 +00:00
Merge pull request #72 from frankmilliron/master
More and more reset vector fixes
This commit is contained in:
commit
7977146a18
16
src/prelaunch/captn.goodnight.a
Executable file
16
src/prelaunch/captn.goodnight.a
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/CAPTN.GOODNIGHT",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
inc $3f4 ; reset vector patch
|
||||||
|
; (overwrites LC so reboot)
|
||||||
|
jmp $800
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
8
src/prelaunch/crisis.mountain.a
Normal file → Executable file
8
src/prelaunch/crisis.mountain.a
Normal file → Executable file
@ -8,9 +8,17 @@
|
|||||||
!source "src/prelaunch/common.a"
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
+ENABLE_ACCEL
|
+ENABLE_ACCEL
|
||||||
|
lda #$4c
|
||||||
|
sta $B75B
|
||||||
|
lda #0
|
||||||
|
sta $B75C
|
||||||
|
lda #1
|
||||||
|
sta $B75D ; reset vector patch
|
||||||
|
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $207b
|
sta $207b
|
||||||
jsr $2000 ; decompress
|
jsr $2000 ; decompress
|
||||||
|
|
||||||
+GET_MACHINE_STATUS
|
+GET_MACHINE_STATUS
|
||||||
and #CHEATS_ENABLED
|
and #CHEATS_ENABLED
|
||||||
beq +
|
beq +
|
||||||
|
2
src/prelaunch/crossfire.a
Normal file → Executable file
2
src/prelaunch/crossfire.a
Normal file → Executable file
@ -21,6 +21,8 @@
|
|||||||
lda #$00
|
lda #$00
|
||||||
sta $4786 ; patch - don't decrease lives
|
sta $4786 ; patch - don't decrease lives
|
||||||
+
|
+
|
||||||
|
lda #1
|
||||||
|
sta $4D8F ; reset vector patch
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $4000
|
jmp $4000
|
||||||
|
|
||||||
|
2
src/prelaunch/drelbs.a
Normal file → Executable file
2
src/prelaunch/drelbs.a
Normal file → Executable file
@ -17,6 +17,8 @@
|
|||||||
lda #$a5
|
lda #$a5
|
||||||
sta $1cb0 ; patch - don't decrease lives
|
sta $1cb0 ; patch - don't decrease lives
|
||||||
+
|
+
|
||||||
|
inc $3F4 ; reset vector patch
|
||||||
|
; trashes LC, so reboot
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $8000
|
jmp $8000
|
||||||
|
|
||||||
|
23
src/prelaunch/intl.gran.prix.a
Executable file
23
src/prelaunch/intl.gran.prix.a
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/INTL.GRAN.PRIX",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
lda #$60 ; RTS instead of JMP
|
||||||
|
sta $201A
|
||||||
|
jsr $2000 ; decompress
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta $6010
|
||||||
|
lda #1
|
||||||
|
sta $6015 ; reset vector patch
|
||||||
|
|
||||||
|
jmp $6000
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
6
src/prelaunch/joust.a
Normal file → Executable file
6
src/prelaunch/joust.a
Normal file → Executable file
@ -23,6 +23,12 @@
|
|||||||
sta $2bc9
|
sta $2bc9
|
||||||
sta $2b6b
|
sta $2b6b
|
||||||
+
|
+
|
||||||
|
lda #$4C
|
||||||
|
sta $A3DC
|
||||||
|
lda #0
|
||||||
|
sta $A3DD
|
||||||
|
lda #1
|
||||||
|
sta $A3DE ; reset vector patch
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $3e00
|
jmp $3e00
|
||||||
|
|
||||||
|
23
src/prelaunch/juggler.a
Executable file
23
src/prelaunch/juggler.a
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/JUGGLER",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
|
||||||
|
ldy #6
|
||||||
|
- lda $100-1,y
|
||||||
|
sta $180-1,y ; move hook to $180
|
||||||
|
dey
|
||||||
|
bne -
|
||||||
|
lda #$80
|
||||||
|
sta $3F2 ; reset vector patch
|
||||||
|
|
||||||
|
jmp $3FF5
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
1
src/prelaunch/mr.do.a
Normal file → Executable file
1
src/prelaunch/mr.do.a
Normal file → Executable file
@ -8,6 +8,7 @@
|
|||||||
!source "src/prelaunch/common.a"
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
+USES_TEXT_PAGE_2
|
+USES_TEXT_PAGE_2
|
||||||
|
inc $3F4 ; reboot on reset
|
||||||
clc
|
clc
|
||||||
bcc cheat3
|
bcc cheat3
|
||||||
|
|
||||||
|
27
src/prelaunch/night.stalker.a
Executable file
27
src/prelaunch/night.stalker.a
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/NIGHT.STALKER",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
lda #$60
|
||||||
|
sta $6017
|
||||||
|
jsr $800 ; decompress
|
||||||
|
jsr $2A8 ; part 2
|
||||||
|
|
||||||
|
lda #$A6
|
||||||
|
sta $6491
|
||||||
|
lda #$FA
|
||||||
|
sta $6496 ; reset vector patch (reboot)
|
||||||
|
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
jmp $283
|
||||||
|
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
24
src/prelaunch/orileys.mine.a
Executable file
24
src/prelaunch/orileys.mine.a
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/ORILEYS.MINE",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
lda #$60
|
||||||
|
sta $81D
|
||||||
|
jsr $800 ; decompress
|
||||||
|
|
||||||
|
lda #1
|
||||||
|
sta $2006
|
||||||
|
sta $201B ; reset vector patch
|
||||||
|
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
jmp $8FD
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
11
src/prelaunch/pac.man.a
Normal file → Executable file
11
src/prelaunch/pac.man.a
Normal file → Executable file
@ -8,7 +8,16 @@
|
|||||||
!source "src/prelaunch/common.a"
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
+USES_TEXT_PAGE_2
|
+USES_TEXT_PAGE_2
|
||||||
jmp $800
|
lda #$60
|
||||||
|
sta $813
|
||||||
|
jsr $800 ; decompress
|
||||||
|
|
||||||
|
lda #0
|
||||||
|
sta $103F
|
||||||
|
lda #1
|
||||||
|
sta $104A ; reset vector patch
|
||||||
|
|
||||||
|
jmp $1000
|
||||||
|
|
||||||
!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