[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tools for BAS to WAV?



Linards Ticmanis wrote:
> On 07/03/2010 12:42 AM, Steve Nickolas wrote:
> 
>>> http://seb.riot.org/appleII/aladt.sml
>> 
>> It worked!  A bit clumsy (obviously it's meant for BIN payloads, so I
>> have
>> to tweak it to work with BAS payloads, or wrap them), but it works.
> 
> I think BAS payloads are simply, on short BIN payload for the length
> (just two bytes?), followed by a longer one for the actual program data.
> Not sure of the exact format though.

That would certainly explain the two beeps when loading BASIC, one when
loading binary.

If there should be some way to save a BASIC payload as a WAV on the PC end,
that would certainly be ideal, as to ease bootstrapping, my compressed
programs are wrapped around an FPBASIC stub.  That means to run them you
only need two commands - LOAD and RUN - and they won't change from program
to program.  (I originally started using this technique, which is more
common in Commodore 64 land, because the fast and light RDOS operating
system does not have a BRUN command.  As the same is true here, I decided to
use the same technique!)

My plan is to convert Apple Crunch, INTBASIC, DOS 3.3, ProDOS-8 and a few
other programs to compressed FPBASIC payloads, and save them as FLAC files. 
I can then burn them to CD-R and play them through the headset jack on my
boom box... :)

-uso.