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
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
;license:MIT
|
|
;(c) 2021 by Frank M./qkumba
|
|
|
|
!cpu 6502
|
|
!to "res/DEMO/ALIEN.TYPHOON",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 #$61
|
|
sta $471C
|
|
lda #$7E
|
|
sta $4720
|
|
lda #$12
|
|
sta $4724
|
|
lda #$60
|
|
sta $472F
|
|
jsr $4710 ; decompress
|
|
|
|
lda #0
|
|
sta $2067
|
|
lda #1
|
|
sta $206C ; reset vector patch
|
|
|
|
lda #$60
|
|
sta $2075
|
|
jsr $2001 ; unpack
|
|
|
|
lda #$4C
|
|
sta $9D58
|
|
sta $8FD6
|
|
sta $8FEF
|
|
sta $92B1
|
|
lda #0
|
|
sta $9D58+1
|
|
sta $8FD6+1
|
|
sta $8FEF+1
|
|
sta $92B1+1
|
|
lda #1
|
|
sta $9D58+2
|
|
sta $8FD6+2
|
|
sta $8FEF+2
|
|
sta $92B1+2 ; set exits
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $8F98
|
|
|
|
title !byte x_e-x_b
|
|
x_b !text "X/ALIEN.TYPHOON/ALIEN.TYPHOON"
|
|
x_e
|
|
|
|
!if * > $3F0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|