A simple ISR for uart 16c550 + 65c816 is here:
http://65xx.unet.bz/c16sw/Uart work in fifo mode, can handle these baud rates: 38,400 - 57,600 - 115,200 - 230,400 (uart clocked at 3.6864Mhz), and allow both hardware handshake (through standard null-modem or uplink cable) and software handshake (through xon/xoff control character).
Simple user callable routines for open serial port, put a byte in output buffer, fetch a byte from input buffer, are given.
I maked test with long pattern sequences and all work fine at any of four selectable baud rate, with both of null-modem cable type, and both handshake.
At 230,400 bps i used a trigger level = 14 for rx fifo interrupt, and work fine, but maybe in a busy system need to use the trigger level = 8.
Marco
_________________
http://65xx.unet.bz/ - Hardware & Software 65XX family