| |
Rudi Account closed
Registered: May 2010 Posts: 125 |
.mus (Compute Gazette) playback routine
Does .mus (Compute Gazette's own fileformat) have own playercode inside the .mus file like .sid files do, or do you have to implement this player yourself? Someone gave me this link: https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/vsi..
which is a player for the .mus, but all the sourcecode looks too cryptic for me to understand and implement. I even found this too: http://sidplayer.org/filestru2.txt still looks like a whole bunch of stuff one has to interpret and code to get some of this .mus file playin'. I want something small and compact that can do the job for me.
I tried to convert into .sid by using Sidplay2/w, it worked somehow, but after trying Linus's sidreloc it detects that the sid file is a .mus file: "MUS files not supported.". It does however make the file twice as big and have some more stuff in there. The sid gives following info after conversion:
Load Range: $0900-$22c7
init adr: $fc90
play adr: $fc96
ive tried everything, but nothing works. |
|
| |
iAN CooG
Registered: May 2002 Posts: 3193 |
mus files are just note datas, and it requires a separate player code to be onefiled with the datas, IIRC calling the init passing the start of data to some registers, something like A=highbyte X=lowbyte, but don't remember exactly.
the real question is why bothering with such crap nowadays? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
that player in the VICE repo is the original player code. yes, obviously you need this player. if you are really crazy enough to use a .mus tune in your stuff, using this player is the closest to "small and compact" you will get. (mind you, it still sucks and uses crazy amount of rastertime) |
| |
Rudi Account closed
Registered: May 2010 Posts: 125 |
yeah, ill see what i can come up with. |
| |
xlar54 Account closed
Registered: Dec 2018 Posts: 9 |
Kinda dated, but this may help someone as well:
https://github.com/xlar54/mus-player |