sverx released a library which plays XM modules on Nintendo DS.

Release notes:

finally, after many hours spent trying to write something that looks like an API documentation 😉 I can release the long time ago promised XM replay library.

It works completely on ARM7, it has some effect column support, some volume column support, instruments with complete volume envelopes support, 8 & 16 bit samples with normal & ping-pong loop support…

Feedback about the lib and the documentation is warmly welcome! Thanks everybody that helped me to achieve this personal milestone… and I hope somebody will find my work worth a try 🙂

http://forum.gbadev.org/viewtopic.php?t=16198