[Coco] DECB DOS Command
Gene Heskett
gene.heskett at verizon.net
Sat Dec 13 06:27:03 EST 2003
On Saturday 13 December 2003 03:09, tim lindner wrote:
>I was just reading the Disk BASIC unravelled book and came away with
> the following question:
>
>Why does the 'DOS' command first issue a SWI3 instruction?
>
>Disk BASIC sets up the SWI3 vector to do nothing. It just returns to
> the caller.
>
>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.
>
Yes, thats true. But, when track 34 is loaded and exec'd, that code
will then access the drive its been hard coded for, usually /d0. So
the only thing you would need on that disk is a valid track 34.
--
Cheers, Gene
AMD K6-III at 500mhz 320M
Athlon1600XP at 1400mhz 512M
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
More information about the Coco
mailing list