Commit Graph

665 Commits

Author SHA1 Message Date
OBattler
aab8eb809d More keyboard controller improvements - fixes IBM AT boot, CTRL and ALT getting stuck on pressing CTRL+ALT+ESC on Acer BIOS'es, Norton Commander behaving strangely after pressing ALT+Print Screen, and also moved PS/2 mouse command responses to their own queue to simulate the fact that on real hardware, PS/2 mouse commands, like keyboard commands, bypass the FIFO. 2023-04-02 04:17:33 +02:00
OBattler
21d31bb839 More AT / PS/2 keyboard controller bugfixes - implemented AMI command A5h (get extended controller RAM), moved command byte to the correct memory byte 0x20, fixed the IBM AT ACh command (diagnostic dump), increased keyboard controller queue to 64 bytes (to accomodate the ACh command), and made port 60h return 0xFF if OBF is clear (fixes the mess on AMI BIOS'es, and makes pressing INS actually work to get those BIOS'es into debug and CMOS bypass mode). 2023-04-01 01:58:38 +02:00
OBattler
542f8477e7 Fully cleaned up the AT keyboard controller add data mess. 2023-03-30 23:50:14 +02:00
OBattler
1cf4f95836 The host mouse is now polled at 3600 Hz (the individual guest mouse types then run at their own rates), making the mouse consideraly smoother. 2023-03-30 01:39:00 +02:00
OBattler
f4f9926004 AT / PS/2 keyboard controller status byte is no longer updated when bytes are added to the keyboard or mouse FIFO, fixes loss of input after some time of PS/2 mouse movement. 2023-03-29 23:15:53 +02:00
Cacodemon345
9b3626e88c wacom: Fix settings reporting 2023-03-04 12:24:35 +06:00
Cacodemon345
ff0a39bbaa Add and enable Wacom ArtPad emulation 2023-03-04 11:35:10 +06:00
Cacodemon345
90826277aa mouse_wacom_tablet: Make data a FIFO
Windows 3.x Wacom handwriting mode now behaves correctly
2023-03-03 22:37:59 +06:00
Cacodemon345
85ddf5db3a Merge remote-tracking branch 'origin/master' into qt-wacom-serial 2023-03-02 23:31:20 +06:00
Cacodemon345
32076a16ac mouse_wacom_tablet: Point mode is disabled when suppressed mode is enabled 2023-03-02 16:47:42 +06:00
Cacodemon345
9d1175d1d8 Prepare for ArtPad emulation 2023-03-02 16:45:47 +06:00
Cacodemon345
c68b0a416a mouse_wacom_tablet: Resets now set the mode properly 2023-03-02 14:05:38 +06:00
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
Cacodemon345
f9cd6c9b5f Set default tablet tool to Pen 2023-02-18 01:16:16 +06:00
Cacodemon345
cdcd5327d6 Merge remote-tracking branch 'upstream/master' into qt-wacom-serial 2023-02-17 14:26:15 +06:00
Cacodemon345
7f66f8334e mouse_wacom_tablet: Always transmit coordinates when requested in remote mode 2023-02-17 11:36:13 +06:00
Cacodemon345
29d7a7f265 mouse_wacom_tablet: Reset "always_report" to 0 as well
Fixes Windows 95 drivers
2023-02-17 11:04:24 +06:00
Cacodemon345
a96f40e5ef mouse_wacom_tablet: Change to snprintf for ID transmission 2023-02-17 01:48:29 +06:00
OBattler
7a0e52720d Merge branch 'master' of https://github.com/86Box/86Box 2023-02-16 20:10:16 +01:00
OBattler
b2f324262d Fixed more serial receiver FIFO bugs. 2023-02-16 20:10:05 +01:00
Miran Grča
6b6632e140 Merge pull request #3111 from Cacodemon345/qt-compile-fix
serial_passthrough: Allow configuration of named pipe parameter
2023-02-16 18:16:07 +01:00
Cacodemon345
3050dae395 serial_passthrough: Allow configuration of named pipe parameter 2023-02-16 17:27:04 +06:00
Cacodemon345
efaca1b106 wacom: Get rid of ID transmission hacks 2023-02-16 10:25:05 +06:00
Cacodemon345
6d0f4fc723 Merge remote-tracking branch 'upstream/master' into qt-wacom-serial 2023-02-16 10:24:28 +06:00
OBattler
f6c8080bdc Fixed MSR writability, fixes Error D on the IBM PCjr. 2023-02-16 02:43:06 +01:00
OBattler
3d480a6ffc A small fix to the serial receiver FIFO - fixes error 1101 on IBM PS/2 Models 70 and 80. 2023-02-16 00:15:04 +01:00
Cacodemon345
f4d985b3da serial: Fix compilation with Qt 2023-02-15 21:37:20 +06:00
OBattler
9d59f72f0b Rewrote the serial port receiver FIFO. 2023-02-15 16:00:46 +01:00
OBattler
0ed4548aeb Fixed warnings in device/serial_passthrough.c. 2023-02-15 14:32:47 +01:00
Cacodemon345
0f36ad9f04 Merge remote-tracking branch 'upstream/master' into qt-wacom-serial 2023-02-15 11:12:25 +06:00
Jasmine Iwanek
f643391975 Serial Passthrough 2023-02-14 20:53:59 -05:00
Joakim L. Gilje
fa9e05a317 add command 0xea - set stream mode 2023-02-08 22:11:22 +01:00
Cacodemon345
17d4e4a7e2 Merge branch 'master' into qt-wacom-serial 2023-02-07 17:04:25 +06:00
Jasmine Iwanek
a7236a9022 Make dual video card code use array 2023-02-06 07:29:18 -05:00
luennix
4085e4c928 PR for 86Box 2023-01-09 16:31:36 +03:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Cacodemon345
3884e5874b Merge remote-tracking branch 'upstream/master' into qt-wacom-serial 2023-01-07 11:38:25 +06:00
Cacodemon345
a91015fe04 wacom: Check suppressed increment first 2023-01-07 00:04:48 +06:00
Cacodemon345
b0b92a84e6 wacom: Fix increment modes 2023-01-06 23:23:40 +06:00
Cacodemon345
6a78eca1ff wacom: Cleanup and splits 2023-01-04 23:03:47 +06:00
Cacodemon345
e538a28895 Don't transmit coordinates continuously in remote mode 2023-01-04 19:43:15 +06:00
Cacodemon345
695f5befa1 ST cancels remote mode 2023-01-04 19:30:14 +06:00
Cacodemon345
e5dd58e23f wacom: Support Remote request mode and line feed-terminated commands 2023-01-04 13:46:06 +06:00
Cacodemon345
5c5e26960a Properly process single-byte commands 2023-01-04 02:07:27 +06:00
Cacodemon345
49795ce81f Transmit ID at normal speed 2023-01-04 01:59:57 +06:00
Cacodemon345
8e91b23e35 Partial revert of suppressed/increment mode changes 2023-01-04 01:42:14 +06:00
Cacodemon345
3cb903c29e wacom: Don't transmit anything for 10 miliseconds after reset 2023-01-04 00:10:43 +06:00
Cacodemon345
e229f9e22c wacom: Properly implement suppressed/increment mode 2023-01-03 23:27:12 +06:00
Cacodemon345
0ea498d9ce wacom: Account for negative coordinate overflows 2023-01-03 22:20:30 +06:00