I am slowly working on my demo, but I don't really want to code up my own music routine (yet). Is it possible to "borrow" the routine from a library (e.g. disassemble the library and include the code into my own demo), or would anyone mind sharing their code to play Sound/Noise/Protracker music? (You'd get credit, naturally)
You probably want to use The Player. It's an optimizing converter and player, and has been the de facto standard for playing ProTracker songs since the 90's.
I found various versions, but any attempt to assemble them brings about a huge list of errors, example:
instruction not recognised at line 208 in file RAM:P6108-PLAY.S 208 00.00000078 ubyte P61_VibCmd
I have tried "P6108.lha" and "P6107.lha" from Aminet, both with the same problem. I have tried assembling with Devpac 2 and Devpac 3.18. Have I got the right files? Do I need to edit the includes so that Devpac likes them (e.g. replace "ubyte P61_VibCmd" with "P61_VibCmd dc.b 0")?
I did 610.6. I confess I didn't try to see if that worked with devpac. Neither I know for previous or successive releases. The author of the most recent version is Photon, he is a regular on english amiga board, I'll ask him.
Lonewolf, maybe its worth a try to check if The Player 6.1A 610.4 works for you. This is the version that I last touched in the 90s and the source (610.4.asm) reads "Devpac 3, ASM-One, PhxAss and maybe some other assemblers".
Thanks for the tip noname, but I have already found 610.6 which works for me. Now I just need to intergrate it into my own code without messing anything up :)