diff --git a/res/GAMES.CONF b/res/GAMES.CONF index 6c73f6502..c6891f639 100755 --- a/res/GAMES.CONF +++ b/res/GAMES.CONF @@ -95,6 +95,7 @@ 0001,GENETIC.DRIFT 0001,GENIUS 0001,GENIUS.2 +0001,G.I.JOE 0001,GOLD.RUSH 0001,GORGON 0001,GREMLINS diff --git a/res/TITLE.HGR/G.I.JOE b/res/TITLE.HGR/G.I.JOE new file mode 100644 index 000000000..7c167ad05 Binary files /dev/null and b/res/TITLE.HGR/G.I.JOE differ diff --git a/res/TITLE.HGR/_FileInformation.txt b/res/TITLE.HGR/_FileInformation.txt index fe1e737e9..6687cbe9f 100644 --- a/res/TITLE.HGR/_FileInformation.txt +++ b/res/TITLE.HGR/_FileInformation.txt @@ -81,6 +81,7 @@ FROGGER=Type(06),AuxType(4000),Access(C3) FROGGER.II=Type(06),AuxType(4000),Access(C3) FS2=Type(06),AuxType(4000),Access(C3) FUJI.SPEED.WAY=Type(06),AuxType(4000),Access(C3) +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) diff --git a/res/dsk/g.i. joe PRODOS (san inc pack).po b/res/dsk/g.i. joe PRODOS (san inc pack).po new file mode 100644 index 000000000..c14505150 Binary files /dev/null and b/res/dsk/g.i. joe PRODOS (san inc pack).po differ diff --git a/res/notes/wishlist.txt b/res/notes/wishlist.txt index c5e2fbb56..141081cfe 100644 --- a/res/notes/wishlist.txt +++ b/res/notes/wishlist.txt @@ -8,7 +8,6 @@ Championship Wrestling Conquering Worlds Dive Bomber Elite -G.I. Joe [proiority] GBA Championship Basketball Kung Fu Master Lock 'N' Chase diff --git a/src/prelaunch/g.i.joe.a b/src/prelaunch/g.i.joe.a new file mode 100644 index 000000000..22088a3b3 --- /dev/null +++ b/src/prelaunch/g.i.joe.a @@ -0,0 +1,44 @@ +;license:MIT +;(c) 2020 by qkumba + +!cpu 6502 +!to "build/PRELAUNCH/G.I.JOE",plain +*=$106 + + !source "src/prelaunch/common.a" + + +ENABLE_ACCEL + lda #$60 + sta $99f + jsr $800 ; decompress + + +READ_RAM1_WRITE_RAM1 + lda MachineStatus + and #CHEATS_ENABLED + beq + + lda #callback1 + sta $D45D + sta $D5A3 ++ + bit $C083 + jsr DisableAccelerator + bit $C08B + jmp $D400 + +callback1 + lda #$AD + sta $63FA ; patch - don't increase hits + jmp $6000 + +callback2 + lda #$AD + sta $14B5 ; patch - don't decrease lives + jmp $1100 + +!if * > $1C0 { + !error "code is too large, ends at ", * +}