mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-19 02:10:39 +00:00
27 lines
481 B
Plaintext
Executable File
27 lines
481 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/PHOTAR",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $1027
|
|
jsr $1000 ; decompress
|
|
|
|
lda #0
|
|
sta $60
|
|
sta $61
|
|
sta $62 ; uses reset vector for setup code
|
|
+RESET_VECTOR $100
|
|
|
|
+DISABLE_ACCEL
|
|
jmp $3FA
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|