new & used demo launchers (#421)

* Add files via upload

* Delete CANNONBALL.BL.1

* Delete DINO.EGGS.1

* Delete ROBOTRON.1

* Delete VINDICATOR.1

* Add files via upload
This commit is contained in:
frankmilliron 2021-11-04 17:23:28 -07:00 committed by GitHub
parent 8374121c03
commit 068b2fa7e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 119 additions and 24 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.

Binary file not shown.

Binary file not shown.

View File

@ -17,8 +17,7 @@ BOLO=Type(06),AuxType(0300),Access(C3)
BK=Type(06),AuxType(A800),Access(C3)
BU=Type(06),AuxType(0300),Access(C3)
BUZZARD.BAIT=Type(06),AuxType(0300),Access(C3)
CB=Type(06),AuxType(3000),Access(C3)
CANNONBALL.BL.1=Type(F1),AuxType(0000),Access(C3)
CB=Type(06),AuxType(0210),Access(C3)
CEILING.ZERO=Type(06),AuxType(0300),Access(C3)
CEILING.ZERO.1=Type(F1),AuxType(0000),Access(C3)
CL=Type(06),AuxType(0800),Access(C3)
@ -37,8 +36,7 @@ CONAN.1=Type(F1),AuxType(0000),Access(C3)
CRIME.WAVE=Type(06),AuxType(BE00),Access(C3)
CYCLOD=Type(06),AuxType(0300),Access(C3)
DIG.DUG=Type(06),AuxType(0300),Access(C3)
DINO.EGGS=Type(06),AuxType(0300),Access(C3)
DINO.EGGS.1=Type(F1),AuxType(0000),Access(C3)
DINO.EGGS=Type(06),AuxType(0210),Access(C3)
DUNG.BEETLES=Type(06),AuxType(0300),Access(C3)
FALCONS=Type(06),AuxType(B000),Access(C3)
FIREBIRD=Type(06),AuxType(0300),Access(C3)
@ -106,8 +104,7 @@ PHASER.FIRE.1=Type(F1),AuxType(0000),Access(C3)
POOYAN=Type(06),AuxType(0300),Access(C3)
REPTON=Type(06),AuxType(0300),Access(C3)
REPTON.1=Type(F1),AuxType(0000),Access(C3)
ROBOTRON.2084=Type(06),AuxType(3000),Access(C3)
ROBOTRON.1=Type(F1),AuxType(0000),Access(C3)
ROBOTRON.2084=Type(06),AuxType(BF70),Access(C3)
SAMMY.LIGHTFOOT=Type(06),AuxType(0300),Access(C3)
SAMMY.1=Type(F1),AuxType(0000),Access(C3)
SAMMY.2=Type(F1),AuxType(0000),Access(C3)
@ -151,5 +148,4 @@ TB=Type(06),AuxType(0300),Access(C3)
TUNNEL.TERROR=Type(06),AuxType(BD00),Access(C3)
WARP.DESTROYER=Type(06),AuxType(0320),Access(C3)
WAVY.NAVY=Type(06),AuxType(0300),Access(C3)
VINDICATOR=Type(06),AuxType(0300),Access(C3)
VINDICATOR.1=Type(F1),AuxType(0000),Access(C3)
VINDICATOR=Type(06),AuxType(0320),Access(C3)

View File

@ -0,0 +1,46 @@
;license:MIT
;(c) 2021 by Frank M.
!cpu 6502
!to "res/DEMO/CB",plain
*=$210
!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 $1e61
jsr $1e30 ; decompress/sets reset vector
+RESET_VECTOR $100
lda #$2C
sta $A0D2
sta $A0D5
sta $A0DA ; reset fix
ldx #9-1
- lda patch, x
sta $A090, x
dex
bpl - ; exit after keypress and set up counter
lda #$C6
sta $A006 ; disable sound
+DISABLE_ACCEL
jmp $a000
patch !byte $CE,$98,$A0,$10,$93,$4C,$00,$01,$02
title !byte x_e-x_b
x_b !text "X/CB/CB"
x_e
!if * > $300 {
!error "code is too large, ends at ", *
}

58
src/demo/dino.eggs.a Normal file
View File

@ -0,0 +1,58 @@
;license:MIT
;(c) 2021 by Frank M.
!cpu 6502
!to "res/DEMO/DINO.EGGS",plain
*=$210
!source "src/constants.a" ; no code in these
!source "src/macros.a"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
;+LOAD_FILE_KEEP_DIR
ldx #0 ; read to main memory
stx ldrhi
stx ldrlo
+LDADDR title
jsr iLoadFileDirect
+READ_ROM_NO_WRITE
ldx #12-1 ; we also need to copy the length byte
- lda newpath,x
sta $BFD0,x
dex
bpl -
lda #$60
sta $2186
jsr $2100 ; decompress
lda #$4C
sta $AD7A
sta $B29D
lda #1
sta $AD7A+2
sta $B29D+2
lda #0
sta $AD7A+1
sta $B29D+1 ; set exits
sta $0863 ; disable sound
+DISABLE_ACCEL
jmp $A892
newpath
!byte 11
!text "X/DINO.EGGS"
title !byte x_e-x_b
x_b !text "X/DINO.EGGS/DINO.EGGS"
x_e
!if * > $300 {
!error "code is too large, ends at ", *
}

View File

@ -24,9 +24,7 @@
sta $141D+2
jmp $1400 ; decompress
callback +RESET_AND_IRQ_VECTOR $100
ldx #6-1
callback ldx #6-1
- lda patch1, x
sta $4542, x
dex
@ -54,6 +52,6 @@ title !byte x_e-x_b
x_b !text "X/ROBOTRON.2084/ROBOTRON.2084"
x_e
!if * > $BFFF {
!if * > $C000 {
!error "code is too large, ends at ", *
}

View File

@ -3,7 +3,7 @@
!cpu 6502
!to "res/DEMO/VINDICATOR",plain
*=$300
*=$320
!source "src/constants.a" ; no code in these
!source "src/macros.a"
@ -29,25 +29,22 @@
jsr $180F ; decompress
+NEW_RESET_VECTOR $BFF0
lda #$4C
sta $56D9
sta $4902 ; set exits
lda #$F0
sta $56D9+1
sta $4902+1
sta $4001
lda #$BF
sta $400F ; reset vector fix
sta $56D9+2
sta $4902+2
sta $400F ; reset vector fix (overwrites $100)
lda #$60 ; annunciator fix - kills Gizmo/joyport support
sta $5B77 ; but fixes ][+ 80-col softswitch
sta $5B43 ; and //c+ coloring
lda #$4C
sta $56D9
sta $4902
lda #0
sta $56D9+1
sta $4902+1
lda #1
sta $56D9+2
sta $4902+2 ; set exits
lda #$D0
sta $441F
sta $5E25