Kung Fu Master proper attract mode freeplay

philmurr

Active member
vacBacker
Feedback
46 (100%)
Credits
2,326CR
Borne out of a conversation either on Whatsapp or at a Parcade meet, cNp
complaining that Kung Fu Master freeplay is rubbish, in attract mode
the screen just sits there displaying 2 credits and asking you to press
the 1 or 2 player start button. Then the suggestion made that I
wouldn't be able to fix it...

Not a game I've ever played (or likely to play in the future), but fortunately it's a Z80 based game, my favourite processor. A bit of
coding later and we have proper attract mode when in freeplay, with the
game cycling through attract mode as it does in paid mode.

As it's the full set of game ROMs I don't want to publish the full
ROMset here so it will need you to modify game ROMs 4e & 4d using
your favourite hex editor (note they are on the main board next to the
Z80 CPU, not on the top board which are the graphics ROMs) which should
be 27128s.

The changes to 4e are the main freeplay code, the changes to 4d defeat the ROM checksum in test mode.

There are slightly different changes required (for ROM 4d) for Kung Fu Master and for Spartan X - see changes below.

I've also completed the code to include high score save which works in
mame (it will require one of the RAMs to be replaced with an NVRAM
module) but I won't release the code until it's tested on proper
hardware (hopefully soon)

ROM changes...

Common (ROM 4E) [a-4e-c.bin or a-4e-c-j.bin]

$3F00
22 04 E9 F5 3A 0A E9 B7 20 10 3A 06 E0 B7 20 0A 3A 04 E9 E6 03 28 03 32 13 E9 F1 C9

$0d37
C3 00 3F

$0D9E
00 00 00

Specific (ROM 4D) [a-4d-c.bin or a-4d-c-j.bin]

Kung Fu Master

Absolute locations $770F & $771B (ROM location $370F & $371B)
18

Spartan X

Absolute locations $772F & $773B (ROM location $372F & $373B)

18

And the photos...

Original freeplay mode (just sat with 2
credits asking you to press P1 or P2 start)

KFM_normal_freeplay.jpg


Kung Fu Master cycling through attract mode with the new code

KFM_Demo_screen.jpg


Spartan X
cycling through attract mode with the new code

SpartanX_Demo_screen.jpg


Game board with the ROMs installed

New_ROMs_installed.JPG
 

r-type

Active member
Feedback
7 (100%)
Credits
632CR
Wow! Top work for one of my most favourite games! There's an issue on my board where the dip switches don't seem to be right and it takes about 7 credit pulses to register, so I tend to leave it on freeplay, which as you have pointed out is rubbish.

Definitely need to get a programmer once all this mess is sorted.

Thanks, Andy
 

Bods

Senior Member
vacBacker
Feedback
3 (100%)
Credits
4,626CR
Awesome

It really is annoying when they don't have usual attract when in freeplay, didn't realise this was one, guess my cab is always been set for coins
 

philmurr

Active member
vacBacker
Feedback
46 (100%)
Credits
2,326CR
virtvic said:
I will be installing that on my board.

Could you do Shaun Fu Master as well, if I send you the roms?

The SFM mod is probably just the graphics ROMs so my modded game code should work as-is

I’ll email you the full game ROMs later on so you can give it a try
 

glstar

Active member
Feedback
11 (100%)
Credits
160CR
Wonderful work.

It will be great to have it in my cab.

Could you please do the same also for vigilante?

Since i have both games with a jamma switcher, into my kung fu master cabinet

smiley1.gif
 
Top