mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
convert Ceiling Zero demo, save 13kb
This commit is contained in:
parent
67390bd79d
commit
8bdf694e2d
Binary file not shown.
Binary file not shown.
@ -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
42
src/demo/ceiling.zero.a
Normal 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 ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user