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 - MBMPlay SMS - Replayer for FM modules made with MoonBlaster

Reply to topic
Author Message
  • Joined: 01 Feb 2014
  • Posts: 517
Reply with quote
MBMPlay SMS - Replayer for FM modules made with MoonBlaster
Post Posted: Sun Apr 12, 2020 10:21 am
I got quite a few questions regarding the use of FM music in my competition entry, so, as promised, I'm happy to share my sources here.

When I first got interested in FM sound, I took a look at Zipper's version of the MoonBlaster replayer, but for reasons I still don't quite understand I was unable to make it work. So I went back to the source of the MSX replayer and ported it to the Master System (again). This time, I succeeded, and while I was at it, I added some basic support for sound effects.

MoonBlaster certainly isn't the most user friendly of trackers, and getting it to run in an MSX emulator can be a bit of a hassle initially, but once you have it up and running, it's quite easy to get good results out of it, even if its arbitrary limitations need some working around.
cnvrtsfx.zip (26.4 KB)
SFX converter
MBMPlay_SMS.zip (11.03 KB)
MBMPlay SMS

  View user's profile Send private message
  • Joined: 29 Mar 2012
  • Posts: 580
  • Location: Spain
Reply with quote
Post Posted: Sun Apr 12, 2020 10:32 am
Wow!, amazing stuff! :-D
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 2687
Reply with quote
Post Posted: Sun Apr 12, 2020 11:54 am
Nice! I think you should provide a small example with source code, even though the READMEs are quite explanatory, IMHO.

also, I think this opens a new chapter in the SMS homebrew scene :D
  View user's profile Send private message Visit poster's website
  • Joined: 06 Apr 2011
  • Posts: 240
  • Location: Netherlands
Reply with quote
Post Posted: Tue Apr 14, 2020 1:35 pm
Nice work!
SMS needs more FM!
  View user's profile Send private message
  • Joined: 01 Feb 2014
  • Posts: 517
Reply with quote
Post Posted: Tue Apr 14, 2020 3:12 pm
Here is a small example ROM. The program checks if FM sound is available. If yes, it starts the song. Button 1 fires an FM sound effect, button 2 its PSG equivalent. Sources are included. Enjoy!
MBMPlay_Example.zip (22.32 KB)
Demo ROM

  View user's profile Send private message
  • Joined: 04 Jul 2010
  • Posts: 296
  • Location: Angers, France
Reply with quote
Post Posted: Tue Apr 14, 2020 7:14 pm
Really excellent.
Thanks for this Kagesan!
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 2687
Reply with quote
Post Posted: Wed Apr 15, 2020 8:16 pm
I'm studying it a bit (your sources).

Of course one of the goals is to wrap your code into C functions so that it can be used from C programs, and it needs some things changed to make that easier (or even possible...) to do this.

So I was wondering... why don't you put in some repository like GitHub? I could then fork from there and provide patches directly to your master source, and you'll still be able to see what's changing.

Of course I don't know your opinion about using a repository so, well, what do you think about it?
  View user's profile Send private message Visit poster's website
  • Joined: 29 Mar 2012
  • Posts: 580
  • Location: Spain
Reply with quote
Post Posted: Wed Apr 15, 2020 9:00 pm
+1 to Sverx suggestion
  View user's profile Send private message
  • Joined: 01 Feb 2014
  • Posts: 517
Reply with quote
Post Posted: Thu Apr 16, 2020 4:00 pm
I'll look into it.
  View user's profile Send private message
  • Joined: 01 Feb 2014
  • Posts: 517
Reply with quote
Post Posted: Fri Apr 17, 2020 2:40 pm
Done:
https://github.com/HerrSchatten/MBMPlay-SMS
  View user's profile Send private message
  • Joined: 29 Mar 2012
  • Posts: 580
  • Location: Spain
Reply with quote
Post Posted: Fri Apr 17, 2020 9:09 pm
great!
  View user's profile Send private message
  • Joined: 28 Feb 2016
  • Posts: 414
  • Location: Barcelona
Reply with quote
Post Posted: Fri Apr 17, 2020 9:47 pm
Perfect!
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!