Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Debugging FM Patch for real hardware

Reply to topic
Author Message
  • Joined: 13 Jan 2018
  • Posts: 13
  • Location: London
Reply with quote
Debugging FM Patch for real hardware
Post Posted: Sat Jan 13, 2018 7:22 am
Hello good people of SMS Power!

Long time listener, first time caller etc. The other day i stumbled across the forum thread about the hidden FM soundtracks in some SMS games. I've been meaning to dabble with Z80 stuff for a while now, and i thought creating some ROM patches to enable the FM tracks without the need for PAR codes might be nice way to get my feet wet.

The upshot is that, thanks to Maxim's beginners guide and the excellent tutorial on creating trainers (sorry i forgot who produced that!) I now have a few lovely patched ROMS that play very nicely with Meka.

The only issue is that while they work under emulation, a lot of them won't work on my Master Everdrive. The patched have definitely taken effect as the PSG is disabled, however they aren't enabling the FM in the same way they do under emulation.

I know in general Emulicious is the best way to go for checking how something will react to real hardware (it helped me debug an issue where I'd accidently disabled the button input in Battle Outrun!) but it of course has no FM support. Is there a decent alternative for debugging FM Stuff?
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14735
  • Location: London
Reply with quote
Post Posted: Sat Jan 13, 2018 7:36 am
I don't have an answer for your question, but I thought those patches already exist somewhere?
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 3823
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Sat Jan 13, 2018 12:12 pm
fatnick wrote
The patched have definitely taken effect as the PSG is disabled, however they aren't enabling the FM in the same way they do under emulation.


You mean the FM sound is different? Or you're not getting any sound at all?
  View user's profile Send private message Visit poster's website
  • Joined: 13 Jan 2018
  • Posts: 13
  • Location: London
Reply with quote
Post Posted: Sat Jan 13, 2018 12:34 pm
sverx wrote
fatnick wrote
The patched have definitely taken effect as the PSG is disabled, however they aren't enabling the FM in the same way they do under emulation.


You mean the FM sound is different? Or you're not getting any sound at all?


Sorry i should have been more specific! I get no sound at all - including the PSG.

If the patches exist i couldn't find them Maxim, either way it's been a fun exercise :)
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14735
  • Location: London
Reply with quote
Post Posted: Sat Jan 13, 2018 6:18 pm
Can you post the source of your patch? It might help.
  View user's profile Send private message Visit poster's website
  • Joined: 13 Jan 2018
  • Posts: 13
  • Location: London
Reply with quote
Post Posted: Sat Jan 13, 2018 7:06 pm
I sent an email to the nice chap behind Emulicious asking about the possibility of fm support, and he was kind enough to talk me through the problem.

Turns out i should have checked the fm code more thoroughly: id patched it so the game was switched to the fm engine...but i hadn't physically sent any information to port f2 to activate three FM chip. Oops! I've sorted it now.
  View user's profile Send private message Visit poster's website
  • Joined: 13 Jan 2018
  • Posts: 13
  • Location: London
Reply with quote
Post Posted: Tue Jan 23, 2018 5:43 am
Patches complete. Thanks again for your help :D

http://www.smspower.org/forums/download.php?id=13624
  View user's profile Send private message Visit poster's website
  • Joined: 28 Feb 2016
  • Posts: 502
  • Location: Barcelona
Reply with quote
Post Posted: Thu Jan 25, 2018 10:34 pm
Thanks for these FM patches
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!