[Coco] Accessing the serial port from Basic

Bill Pierce ooogalapasooo at aol.com
Thu Nov 13 21:20:56 EST 2014


There were several "remor terminals" and drivers in Rainbow through the years. You could scan the ROT & ROD files to see if something is there or th magazines themselves
 

Bill Pierce
"Today is a good day... I woke up" - Ritchie Havens
 

My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Webmaster of The TRS-80 Color Computer Archive
http://www.colorcomputerarchive.com/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com


 
 
-----Original Message-----
From: Arthur Flexser <flexser at fiu.edu>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Thu, Nov 13, 2014 9:01 pm
Subject: Re: [Coco] Accessing the serial port from Basic


I now recall that such an ML program that runs in the background for a BBS
is called a "remote driver".  Your main program is in Basic.  The remote
driver takes anything that is sent to the screen by Basic and sends it out
the RS232 port.  And anything that is received from the RS232 port is
treated as if it were typed in.  Sounds like that might be what Louis
needs, if somebody can point to where one can be downloaded from.

Art

On Thu, Nov 13, 2014 at 4:50 PM, Arthur Flexser <flexser at fiu.edu> wrote:

> 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
>>
>
>

-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco

 


More information about the Coco mailing list