diff --git a/res/DEMO/ALIEN.TYPHOON b/res/DEMO/ALIEN.TYPHOON index 8c99ea46a..57eef1edb 100755 Binary files a/res/DEMO/ALIEN.TYPHOON and b/res/DEMO/ALIEN.TYPHOON differ diff --git a/res/DEMO/AQUATRON b/res/DEMO/AQUATRON index 26f4e9413..2d64aef0a 100755 Binary files a/res/DEMO/AQUATRON and b/res/DEMO/AQUATRON differ diff --git a/res/DEMO/AQUATRON.1 b/res/DEMO/AQUATRON.1 deleted file mode 100755 index 4f4be6e5e..000000000 Binary files a/res/DEMO/AQUATRON.1 and /dev/null differ diff --git a/res/DEMO/_FileInformation.txt b/res/DEMO/_FileInformation.txt index 8dba63300..2a4849427 100644 --- a/res/DEMO/_FileInformation.txt +++ b/res/DEMO/_FileInformation.txt @@ -6,9 +6,8 @@ ALIEN.AMBUSH=Type(06),AuxType(4000),Access(C3) ALIEN.DOWNPOUR=Type(06),AuxType(0300),Access(C3) ALIEN.MUNCHIES=Type(06),AuxType(0300),Access(C3) ALIEN.MUNCH.1=Type(F1),AuxType(0000),Access(C3) -ALIEN.TYPHOON=Type(06),AuxType(11FD),Access(C3) -AQUATRON=Type(06),AuxType(0300),Access(C3) -AQUATRON.1=Type(F1),AuxType(0000),Access(C3) +ALIEN.TYPHOON=Type(06),AuxType(0300),Access(C3) +AQUATRON=Type(06),AuxType(0120),Access(C3) AXIS.ASSASSIN=Type(06),AuxType(0300),Access(C3) AXIS.ASSASSIN.1=Type(F1),AuxType(0000),Access(C3) BATTLEZONE=Type(06),AuxType(0300),Access(C3) diff --git a/src/demo/alien.typhoon.a b/src/demo/alien.typhoon.a new file mode 100644 index 000000000..cfb498ce5 --- /dev/null +++ b/src/demo/alien.typhoon.a @@ -0,0 +1,57 @@ +;license:MIT +;(c) 2021 by Frank M. + +!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 alien_typhoon, $00 ; $4710 + + lda #$60 + sta $472f + sta $4739 + jsr $4710 ; decompress + ;jsr $6000 ; run intro screen + jsr $806 ; 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 + + jsr DisableAccelerator + +READ_ROM_NO_WRITE + jmp $8F98 + +alien_typhoon + !byte 29 + !text "X/ALIEN.TYPHOON/ALIEN.TYPHOON" + +!if * > $3F0 { + !error "code is too large, ends at ", * +} diff --git a/src/demo/aquatron.a b/src/demo/aquatron.a new file mode 100644 index 000000000..c0e501472 --- /dev/null +++ b/src/demo/aquatron.a @@ -0,0 +1,49 @@ +;license:MIT +;(c) 2021 by Frank M. + +!cpu 6502 +!to "res/DEMO/AQUATRON",plain +*=$120 + + !source "src/constants.a" ; no code in these + !source "src/macros.a" + + +READ_RAM2_WRITE_RAM2 + jsr EnableAccelerator + +LOAD_FILE_AT aquatron, $00 ; $59C2 + +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 + lda #$D0 + sta $7E11 + sta $7E38 + sta $7E43 + sta $7EA0 + + +READ_RAM2_WRITE_RAM2 + jsr DisableAccelerator + +READ_ROM_NO_WRITE + jmp $400 + +aquatron + !byte 19 + !text "X/AQUATRON/AQUATRON" + +!if * > $1F0 { + !error "code is too large, ends at ", * +}