mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-16 14:09:13 +00:00
Reset Vector Fixes (#90)
This commit is contained in:
parent
0b924e936e
commit
30f414a3e7
@ -14,14 +14,16 @@
|
||||
lda #$60
|
||||
sta $bd40
|
||||
jsr $bc94
|
||||
|
||||
lda #1 ; reset vector fix
|
||||
sta $7C01 ; to $3F3
|
||||
lda #$A4
|
||||
sta $7C02 ; to $3F4 (doesn't change $3F2)
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jsr $5ff8 ; run intro
|
||||
|
||||
+ENABLE_ACCEL
|
||||
|
||||
; re-patch reset vector (doesn't work during copyright sequence)
|
||||
+RESET_VECTOR $100
|
||||
|
||||
lda #$6c
|
||||
sta $bd40
|
||||
lda #$60
|
||||
|
19
src/prelaunch/tunnel.terror.a
Executable file
19
src/prelaunch/tunnel.terror.a
Executable file
@ -0,0 +1,19 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/TUNNEL.TERROR",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
lda #1 ; reset vector fix
|
||||
sta $6E13 ; to $3F3
|
||||
lda #$A4
|
||||
sta $6E15 ; to $3F4 (doesn't change $3F2)
|
||||
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
26
src/prelaunch/vindicator.a
Executable file
26
src/prelaunch/vindicator.a
Executable file
@ -0,0 +1,26 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/VINDICATOR",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$60
|
||||
sta $1867
|
||||
jsr $181C ; decompress
|
||||
|
||||
+NEW_RESET_VECTOR $BFF0
|
||||
lda #$F0
|
||||
sta $4001
|
||||
lda #$BF
|
||||
sta $400F ; reset vector fix
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user