[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read full 8-bit character from serial port (reprise)



In article <1183897279.636801.71860@a26g2000pre.googlegroups.com>,
 rtk <oneelkruns@hotmail.com> wrote:

[...]
> : open ( -- )  (  open the output port )
>   2 PR#  1 cout 90 cout ;
> 
> where cout calls the monitor COUT routine.  This works perfectly, all
> 256 bit patterns can be sent.
[...]

So, the cable works:-)

Here's an article from Apple about using the built-in firmware:

<http://docs.info.apple.com/article.html?artnum=2226&coll=ap>

[...]

> So, quesions remain:
> 
> 1.  Why doesn't this code work?  I assume I'm missing some
> configuration stuff.
> 2.  Even if it can be made to work, it is limited to 19200 baud by the
> firmware.  How do set things up to read and write using faster rates?
> I want to use the IIgs as a simulator for various serial devices, most
> of which talk at 38k to 115k baud.

Here's an article that might be helpful:

<http://www.mactech.com/articles/mactech/Vol.02/02.01/SerialPortAccess/in
dex.html>

And here's the manual from Zilog

<http://www.zilog.com/docs/serial/scc_escc_um.pdf>

[...]



-- 
John Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews