add Gauntlet to the collection

This commit is contained in:
Peter Ferrie 2020-03-13 13:07:24 -07:00
parent 5b03fb1ba8
commit 081820af7c
6 changed files with 52 additions and 2 deletions

File diff suppressed because one or more lines are too long

BIN
res/TITLE.HGR/GAUNTLET Normal file

Binary file not shown.

View File

@ -75,6 +75,7 @@ FS2=Type(06),AuxType(4000),Access(C3)
FUJI.SPEED.WAY=Type(06),AuxType(4000),Access(C3)
GALAXY.GATES=Type(06),AuxType(4000),Access(C3)
GAMMA.GOBLINS=Type(06),AuxType(4000),Access(C3)
GAUNTLET=Type(06),AuxType(4000),Access(C3)
GENETIC.DRIFT=Type(06),AuxType(4000),Access(C3)
GENIUS=Type(06),AuxType(4000),Access(C3)
GENIUS.2=Type(06),AuxType(4000),Access(C3)

Binary file not shown.

View File

@ -79,7 +79,6 @@ Caverns of Callisto
Copts and Robbers
The Dam Busters
Fight Night
Gauntlet [priority]
Hardball
Infiltrator
Infiltrator II

50
src/prelaunch/gauntlet.a Normal file
View File

@ -0,0 +1,50 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/GAUNTLET",plain
*=$106
!source "src/prelaunch/common.a"
jmp +
callback
lda #$60
sta $B47D
jsr $B58F
lda #$60
sta $984D
jsr $8800
lda #$60
sta $A394
jsr $A200
lda #$bd
sta $6829 ; patch - don't decrease health
sta $8A8F ; patch - don't decrease health
sta $8E6B ; patch - don't decrease health
sta $90C8 ; patch - don't decrease health
sta $925B ; patch - don't decrease health
jmp $6000
+
+ENABLE_ACCEL
lda #$60
sta $9DA
jsr $800 ; load "DOS"
+READ_RAM2_NO_WRITE
jsr DisableAccelerator
lda MachineStatus
+READ_ROM_NO_WRITE
and #CHEATS_ENABLED
beq +
lda #<callback
sta $B748
lda #>callback
sta $B749
+ jmp $B700
!if * > $1C0 {
!error "code is too large, ends at ", *
}