This is a port of modplay from Christian Nowak
You can find the original source here :
http://chn.bplaced.net/index.php?doc=modplay/modplay.htmlThis library is used to play MOD, S3M and XM file formats. It's only for developers, this is not a Mod Player !
Current features:
* Suports MOD, S3M and XM
* Extendible with more formats
* Very easily portable, compilable and usable in own applications
To test it, put DMODPLAY.APP in your GAME directory. Put also test.mod in this directory.
Use "3D game" from Dingoo menu and choose DMODPLAY.APP to start song.
Press X a long time to stop playing.
Download all source code and test app here :
ModPlayHow to use it with flatmush non sdk lib :The lib is in src/modplay, it is named libmodplay.a
1: Modify makefile to use lib in compile directory
add LIBMOD = ../src/modplay
and change LIBS with
LIBS = $(LIBMOD)/libmodplay.a $(LIBROOT)/entry.a -laudio -lfs -llib_c -ludc -los -lmem -lccenv -lstdc++ -lc -lm -lgcc
2: load song file with a320_sound_init(<song file name>)
Be carefull, this use threading function for dingoo
3: use a320_sound_pause(0); to begin playing
4: when you exit the main function, use a320_sound_stop(); to stop threading function