[Coco] 6809 File I/O
Darren A
mechacoco at gmail.com
Sat Mar 18 14:17:37 EDT 2017
On Sat, Mar 18, 2017 at 12:02 PM, Peter Cetinski <pete at pski.net> wrote:
> > On Mar 18, 2017, at 12:32 PM, lost <lost at l-w.ca> wrote:
> > The stuff in the disk edtasm manual assumes you are using that weird
> color trsdos thing that disk edtasm runs under. In other words, that stuff
> isn't for raw disk basic.
>
> Ah, that makes sense. I was wondering if anyone actually ever used that
> EDTASM DOS.
>
> So, it looks like there are no documented high level disk routines, like
> open, write, etc. for RS Disk Basic to use from assembly language? Is
> there any way to tap into to the Basic ROM I/O routines? Or do we
> essentially have to work at the sector/track level?
>
> Thanks
>
The CMOC compiler includes source code for an RSDOS file I/O library.
It can be found in the src/support/disk.h file.
https://perso.b2b2c.ca/~sarrazip/dev/cmoc.html
More information about the Coco
mailing list