mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-28 20:32:18 +00:00
a couple more reset fixes (#369)
This commit is contained in:
parent
8266dd432a
commit
0c95ab0a9b
20
src/prelaunch/arena.a
Normal file
20
src/prelaunch/arena.a
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2021 by Frank M.
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/ARENA",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
lda #$60
|
||||||
|
sta $9490
|
||||||
|
jsr $6000 ; decompress
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
|
||||||
|
jmp $80D ; skip changing the reset vector
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
15
src/prelaunch/cosmic.combat.a
Normal file
15
src/prelaunch/cosmic.combat.a
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2021 by Frank M.
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/COSMIC.COMBAT",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
+NEW_RESET_VECTOR $BFF0
|
||||||
|
jmp $1A00
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user