Funky, I had made almost the same changes some time ago, but I didn't knowabout the extra two bytes in the protocol.
The two extra bytes are for MSC protocol, seems like original SUN mouse has only three bytes. I can only test it with linux guest, here these two extra bytes are really helpful.
This patch adds serial mouse support for sun4m slavio emulation.
Funky, I had made almost the same changes some time ago, but I didn't know
about the extra two bytes in the protocol. I merged your changes with mine,
result attached.
___
Hi!This patch adds serial mouse support for sun4m slavio emulation.
Index: hw/slavio_serial.c
===
RCS file: /cvsroot/qemu/qemu/hw/slavio_serial.c,v
retrieving revision 1.6
diff -u -r1.6 slavio_serial.c
--- hw/slavio_serial.c 12 Apr 200