mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
Fix Demonic Decks & Neon reset vectors (#379)
This commit is contained in:
parent
be4268cfb9
commit
c68860fae2
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by qkumba
|
;(c) 2021 by qkumba/Frank M.
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH/DEMONIC.DECKS",plain
|
!to "build/PRELAUNCH/DEMONIC.DECKS",plain
|
||||||
@ -11,6 +11,7 @@
|
|||||||
lda #$60
|
lda #$60
|
||||||
sta $206A
|
sta $206A
|
||||||
jsr $2000 ; decompress
|
jsr $2000 ; decompress
|
||||||
|
+NEW_RESET_VECTOR $BFF0
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $200
|
jmp $200
|
||||||
|
|
||||||
|
25
src/prelaunch/neon.a
Normal file
25
src/prelaunch/neon.a
Normal 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 ", *
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user