4cade/src/demo/aquatron.a
frankmilliron a5d842d470
more demo launchers (#410)
* Add files via upload

* Add files via upload

* Delete BEER.RUN.1

* Delete TUNNEL.TERROR.1

* Add files via upload

* Delete LAZER.SILK.1

* Add files via upload
2021-10-30 21:20:30 -04:00

50 lines
961 B
Plaintext

;license:MIT
;(c) 2021 by Frank M.
!cpu 6502
!to "res/DEMO/AQUATRON",plain
*=$BD00
!source "src/constants.a" ; no code in these
!source "src/macros.a"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
+LOAD_FILE_AT title, $00
+READ_ROM_NO_WRITE
lda #>(callback - 1)
sta $5FC3
lda #<(callback - 1)
sta $5FC6
jmp $59C2 ; decompress
callback
lda #$4C
sta $7AE1
sta $7D1D
lda #0
sta $7AE1+1
sta $7D1D+1
lda #1
sta $7AE1+2
sta $7D1D+2 ; set exits
lda #$D0
sta $7E11
sta $7E38
sta $7E43
sta $7EA0 ; disable sound
+DISABLE_ACCEL
jmp $400
title !byte x_e-x_b
x_b !text "X/AQUATRON/AQUATRON"
x_e
!if * > $BEFF {
!error "code is too large, ends at ", *
}