[Coco] Accessing the serial port from Basic
Arthur Flexser
flexser at fiu.edu
Thu Nov 13 16:50:54 EST 2014
Because the CoCo does not have a built-in UART chip, you really can't do
bidirectional I/O from Basic. It's just not fast enough to send and
receive individual bits serially, without ML routines handling the actual
bit-banging. (If you only want to send, not receive, then PRINT#-2 will do
that.) If you have an RS232 Pak, then Basic may be adequate for
bidirectional serial I/O.
A number of BBS programs had the ML running in the background with Basic
handling a lot of stuff. You might be able to adapt such a program to do
what you want.
Art
On Thu, Nov 13, 2014 at 4:18 PM, Louis Ciotti <lciotti1 at gmail.com> wrote:
> Maybe my last post did not make it to the list, but I am looking for
> information on accessing the onboard serial post from basic. I have a
> simple project that will use rs232 for io a d I want and want to play with
> the CoCo at the same time. my quick run trough the RS manuals did not
> have anything jump out at me but I may have missed it.
>
> Thanks,
>
> Lou
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
More information about the Coco
mailing list