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

Re: Tools for BAS to WAV?



Replying to myself.

Steve Nickolas wrote:
> Looks like it reads 3 bytes at $50, with $50 being a word containing the
> length of the file in low endian (well, it *is* a 6502), and $52 being the
> LOCK byte.  If I set this to HIGH, it may be possible to initiate the
> process with only one command (LOAD).

I am on the right path, but my numbers seem to be wrong.

I manually generated the header (according to this description; using $80 as
the lock byte).  The header loaded, the program loaded.  But it seemed to
think there was still more data to load.

[andi@midnightmarauder ~]$ hd -v dos33.hdr 
00000000  1a 1b 80                                          |...|
00000003

(The file length is 6938 bytes - $1B1A in hex.)

When I hit Ctrl-Reset, I typed REM.  As the lock bit was set, it started
running correctly - decompressed the image and started DOS 3.3 :)

So I'm off to a good start, but still got work to do before I can generate
perfect WAV files.

-uso.