diff --git a/res/GAMES.CONF b/res/GAMES.CONF index 8d65faa47..6c3ffd38f 100755 --- a/res/GAMES.CONF +++ b/res/GAMES.CONF @@ -134,6 +134,7 @@ 1000,KARATE.CHAMP 0000,KARATEKA 0001,KID.NIKI +0001,KUNG.FU.MASTER 0000,LABYRINTH 0001,LADY.TUT 0001,LANCASTER diff --git a/res/TITLE.HGR/KUNG.FU.MASTER b/res/TITLE.HGR/KUNG.FU.MASTER new file mode 100644 index 000000000..de11618aa Binary files /dev/null and b/res/TITLE.HGR/KUNG.FU.MASTER differ diff --git a/res/TITLE.HGR/_FileInformation.txt b/res/TITLE.HGR/_FileInformation.txt index e7158bf72..b1d6b8e97 100644 --- a/res/TITLE.HGR/_FileInformation.txt +++ b/res/TITLE.HGR/_FileInformation.txt @@ -121,6 +121,7 @@ KAMIKAZE=Type(06),AuxType(4000),Access(C3) KARATE.CHAMP=Type(06),AuxType(4000),Access(C3) KARATEKA=Type(06),AuxType(4000),Access(C3) KID.NIKI=Type(06),AuxType(4000),Access(C3) +KUNG.FU.MASTER=Type(06),AuxType(4000),Access(C3) LABYRINTH=Type(06),AuxType(4000),Access(C3) LADY.TUT=Type(06),AuxType(4000),Access(C3) LANCASTER=Type(06),AuxType(4000),Access(C3) diff --git a/res/dsk/kung fu master PRODOS (san inc pack).po b/res/dsk/kung fu master PRODOS (san inc pack).po new file mode 100644 index 000000000..db3aaca88 Binary files /dev/null and b/res/dsk/kung fu master PRODOS (san inc pack).po differ diff --git a/res/notes/wishlist.txt b/res/notes/wishlist.txt index af4a8e9fe..3ca03cc7e 100644 --- a/res/notes/wishlist.txt +++ b/res/notes/wishlist.txt @@ -7,7 +7,6 @@ Championship Wrestling Conquering Worlds Dive Bomber GBA Championship Basketball -Kung Fu Master [priority] Lock 'N' Chase Mad Rat Marauder diff --git a/src/prelaunch/kung.fu.master.a b/src/prelaunch/kung.fu.master.a new file mode 100644 index 000000000..54edd351f --- /dev/null +++ b/src/prelaunch/kung.fu.master.a @@ -0,0 +1,28 @@ +;license:MIT +;(c) 2020 by qkumba + +!cpu 6502 +!to "build/PRELAUNCH/KUNG.FU.MASTER",plain +*=$106 + + !source "src/prelaunch/common.a" + + +ENABLE_ACCEL + lda #$60 + sta $9A0 + jsr $800 ; decompress + +DISABLE_ACCEL + ldx #0 + lda #$C4 + jsr $BB00 + +GET_MACHINE_STATUS + and #CHEATS_ENABLED + beq + + lda #$2c + sta $805D ; patch - don't decrease lives ++ + jmp $9A3 + +!if * > $1C0 { + !error "code is too large, ends at ", * +}