mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-15 09:29:41 +00:00
38 lines
667 B
Plaintext
38 lines
667 B
Plaintext
;license:MIT
|
|
;(c) 2021-2022 by Frank M., qkumba
|
|
|
|
!cpu 6502
|
|
!to "build/DEMO/FALCONS",plain
|
|
*=$B000
|
|
|
|
!source "src/constants.a" ; no code in these
|
|
!source "src/macros.a"
|
|
|
|
+LOAD_XSINGLE title
|
|
|
|
lda #$60
|
|
sta $3f0b
|
|
jsr $3eba ; decompress
|
|
|
|
lda #$2C
|
|
sta $602A ; skip input selection
|
|
|
|
ldx #3-1
|
|
- lda patch,x
|
|
sta $9FF7,x
|
|
sta $9FDC,x ; set exits
|
|
dex
|
|
bpl -
|
|
|
|
jmp $6000
|
|
|
|
patch !byte $4C,$00,$01
|
|
|
|
title !byte x_e-x_b
|
|
x_b !text "FALCONS"
|
|
x_e
|
|
|
|
!if * > $BFFF {
|
|
!error "code is too large, ends at ", *
|
|
}
|