add Genesis to the collection

This commit is contained in:
Peter Ferrie 2020-05-26 15:55:49 -07:00
parent c42d434281
commit c5d59fb080
5 changed files with 32 additions and 0 deletions

View File

@ -109,6 +109,7 @@
0001,GALAXY.GATES
1001,GAMMA.GOBLINS
0101,GAUNTLET
1001,GENESIS
0001,GENETIC.DRIFT
0001,GENIUS
0001,GENIUS.2

BIN
res/TITLE.HGR/GENESIS Normal file

Binary file not shown.

View File

@ -101,6 +101,7 @@ G.I.JOE=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)
GENESIS=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.

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

@ -0,0 +1,30 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/GENESIS",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #>(callback-1)
sta $3D0A
lda #<(callback-1)
sta $3D0D
jmp $800 ; decompress
callback
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$a5
sta $1527 ; patch - don't decrease lives
sta $820F ; patch - don't increase lives
+
+DISABLE_ACCEL
jmp $900
!if * > $1C0 {
!error "code is too large, ends at ", *
}