- Joined: 22 Feb 2020
- Posts: 51
- Location: Washington, DC
|
How do I add my own music to an .sms file?
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.
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14738
- Location: London
|
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.
|