convert Aquatron & Alien Typhoon demos to prelaunch style (#396)

* Add files via upload

* Add files via upload

* Delete AQUATRON.1

* Delete _FileInformation.txt

* Add files via upload
This commit is contained in:
frankmilliron 2021-10-23 21:44:11 -07:00 committed by GitHub
parent 192a4de195
commit dc8eb20969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 108 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -6,9 +6,8 @@ ALIEN.AMBUSH=Type(06),AuxType(4000),Access(C3)
ALIEN.DOWNPOUR=Type(06),AuxType(0300),Access(C3) ALIEN.DOWNPOUR=Type(06),AuxType(0300),Access(C3)
ALIEN.MUNCHIES=Type(06),AuxType(0300),Access(C3) ALIEN.MUNCHIES=Type(06),AuxType(0300),Access(C3)
ALIEN.MUNCH.1=Type(F1),AuxType(0000),Access(C3) ALIEN.MUNCH.1=Type(F1),AuxType(0000),Access(C3)
ALIEN.TYPHOON=Type(06),AuxType(11FD),Access(C3) ALIEN.TYPHOON=Type(06),AuxType(0300),Access(C3)
AQUATRON=Type(06),AuxType(0300),Access(C3) AQUATRON=Type(06),AuxType(0120),Access(C3)
AQUATRON.1=Type(F1),AuxType(0000),Access(C3)
AXIS.ASSASSIN=Type(06),AuxType(0300),Access(C3) AXIS.ASSASSIN=Type(06),AuxType(0300),Access(C3)
AXIS.ASSASSIN.1=Type(F1),AuxType(0000),Access(C3) AXIS.ASSASSIN.1=Type(F1),AuxType(0000),Access(C3)
BATTLEZONE=Type(06),AuxType(0300),Access(C3) BATTLEZONE=Type(06),AuxType(0300),Access(C3)

57
src/demo/alien.typhoon.a Normal file
View File

@ -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 ", *
}

49
src/demo/aquatron.a Normal file
View File

@ -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 ", *
}