Freeplaytech Forum
VGM playback example in C - Printable Version

+- Freeplaytech Forum (https://forum.freeplaytech.com)
+-- Forum: Neo Geo Pocket (https://forum.freeplaytech.com/forumdisplay.php?fid=1)
+--- Forum: Homebrew (https://forum.freeplaytech.com/forumdisplay.php?fid=5)
+--- Thread: VGM playback example in C (/showthread.php?tid=69)



VGM playback example in C - mic_ - 08-21-2012

I spent a little time putting together a very simple example of how to play a VGM file in C. It does only that and nothing else (there's no graphics or anything).

Download link
(The relevant file in the archive is playvgm.c, the other stuff is just support libraries that was included with the C compiler. The song played is Shiru's "Run under fire").

Needs Toshiba's C compiler (T900) to build.