Dingoonity.org
Dingoo Official Firmware => Development => Topic started by: alekmaul on October 18, 2009, 10:06:47 am
-
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.html
This 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 : ModPlay (http://www.portabledev.com/files/filedwnld.php?file=DingooModPlayer.zip)
How 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
-
Great work, thanks a lot :)
-
considering modplay is writting from scratch it's a good addition to possible existing solutions!
-
Just now noticed this one while looking for a more compatible MOD player for the Dingoo.
Nice to see an early step on the native firmware! Though I guess the development halted? :(
-
Just now noticed this one while looking for a more compatible MOD player for the Dingoo.
Nice to see an early step on the native firmware! Though I guess the development halted? :(
Alekmaul's port of modplay is what I use in GooPlayer (http://boards.dingoonity.org/dingoo-releases/gooplayer-1-1/).
-
Alekmaul's port of modplay is what I use in GooPlayer (http://boards.dingoonity.org/dingoo-releases/gooplayer-1-1/).
Cool, overlooked that one as well... ::)
Was hoping for something extendable, like the way WinAmp deals with modular plugins for input filetypes. But S3M and IT support is what I'm looking for (for now), and it looks like GooPlayer can-somewhat deliver. Thanks for the heads up! ;)