mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-21 02:30:27 +00:00
43 lines
799 B
Plaintext
43 lines
799 B
Plaintext
|
;license:MIT
|
||
|
;(c) 2021 by Frank M.
|
||
|
|
||
|
!cpu 6502
|
||
|
!to "res/DEMO/FALCONS",plain
|
||
|
*=$B000
|
||
|
|
||
|
!source "src/constants.a" ; no code in these
|
||
|
!source "src/macros.a"
|
||
|
|
||
|
+READ_RAM2_WRITE_RAM2
|
||
|
jsr EnableAccelerator
|
||
|
+LOAD_FILE_AT title, $00
|
||
|
|
||
|
lda #$60
|
||
|
sta $3f0b
|
||
|
jsr $3eba ; decompress
|
||
|
|
||
|
lda #$2C
|
||
|
sta $602A ; skip input selection
|
||
|
|
||
|
lda #$4C
|
||
|
sta $9FF7
|
||
|
sta $9FDC
|
||
|
lda #0
|
||
|
sta $9FF7+1
|
||
|
sta $9FDC+1
|
||
|
lda #1
|
||
|
sta $9FF7+2
|
||
|
sta $9FDC+2 ; set exits
|
||
|
|
||
|
+DISABLE_ACCEL
|
||
|
|
||
|
jmp $6000
|
||
|
|
||
|
title !byte x_e-x_b
|
||
|
x_b !text "X/FALCONS/FALCONS"
|
||
|
x_e
|
||
|
|
||
|
!if * > $BFFF {
|
||
|
!error "code is too large, ends at ", *
|
||
|
}
|