[Coco] 6809 File I/O

Arthur Flexser flexser at fiu.edu
Sat Mar 18 14:13:32 EDT 2017


You definitely don't have to worry about things at the sector/track level.
You can use ROM calls to avoid that, though you'd need to worry about what
ROM version you were dealing with unless you use the technique I described
in my last message.

Art

On Sat, Mar 18, 2017 at 2: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
>
> > 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.
> > Disk file IO in asm under disk basic is rather unpleasant since none of
> the required routines are exposed through a vector table and they are in
> different locations between the two versions of disk basic. You also have
> to intercept the error routines if you don't want to drop to basic on
> error. It can be done but is not particularly pleasant.
> > I did a bit of it with my daggorath update but I don't have the code
> handy at the moment.
> > -------- Original message --------From: Peter Cetinski <pete at pski.net>
> Date: 2017-03-18  9:05 AM  (GMT-07:00) To: CoCoList for Color Computer
> Enthusiasts <coco at maltedmedia.com> Subject: Re: [Coco] 6809 File I/O
> > Actually, I meant I was using the examples in the Disk EDTASM manual.
> Are those known to work properly?
> >
> >> On Mar 18, 2017, at 11:00 AM, Peter Cetinski <pete at pski.net> wrote:
> >>
> >> Can anyone point me to some good 6809 assembly examples of disk file
> i/o using RS-DOS?  The only examples I could find are in the EDTASM+ manual
> but I haven’t been successful in getting those working.  Not sure if they
> are broken or I am broken! :)
> >>
> >> Thanks
> >
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
> >
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list