[Coco] The DOS command

Salvador Garcia salvadorgarciav at yahoo.com
Thu Nov 7 12:50:33 EST 2019


 Thanks all, I appreciate it! Salvador


    On Thursday, November 7, 2019, 10:45:53 AM CST, William Astle <lost at l-w.ca> wrote:  
 
 The DOS command reads track 34 (all 18 sectors) to address $2600. Then 
it checks to see if the first two bytes are "OS". If so, it jumps to 
$2602. Otherwise, it returns to Basic.

That means you can put any program you want on track 34 and as long as 
the first two bytes are "OS", DOS will launch it.

It may be a good idea not to assume the load address but there are no 
variants of the DOS command that I'm aware of that use a different address.

On 2019-11-07 9:26 a.m., Salvador Garcia via Coco wrote:
> I am curious as to how the DOS command (in Extended Disk BASIC) works. I looked for it and found this charming description in the Quick Reference Guide:
> <snipped>
  


More information about the Coco mailing list