add Spectre to the collection

This commit is contained in:
Peter Ferrie 2020-05-08 21:31:03 -07:00
parent eaff1a0209
commit 414c5d3d25
5 changed files with 32 additions and 0 deletions

View File

@ -236,6 +236,7 @@
0000,SPACE.QUARKS 0000,SPACE.QUARKS
0000,SPACE.RAIDERS 0000,SPACE.RAIDERS
0005,SPARE.CHANGE 0005,SPARE.CHANGE
0001,SPECTRE
0000,SPDWAY.CLASSIC=Speedway Classic 0000,SPDWAY.CLASSIC=Speedway Classic
0110,SPIDERBOT 0110,SPIDERBOT
0000,SPIDER.RAID 0000,SPIDER.RAID

BIN
res/TITLE.HGR/SPECTRE Normal file

Binary file not shown.

View File

@ -214,6 +214,7 @@ SPACE.QUARKS=Type(06),AuxType(4000),Access(C3)
SPACE.RAIDERS=Type(06),AuxType(4000),Access(C3) SPACE.RAIDERS=Type(06),AuxType(4000),Access(C3)
SPARE.CHANGE=Type(06),AuxType(4000),Access(C3) SPARE.CHANGE=Type(06),AuxType(4000),Access(C3)
SPDWAY.CLASSIC=Type(06),AuxType(4000),Access(C3) SPDWAY.CLASSIC=Type(06),AuxType(4000),Access(C3)
SPECTRE=Type(06),AuxType(4000),Access(C3)
SPIDER.RAID=Type(06),AuxType(4000),Access(C3) SPIDER.RAID=Type(06),AuxType(4000),Access(C3)
SPINDIZZY=Type(06),AuxType(4000),Access(C3) SPINDIZZY=Type(06),AuxType(4000),Access(C3)
SPY.HUNTER=Type(06),AuxType(4000),Access(C3) SPY.HUNTER=Type(06),AuxType(4000),Access(C3)

Binary file not shown.

30
src/prelaunch/spectre.a Normal file
View File

@ -0,0 +1,30 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/SPECTRE",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #>(callback-1)
sta $5F08
lda #<(callback-1)
sta $5F0B
jmp $5E2B ; decompress
callback
jsr $BD78
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$ad
sta $6A6B ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $6000
!if * > $1C0 {
!error "code is too large, ends at ", *
}