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 - How do I add my own music to an .sms file?

Reply to topic
Author Message
  • Joined: 22 Feb 2020
  • Posts: 51
  • Location: Washington, DC
Reply with quote
How do I add my own music to an .sms file?
Post Posted: Sat Feb 29, 2020 11:22 pm
Go easy on me, I 'm super new to all of this and my coding experience here is at Maxim's Hello World level.

All I'm looking to do is add a .vgm (or .psg) file I created to Maxim's Hello World! File for now.

I used the SC-3000 music editor to create a tune, then used MEKA to output it as .vgm. I then used VGM2PSG to convert it to a .psg file.

I tried to use the example given with the PSG file, but when I compile it, it only loads a blank screen because I'm missing PSGPlay.

My next challenge will be getting tiles to display, but I'd be happy to just have a ROM play my song.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14689
  • Location: London
Reply with quote
Post Posted: Sat Feb 29, 2020 11:27 pm
You need to call the playback function once per frame. You can do that by waiting for VBlank (polling the status register or the line counter) or by using frame interrupts.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!