add Mars Cars to the collection

This commit is contained in:
Peter Ferrie 2020-05-21 09:39:14 -07:00
parent 687c13b99a
commit 3976e25d2a
6 changed files with 36 additions and 1 deletions

View File

@ -156,6 +156,7 @@
0001,MANIC.MINER
1100,MARBLE.MADNESS
0001,MARIO.BROS=Mario Bros.
0001,MARS.CARS
1001,MATING.ZONE
0111,MATTERHORN=Matterhorn Screamer
1000,MAXWELL.MANOR

BIN
res/TITLE.HGR/MARS.CARS Normal file

Binary file not shown.

View File

@ -143,6 +143,7 @@ MAD.BOMBER=Type(06),AuxType(4000),Access(C3)
MANIC.MINER=Type(06),AuxType(4000),Access(C3)
MARBLE.MADNESS=Type(06),AuxType(4000),Access(C3)
MARIO.BROS=Type(06),AuxType(4000),Access(C3)
MARS.CARS=Type(06),AuxType(4000),Access(C3)
MATING.ZONE=Type(06),AuxType(4000),Access(C3)
MAXWELL.MANOR=Type(06),AuxType(4000),Access(C3)
MEGABOTS=Type(06),AuxType(4000),Access(C3)

Binary file not shown.

View File

@ -7,7 +7,6 @@ Fat City [priority]
Lock 'N' Chase [priority]
Mad Rat
Marauder
Mars Cars
MIRV
The Movie Monster Game
Neutrons

34
src/prelaunch/mars.cars.a Normal file
View File

@ -0,0 +1,34 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/MARS.CARS",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$4C
sta $51CD
jsr $800 ; decompress
+DISABLE_ACCEL
jsr $1100
+ENABLE_ACCEL
lda #$60
sta $BE5A
jsr $BE24 ; decompress more
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$ad
sta $70A0 ; patch - don't decrease lives
sta $74E0 ; patch - don't increase lives
+
+DISABLE_ACCEL
jmp $7000
!if * > $1C0 {
!error "code is too large, ends at ", *
}