[Coco] ML Disk I/O examples?

Willard Goosey goosey at virgo.sdc.org
Sat Apr 14 05:27:28 EDT 2007


>Date: Fri, 13 Apr 2007 23:45:32 +1000
>From: Mark McDougall <msmcdoug at iinet.net.au>

>I'm guessing from this thread that things aren't as cut-and-dry in 
>DECB/RSDOS as other platforms? It's pretty straightforward for example, in 
>TRS-80 Model I/III NEWDOS/80, to do file I/O from ML - the interface is well 
>documented and when I had to do similar a year or 2 back, it took me about 
>10 mins to get it right...

Exactly.  The only *documented* disk I/O ROM routine is DSKCON -- read
or write a given sector.

Yes, with the right magic you can hook into the BASIC routines
themselves, but the nice assembly jump tables of a "real" disk OS like
CP/M or TRS-DOS or NEWDOS/80 just aren't there.

Willard
-- 
Willard Goosey  goosey at sdc.org
Socorro, New Mexico, USA
"I've never been to Contempt!  Isn't that somewhere in New Mexico?"
   --- Yacko



More information about the Coco mailing list