I'm not sure if the Gamecube really qualifies as "retro" - but hey, it was released the same year as the Gameboy Advance.
In any case, I recently got an SD Media Launcher so that I can run my own code on the Gamecube, so I decided to write something. And what better to write than a chiptune player?
Here's the result:
Download the DOL file if you want to run it on your own Gamecube (it also works quite well in Dolphin).
Or watch a YouTube video captured from my PAL Gamecube.
All the emulation code (6510, SID, YM2149) is my own. Audio is generated at 44.1 kHz mono and output using libasnd.
The UI is done in just about the least efficient way possible: I keep an offscreen 24-bit RGB buffer in RAM that I draw into. I then convert this buffer to the native framebuffer format (YUV 4:2:2) for every frame. It works well enough for what I needed, though.
In any case, I recently got an SD Media Launcher so that I can run my own code on the Gamecube, so I decided to write something. And what better to write than a chiptune player?
Here's the result:
Download the DOL file if you want to run it on your own Gamecube (it also works quite well in Dolphin).
Or watch a YouTube video captured from my PAL Gamecube.
All the emulation code (6510, SID, YM2149) is my own. Audio is generated at 44.1 kHz mono and output using libasnd.
The UI is done in just about the least efficient way possible: I keep an offscreen 24-bit RGB buffer in RAM that I draw into. I then convert this buffer to the native framebuffer format (YUV 4:2:2) for every frame. It works well enough for what I needed, though.