mirror of
https://github.com/a2-4am/4cade.git
synced 2024-10-09 14:54:37 +00:00
48 lines
997 B
Plaintext
48 lines
997 B
Plaintext
;license:MIT
|
|
;(c) 2021 by qkumba
|
|
|
|
!cpu 6502
|
|
!to "res/DEMO/ALIEN.DOWNPOUR",plain
|
|
*=$300
|
|
|
|
!source "src/constants.a" ; no code in these
|
|
!source "src/macros.a"
|
|
|
|
+READ_RAM2_WRITE_RAM2
|
|
jsr EnableAccelerator
|
|
+LOAD_FILE_AT alien_downpour, $00
|
|
lda #$60
|
|
sta $201f
|
|
jsr $2000 ; decompress
|
|
lda #$4C
|
|
sta $868C
|
|
sta $7B88
|
|
sta $8FDF
|
|
sta $902F
|
|
sta $9078
|
|
ldx #0
|
|
stx $868D
|
|
stx $7B89
|
|
stx $8FE0
|
|
stx $9030
|
|
stx $9079
|
|
inx
|
|
stx $868E
|
|
stx $7B8A
|
|
stx $8FE1
|
|
stx $9031
|
|
stx $907A
|
|
lda #$D0
|
|
sta $6E6D
|
|
jsr DisableAccelerator
|
|
+READ_ROM_NO_WRITE
|
|
jmp $73a0
|
|
|
|
alien_downpour
|
|
!byte 31
|
|
!text "X/ALIEN.DOWNPOUR/ALIEN.DOWNPOUR"
|
|
|
|
!if * > $3F0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|