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

Re: DOS 3.3 File Manager calls - stomping on Track 0, sector 0



schmidtd wrote:
> I have my trusty copy of Beneath Apple Dos by Worth and Lechner in
> front of me.  I've modified their sample "copy" program to do my
> bidding.

Have you tried their code out to make sure it doesn't exhibit the same
bug?

> Except... track/sector 0/0 is overwritten with a repeating sequence of
> (0x00 0x00 0xff 0xff) bytes.  Is there a common trap I'm falling into
> here?  Code below...

Don't know what trap this might be, but that byte pattern looks
something vaguely like the volume free-sector map. Is your disk's VTOC
valid?

I've never used the file manager directly; I think it was actually
pretty sensitive to the DOS environment at the time of the call.

Really, the Ctrl-D "BSAVE" solution isn't *that* bad is it?