mirror of
https://github.com/a2-4am/4cade.git
synced 2024-10-11 02:23:42 +00:00
35509c7666
* Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Delete CYCLOD.1 * Delete DIG.DUG.1 * Delete PLASMANIA.1 * Delete STAR.BLAZER.1
49 lines
927 B
Plaintext
49 lines
927 B
Plaintext
;license:MIT
|
|
;(c) 2021 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "res/DEMO/CYCLOD",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 $202A
|
|
jsr $2000 ; decompress
|
|
|
|
ldx #6-1
|
|
- lda patch, x
|
|
sta $7381, x
|
|
sta $8B20, x
|
|
dex
|
|
bpl - ; exit on keypress
|
|
|
|
lda #$4C
|
|
sta $89EF
|
|
lda #0
|
|
sta $89EF+1
|
|
lda #1
|
|
sta $89EF+2 ; exit at end of demo cycle
|
|
|
|
lda #$D0
|
|
sta $7CED ; disable sound
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $8EA6
|
|
|
|
title !byte x_e-x_b
|
|
x_b !text "X/CYCLOD/CYCLOD"
|
|
x_e
|
|
|
|
patch !byte $10,$03,$4C,$00,$01,$EA
|
|
|
|
!if * > $3F0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|