First post, by superfury
I've implemented an UART clock (as documented), which is further divided with 1 start bit, 5-8 data bits and 1 or 2 stop bits to get the rate at which data is received(and checked if available) from the (in this case) connected serial mouse.
Most of the interface is unchanged, only the receive timing is now timed according to the start/data/stop bits(in whole packets receiving a byte of data).
UART code: https://bitbucket.org/superfury/unipcemu/src/ … art.c?at=master
Serial mouse plugged in to the first UART (COM) port: https://bitbucket.org/superfury/unipcemu/src/ … use.c?at=master
For some reason the mouse drivers aren't recognizing the serial mouse anymore. Also Windows 3.0 crashes when it receives mouse events from it(before the latest two commits)?
Anyone can see what's going wrong? Jepael? Reenigne?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io