I am developing a 'virtual/software' UART (Universal Asynchronous Receiver
Transmitter).
That is, using software to simulate the RS232 Serial port (COM0, COM1, COM2
etc.).
Instead of writing a byte to a hardware register and letting the hardware UART
( like an 8250 or
16550) shift the bits out, I will be doing the shifting in software,
writing/reading only to
a generic GPIO pin (as in an Intel Northbridge chipset) or to one pin of the
parallel port.
Has anyone developed something like this for Linux/UNIX before?
In a related question, Does anyone have sample code of a Linux kernal module
writing to the
8254 timer chip on a typical PC?
Thanks and best regards.
Sang