more demo launchers (#404)

* Add files via upload

* Add files via upload

* Delete AGENT.USA.1

* Delete FALCONS.1

* Delete STARGATE.1
This commit is contained in:
frankmilliron 2021-10-26 21:46:40 -07:00 committed by GitHub
parent a36a570735
commit 3b98febd69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 170 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,6 @@
# This file is maintained by hand
AGENT.U.S.A=Type(06),AuxType(0300),Access(C3)
AGENT.USA.1=Type(F1),AuxType(0000),Access(C3)
ALIEN.AMBUSH=Type(06),AuxType(4000),Access(C3)
ALIEN.DOWNPOUR=Type(06),AuxType(0300),Access(C3)
ALIEN.MUNCHIES=Type(06),AuxType(0300),Access(C3)
@ -51,8 +50,7 @@ DINO.EGGS=Type(06),AuxType(0300),Access(C3)
DINO.EGGS.1=Type(F1),AuxType(0000),Access(C3)
DUNG.BEETLES=Type(06),AuxType(0300),Access(C3)
DUNG.BEETLES.1=Type(F1),AuxType(0000),Access(C3)
FALCONS=Type(06),AuxType(0300),Access(C3)
FALCONS.1=Type(F1),AuxType(0000),Access(C3)
FALCONS=Type(06),AuxType(B000),Access(C3)
FIREBIRD=Type(06),AuxType(0300),Access(C3)
FIREBIRD.1=Type(F1),AuxType(0000),Access(C3)
FIREBUG=Type(06),AuxType(0200),Access(C3)
@ -165,8 +163,7 @@ SPIDER.RAID.1=Type(F1),AuxType(0000),Access(C3)
SPY.HUNTER=Type(06),AuxType(0B87),Access(C3)
SD=Type(06),AuxType(3FF1),Access(C3)
STAR.BLAZER=Type(06),AuxType(0300),Access(C3)
STARGATE=Type(06),AuxType(0300),Access(C3)
STARGATE.1=Type(F1),AuxType(0000),Access(C3)
STARGATE=Type(06),AuxType(0106),Access(C3)
STELLAR.7=Type(06),AuxType(0300),Access(C3)
STELLAR.7.1=Type(F1),AuxType(0000),Access(C3)
THUNDERBOMBS=Type(06),AuxType(2000),Access(C3)

59
src/demo/agent.u.s.a.a Normal file
View File

@ -0,0 +1,59 @@
;license:MIT
;(c) 2021 by Frank M.
!cpu 6502
!to "res/DEMO/AGENT.U.S.A",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
+READ_ROM_NO_WRITE
lda #$60
sta $36D3
jsr $366D ; decompress
ldx #5
- lda $100,x
sta reset,x
dex
bpl -
sec
rol $3F3 ; point to $300 instead
jsr $FB6F ; reset vector checksum (bank ROM in)
lda #$EA
sta $15DD
sta $15DD+1
sta $15DD+2 ; disable button press on main menu
lda #$4C
sta $0A06
sta $1605
lda #0
sta $0A06+1
sta $1605+1
lda #1
sta $0A06+2
sta $1605+2 ; set exits
lda #$D0
sta $AC64 ; disable sound
+DISABLE_ACCEL
jmp $837
reset !byte $00,$00,$00,$00,$00,$00
title !byte x_e-x_b
x_b !text "X/AGENT.U.S.A/AGENT.U.S.A"
x_e
!if * > $3F0 {
!error "code is too large, ends at ", *
}

42
src/demo/falcons.a Normal file
View File

@ -0,0 +1,42 @@
;license:MIT
;(c) 2021 by Frank M.
!cpu 6502
!to "res/DEMO/FALCONS",plain
*=$B000
!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 $3f0b
jsr $3eba ; decompress
lda #$2C
sta $602A ; skip input selection
lda #$4C
sta $9FF7
sta $9FDC
lda #0
sta $9FF7+1
sta $9FDC+1
lda #1
sta $9FF7+2
sta $9FDC+2 ; set exits
+DISABLE_ACCEL
jmp $6000
title !byte x_e-x_b
x_b !text "X/FALCONS/FALCONS"
x_e
!if * > $BFFF {
!error "code is too large, ends at ", *
}

67
src/demo/stargate.a Normal file
View File

@ -0,0 +1,67 @@
;license:MIT
;(c) 2021 by Frank M.
!cpu 6502
!to "res/DEMO/STARGATE",plain
*=$106
!source "src/constants.a" ; no code in these
!source "src/macros.a"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
+LOAD_FILE_AT title, $800
lda #$60
sta $4697
jsr $800 ; decompress
lda #$60
sta $9A03
jsr $9A00 ; decompress2
lda #$10
sta $0933
lda #$1E
sta $0933+1
lda #$4C
sta $0933+2
sta $0905
sta $51C7
sta $51D2
lda #0
sta $0933+3
sta $0905+1
sta $51C7+1
sta $51D2+1
sta $47F2
lda #1
sta $0933+4
sta $0905+2
sta $51C7+2
sta $51D2+2 ; set exits
sta $47F2+1
lda #$A4
sta $47F4+2 ; reset vector (moved to $3F2)
lda #$D0
sta $153B
sta $5F0E
sta $50B8
sta $1DF7
sta $1151
sta $16E0
sta $166B
sta $167A ; disable sound
+DISABLE_ACCEL
jmp $5000
title !byte x_e-x_b
x_b !text "X/STARGATE/STARGATE"
x_e
!if * > $1C0 {
!error "code is too large, ends at ", *
}