diff --git a/res/GAMES.CONF b/res/GAMES.CONF index ce1b00af1..9026cb197 100755 --- a/res/GAMES.CONF +++ b/res/GAMES.CONF @@ -109,6 +109,7 @@ 0001,GALAXY.GATES 1001,GAMMA.GOBLINS 0101,GAUNTLET +1001,GENESIS 0001,GENETIC.DRIFT 0001,GENIUS 0001,GENIUS.2 diff --git a/res/TITLE.HGR/GENESIS b/res/TITLE.HGR/GENESIS new file mode 100644 index 000000000..003f85f67 Binary files /dev/null and b/res/TITLE.HGR/GENESIS differ diff --git a/res/TITLE.HGR/_FileInformation.txt b/res/TITLE.HGR/_FileInformation.txt index ae24b7110..b143dca3c 100644 --- a/res/TITLE.HGR/_FileInformation.txt +++ b/res/TITLE.HGR/_FileInformation.txt @@ -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) diff --git a/res/dsk/genesis 13k file PRODOS (san inc pack).po b/res/dsk/genesis 13k file PRODOS (san inc pack).po new file mode 100644 index 000000000..6efcfef1c Binary files /dev/null and b/res/dsk/genesis 13k file PRODOS (san inc pack).po differ diff --git a/src/prelaunch/genesis.a b/src/prelaunch/genesis.a new file mode 100644 index 000000000..9c4ed1a7b --- /dev/null +++ b/src/prelaunch/genesis.a @@ -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 ", * +}