Improved passing of scan codes to the emulated keyboards;
Fixed Sound Blaster 16 and earlier CD-ROM volume registers (and made them no longer default to 0); Serial mouse now resets the FIFO before sending the ID, fixes mouse detection after clipping and moving the mouse; Rewritten CD-ROM and SCSI disk Mode Select handling and changed things regarding Mode Sense as well, also fixes emulator segmentation faults when anything attempts to do a Mode Select; Fixed the Microsoft InPort mouse emulation (used the Bochs code as reference for the polling/state update code), now it actually moves; The PCjr initialization now sets the XT scan code table, makes the keyboard actually work on the PCjr again; Several bugfixes regarding the Read CD commands, fixes CD Audio in digital mode on Windows ME; Finally properly fixed the regular CD Audio MSF/LBA conversion mess; Applied all applicable PCem commits.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*
|
||||
* TODO: Add the Genius Serial Mouse.
|
||||
*
|
||||
* Version: @(#)mouse_serial.c 1.0.18 2017/12/14
|
||||
* Version: @(#)mouse_serial.c 1.0.19 2018/01/12
|
||||
*
|
||||
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
*/
|
||||
@@ -58,6 +58,7 @@ sermouse_callback(struct SERIAL *serial, void *priv)
|
||||
|
||||
/* Start a timer to wake us up in a little while. */
|
||||
dev->pos = -1;
|
||||
serial_clear_fifo((SERIAL *) serial);
|
||||
dev->delay = 5000LL * (1LL << TIMER_SHIFT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user