mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-15 04:30:18 +00:00
38 lines
694 B
Plaintext
Executable File
38 lines
694 B
Plaintext
Executable File
;license:MIT
|
|
;(c) 2019-2020 by qkumba/Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/THEXDER",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $83F
|
|
jsr $800
|
|
lda $13A8
|
|
cmp #$4C
|
|
bne +
|
|
lda #$60
|
|
sta $13A8
|
|
jsr $1200
|
|
+RESET_VECTOR reset
|
|
lda #<reset
|
|
sta $47FC
|
|
lda #>reset
|
|
sta $47FD ; moved to LC $FFFC/D
|
|
+DISABLE_ACCEL
|
|
jmp $1800
|
|
|
|
reset
|
|
+READ_ROM_NO_WRITE
|
|
jmp $FAA6
|
|
|
|
+ +DISABLE_ACCEL
|
|
jmp $1200
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|