This series of patches makes `-serial msmouse` work in practice.
Tested with FreeDOS/CTMouse driver `ctmouse /V` which identifies a
Logitech compatible 3 button mouse.
It will probably run as well with any other compatible serial mouse
driver on Windows 9x etc.
Arwed Meyer (5):
msmouse: Handle mouse reset
chardev: src buffer const for write functions
msmouse: Use fifo8 instead of array
msmouse: Add pnp data
serial: Allow unaligned i/o access
chardev/char.c | 4 +-
chardev/msmouse.c | 150 +++++++++++++++++++++++++++++++++-------
hw/char/serial.c | 3 +
include/chardev/char.h | 4 +-
include/sysemu/replay.h | 2 +-
replay/replay-char.c | 2 +-
stubs/replay-tools.c | 2 +-
7 files changed, 134 insertions(+), 33 deletions(-)
--
2.34.1