Storing generated register data is not better than the current state, because it is like recording a TV show on a VCR, and distributing video casettes with it. It is illegal.
The current format used in SamPlay is: 1. Put the file at 32768. 2. Do Samadeus/Amadeus check. If passed use Samadeus/Amadeus play-scheme (poke 32769,n; call 32768) 3. Do E-Tracker module player check. If passed, use E-Tracker play-scheme (call 32772; call 32768) 4. Do E-Tracker module check. If passed, use internal E-Tracker player (taken from E-Tracker). 5. Do Craft check. If passed, use Craft play-scheme. 5. No success? So simply call 32768. You can find more information in SamPlay manual. The Sam music file format should have: 1. header with name, author, date, and other info 2. header with machine-code specific info - where to load it, how to initialize it, what to call 50/s 3. data taken from Sam program I don't know AZX. How you can use it? For AY data, or SAA data. If you would like to use it for SAA data, there's no reason of using it. AZX is not for Sam. This would make sense only if there will be a program compatible with both SAA and AY audio. But this is not our case. ZX emulation world is not a Sam world. Ad storing regular tunes: I think the best way is how SamPlay does it, i.e.binary data with Z80 code. It's the same as AY tunes you can find somewhere on World Of Spectrum. It is like asking whether it is better to have your MOD, S3M, IT, XM files as they are, or to convert them to MP3. Is this conversion needed? I don't think so. At least as long as we will be able to play these MOD,.... etc. files. ----- Original Message ----- From: "Simon Owen" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, March 08, 2001 11:58 AM Subject: Re: Music database [was: Re: Memory Lane] Aley Keprt wrote: > Could we made also music database? I mean music from games, demos etc. > I have ripped tens of music modules from several games and demos (for > my player SamPlay distributed together with SAAemu), but I haven't > released many of them because of copyright issues. Is the copyright problem because you're using the original music playing code? Would storing the generated register data instead be a way around that? Not sure... > Similar project also exists alongside World Of Spectrum. > The problem is that there's no "official" music module format for > Sam (like .AY for Spectrum), and nobody seems to be interested in > helping me ripping the music. I guess we'd need something pretty similar, just with different ports and an SAA emulation. What file format are you using for the SAM stuff at the moment? I've been thinking about adding support for Mac Buster's AZX format (http://www.void.jump.org/AZXformat.txt) to SimCoupé, so it could save out SAA data with time stamps. It's maybe slight overkill for storing regular tunes, but certainly a lot better than any regular audio format, and would be accurate enough to support sound sample playback too. Si

