convert Ceiling Zero demo, save 13kb

This commit is contained in:
Peter Ferrie 2022-07-21 17:16:39 -07:00
parent 67390bd79d
commit 8bdf694e2d
4 changed files with 42 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -21,7 +21,6 @@ BU=Type(06),AuxType(0300),Access(C3)
BUZZARD.BAIT=Type(06),AuxType(0300),Access(C3)
CB=Type(06),AuxType(0210),Access(C3)
CEILING.ZERO=Type(06),AuxType(0300),Access(C3)
CEILING.ZERO.1=Type(F1),AuxType(0000),Access(C3)
CL=Type(06),AuxType(0200),Access(C3)
CHOPLIFTER=Type(06),AuxType(0300),Access(C3)
CONAN=Type(06),AuxType(0200),Access(C3)

42
src/demo/ceiling.zero.a Normal file
View File

@ -0,0 +1,42 @@
;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"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
+LOAD_FILE_AT title, $00
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
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $5FED
title !byte x_e-x_b
x_b !text "X/CEILING.ZERO/CEILING.ZERO"
x_e
!if * > $3F0 {
!error "code is too large, ends at ", *
}