mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-07 19:29:38 +00:00
43 lines
783 B
Plaintext
43 lines
783 B
Plaintext
;license:MIT
|
|
;(c) 2022 by qkumba
|
|
|
|
!cpu 6502
|
|
!to "res/DEMO/CEILING.ZERO",plain
|
|
*=$300
|
|
|
|
!source "src/constants.a" ; no code in these
|
|
!source "src/macros.a"
|
|
|
|
+ENABLE_ACCEL
|
|
+LOAD_XSINGLE title
|
|
lda #$60
|
|
sta $083A
|
|
jsr $0800 ; decompress
|
|
lda #$4C
|
|
sta $7D9C
|
|
sta $7DE8
|
|
sta $7DE3
|
|
sty $7D98
|
|
sty $7D9D
|
|
sty $8118
|
|
sty $7DD8
|
|
sty $7DE9
|
|
sty $7E6A
|
|
sty $7DE4
|
|
lda #1
|
|
sta $7D9E
|
|
sta $7DEA
|
|
sta $7DE5
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $5FED
|
|
|
|
title !byte x_e-x_b
|
|
x_b !text "CEILING.ZERO"
|
|
x_e
|
|
|
|
!if * > $3F0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|