gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Audio > Protracker Replay

#63884 - mumart - Sat Dec 17, 2005 4:52 am

I'm just wondering if this replay can be made to work on a GBA. I wrote it for Java mobile devices originally, but it seems mobile sound is not quite there yet. Converted to ANSI C in a fit of boredom (quite common these days...)

http://geocities.com/sunet2000/micromod-revc.tgz

It uses a tiny amount of memory, has very good quality, and should be pretty quick as well. There's an SDL test program and linux binaries in the archive.

It's kind of a solution in search of a problem :)

Cheers,
Martin

#63887 - DekuTree64 - Sat Dec 17, 2005 5:46 am

Yeah, that looks like you could run it on GBA just fine. All you need to do is set up a simple double buffer playing on one of the hardware channels, and call the mod update just like you do from the SDL callback.

The first issue of my sound tutorial covers setting up such a double buffer, and you can ask here if you have any trouble getting it to work (assuming you haven't done much GBA coding before).
_________________
___________
The best optimization is to do nothing at all.
Therefore a fully optimized program doesn't exist.
-Deku