08-21-2012, 03:18 AM
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.
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.