4cade/src/demo/spcartoon.4.a

44 lines
934 B
Plaintext
Raw Normal View History

;license:MIT
;(c) 2022 by qkumba
!cpu 6502
2022-10-01 00:04:02 +00:00
!to "build/DEMO/SPCARTOON.4.#060200",plain
*=$200
!source "src/constants.a" ; no code in these
!source "src/macros.a"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
+LOAD_FILE_KEEP_DIR spare_change, spare_change_dir_e-spare_change_dir_b
lda #$60
sta $277B
jsr $2700 ; decompress
lda #3
sta $19C7
lda #$4C
sta $182F
jsr $2000
2022-06-11 01:39:44 +00:00
lda #$44
sta $7A34
lda #$B0
sta $963B
lda #$6C
sta $963C
+DISABLE_ACCEL
jsr $9600
jmp $100
spare_change
!byte spare_change_e-spare_change_b
spare_change_b
spare_change_dir_b
!text "X"
spare_change_dir_e
!text "/SPARE.CHANGE"
spare_change_e
!if * > $3F0 {
!error "code is too large, ends at ", *
}