[Coco] DECB DOS Command

David dbree at duo-county.com
Sat Dec 13 19:37:58 EST 2003


On Sat, Dec 13, 2003 at 12:09:08AM -0800, tim lindner wrote:
> I was just reading the Disk BASIC unravelled book and came away with the
> following question:
> 
> Also there is a bug noted in the DOS command: It will read track 34 from
> the last drive used. It is documented to only read track 34 from drive
> zero. But drive zero is just what DECB defaults to.

I believe that it is a bug.  I am aware of this "feature" but haven't
given it much thought.  I'd think that it's simply a fact that the DOS
routine neglects to load the appropriate mask value in the register that
controls the drive to be accessed.

There may be some way to utilize this, but, as Gene stated, you can load
the bootstrap from some different drive, but, unless BOOT, I believe it
is, has been modified to load OS9Boot from that drive, it will attempt
to access drive 0 for this.




More information about the Coco mailing list