Fix Demonic Decks & Neon reset vectors (#379)

This commit is contained in:
frankmilliron 2021-08-10 06:36:29 -07:00 committed by GitHub
parent be4268cfb9
commit c68860fae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 1 deletions

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2021 by qkumba
;(c) 2021 by qkumba/Frank M.
!cpu 6502
!to "build/PRELAUNCH/DEMONIC.DECKS",plain
@ -11,6 +11,7 @@
lda #$60
sta $206A
jsr $2000 ; decompress
+NEW_RESET_VECTOR $BFF0
+DISABLE_ACCEL
jmp $200

25
src/prelaunch/neon.a Normal file
View File

@ -0,0 +1,25 @@
;license:MIT
;(c) 2021 by Frank M.
!cpu 6502
!to "build/PRELAUNCH/NEON",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $1D7B
jsr $1D00 ; decompress
lda #0
sta $149B
lda #1
sta $14A0 ; reset vector fix
+DISABLE_ACCEL
jmp $149A
!if * > $1C0 {
!error "code is too large, ends at ", *
}