a couple more reset fixes (#369)

This commit is contained in:
frankmilliron 2021-03-08 16:40:24 -08:00 committed by GitHub
parent 8266dd432a
commit 0c95ab0a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

20
src/prelaunch/arena.a Normal file
View 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 ", *
}

View 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 ", *
}