Closed serisman closed 8 months ago
This code seems to follow the serial mouse protocols I found a little better, and doesn't need to spam the 'M' like the previous code.
This has been tested with the CuteMouse driver (CTMOUSE.EXE) and seems work work pretty good. I have not (yet) tested it with any other mouse drivers.
I also optimized the timer0 interrupt code a bit, and fixed a bug with setting the U1_FIFO_TRIG bits for uart1.
This code seems to follow the serial mouse protocols I found a little better, and doesn't need to spam the 'M' like the previous code.
This has been tested with the CuteMouse driver (CTMOUSE.EXE) and seems work work pretty good. I have not (yet) tested it with any other mouse drivers.
I also optimized the timer0 interrupt code a bit, and fixed a bug with setting the U1_FIFO_TRIG bits for uart1.