[Coco] MUSICA 2 files

Robert Gault robert.gault at worldnet.att.net
Wed Dec 26 17:33:05 EST 2007


Roger Taylor wrote:

> At 05:21 PM 12/25/2007, you wrote:
> 
>> Roger,
>> did you get the DSK images I tried to send?
>> Regards,
>> Torsten
> 
> 
> 
> 
> Sorry for the delay.  Yes, I got them, thanks.  I also found my own 
> Musica file disks but I was using the wimgtool.exe utility to extract 
> the .mus files which was doing a LF/CR translation as if they were in 
> ASCII format.  Now I'm using port.exe.
> 
> Another issue, as I've mentioned before, is that some .mus files have an 
> extra 256 bytes at the start for playing the music.  Some don't.  If you 
> assume all do, and type LOADM, then EXEC, some will crash.  However, if 
> you first load one that has the embedded player, then you can LOADM any 
> other mus files later and then EXEC 16128 to play the current one, 
> whether it came with an embedded player or not.
> 
> Ofcourse, my games use an IRQ/FIRQ handler for playing these in the 
> background, so only the music data is needed.  I can embed MUSICA files 
> using CCASM by doing something like:
> 
>         org     3584
>         .. some code, data, etc. ..
> 
>         align   $100
> tune1   includebin      bee.mus
> 
>         align   $100
> tune2   includebin      venice.mus
> 
>         align   $100
> tune3   includebin      imperial.mus
> 
> 
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
> 

Try wimgtool selecting RAW to ASCII. That should leave the files alone.



More information about the Coco mailing list