mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-24 09:29:34 +00:00
28 lines
500 B
Plaintext
28 lines
500 B
Plaintext
;license:MIT
|
|
;(c) 2021 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH.INDEXED/STAR.DANCE",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #<hook
|
|
sta $1FB9+1
|
|
lda #>hook
|
|
sta $1FB9+2
|
|
jmp $1F71 ; decompress
|
|
|
|
hook lda #0
|
|
sta $7007
|
|
lda #1
|
|
sta $700C ; reset vector fix
|
|
|
|
+DISABLE_ACCEL
|
|
jmp $7000
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|