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

Re: Read full 8-bit character from serial port?



Michael J. Mahon wrote:
> Still, it isn't too hard to disable its interrupts and just poll the
> receive buffer...  Jorge just gave an example of how to do this, and
> Forth makes it easy to do *anything*.  ;-)

Which is why I like it :)

I took a second look at Jorge's post and it, given some reading I've
been doing, suddenly makese (some) sense.  I'm unclear on
initialization of the port and can't find anything about it online.  I
was hoping for a PDF of the Apple IIgs Firmware manual, but no such
luck.

Still, it is easy enough to take his example and code it up to see if
it works.  From my reading I'm guessing that port "B" is the modem port
on the IIgs.  Of course, if QForth were a _real_ Forth it would have
it's own assembler and I wouldn't have to "c," the bytes into the
dictionary in decimal!

I'll give it a try this weekend and report the results.  Academic now
given my original purpose was accomplished by encoding the packets as
ASCII characters, but still worth doing for possible future use.

Ron