>>So, if a music is not MBMS and not MB14 in edit mode, I must assume that it
>>is MB14 user mode? There is no way to be 100% sure that a music is MB14
>>user?
>
>No way that is 100% sure, I think.
>If you want, you can do some check, like:
>- check that the song title only contains valid characters
>- check that the number of patterns is a possible value
I also think in this possibility. In position #CF (I�m not sure) begins the
song name, and in #140 the filename of the samplekit. Both can be checked
for valid characters.
>But doing so will make your replayer code larger, which is not a good
>thing. Maybe you should make it the user's responsibility to only play
>valid files.
No problem with the code length, because I use a 16K segment reserved only
for the MB14, MB Wave and MB FM replayers. I think that there is enough
space for doing such checkings.
But about the user�s responsibility you are right. Well, from now on I will
make the next beta with the MB14 replayer and no checkings for the validity
of the music (I only check if the music is saved in edit mode, this is
easy!). I will include the checkings in future betas.
Thanx again!
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Konami Man - AKA Nestor Soriano
[EMAIL PROTECTED]
www.geocities.com/SiliconValley/Bay/9797
Dentro de un par de a�os, tu pentium
estara tan obsoleto como mi MSX...
MSX STILL ALIVE
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****