Commit Graph

430 Commits

Author SHA1 Message Date
OBattler
53daf8be9d Left and right Windows keys tracking in keyboard.c. 2023-08-07 03:32:56 +02:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Miran Grča
937cadf054 Merge pull request #3487 from cold-brewed/rtc-fix
rtc: Fix crash when closing device
2023-07-26 01:52:09 +02:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
RichardG867
8d46224893 keyboard: Rename inaccurate fullscreen hotkey function 2023-07-24 15:07:08 -03:00
cold-brewed
f102f05ec0 rtc: Fix crash when closing device 2023-07-24 11:48:51 -04:00
RichardG867
002540e763 serial: Give up on passthrough if no ports are enabled, fixes #3254 2023-07-15 22:24:29 -03:00
TC1995
19fa6c8f8b Machine features and fixes:
Revamped and refactored the Compaq AT clone code, including a more correct Plasma emulation and undev branch the Deskpro 386 while adding the September 1986 and January 1988 bioses.
Added Compaq AT KBC strictly for the Deskpro 386 with the right settings, including the FPU bit.
The generic AMI/Quadtel/Phoenix IBM AT's don't issue the speed problems of the pure IBM AT beyond 8Mhz, so don't limit them to 8Mhz.
2023-07-14 22:14:56 +02:00
OBattler
b750471e5c Removed two temporary lines in device/kbc_at.c that shouldn't have been committed. 2023-07-03 02:42:33 +02:00
OBattler
e328a3c2de Added the Siemens Award keyboard controller and a small hack (will have to do due to the scarcity of information until we get ahold of an actual Siemens PCD-2L) to make the Siemens PCD-2L POST correctly again, fixes #3444. 2023-07-03 02:36:17 +02:00
OBattler
3a60d62434 Fixed thetype of temp in kbc_send_to_ob(), fixes the incorrect sending of 0xFF's to the guest. 2023-06-29 13:57:16 +02:00
Jasmine Iwanek
922c4335ae Next round of sonarlint cleanups 2023-06-27 21:17:13 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
OBattler
8b559f1271 Fixed Y polarity in the MM Series packet format on the Logitech Serial Mouse. 2023-06-19 01:59:33 +02:00
OBattler
eb4c9f3e40 Fixed warnings in the VISO and Wacom Tablet codes. 2023-06-11 14:00:18 +02:00
OBattler
9a60ca1e77 Correctly implemented the two MM67 half-registers, closes #3347. 2023-05-24 22:12:42 +02:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
OBattler
d314255362 MM67: Convert year from BCD if it is stored in BCD mode. 2023-05-16 01:09:48 +02:00
OBattler
194918b86a Some minor keyboard and keyboard controller fixes and three-phased the keyboard and PS/2 mouse BAT. 2023-05-16 00:20:09 +02:00
OBattler
69f76176fe Removed unncessary files. 2023-05-07 03:30:42 +02:00
OBattler
ecb8091d41 Fixed Cacodemon345's OHCI mess and implemented proper OHCI IRQ updating, fixes the Gigabyte GA-5AX POST. 2023-05-07 02:53:04 +02:00
OBattler
f16f7a2464 Some minor Logitech serial mouse bug fixes and implemented the auto baud rate mode. 2023-05-02 21:53:42 +02:00
Cacodemon345
29ca01d290 mouse_wacom_tablet.c: fix warnings 2023-05-01 12:12:59 +06:00
OBattler
125315ee61 Fixed the KBC PCI flag, fixes the logo on the TriGem HAWK. 2023-04-30 18:24:14 +02:00
OBattler
1057722efc Command A5 is in fact the IBM PS/2 Load Security command, fixes the AMI Excalibur PCI Pentium. 2023-04-30 18:21:17 +02:00
OBattler
1eaa3830d3 KBC command output is now correctly two-phased like in the M&KB branch, fixes keyboard input on the Intel Advanced/EV with no PS/2 mouse. 2023-04-30 17:13:03 +02:00
OBattler
78a897f07a Some minor fixes, the PS/2 mouse command F0h (set remote mode) is now implemented, the PS/2 mouse command F3h (set sample rate) now actually changes the host mouse polling rate, and the Intel SIO IB and ZB now forcibly initialize a keyboard and mouse IRQ latch if the board has a PS/2 keyboard controller, to simulate the presence of a latch external to the chip. 2023-04-26 01:42:23 +02:00
OBattler
3b54cb085e Some minor bugfixes. 2023-04-24 02:47:17 +02:00
OBattler
8d6181de50 A small change in device/keyboard_at.c so the keyboard no longer loses track of what command a parameter is intended for when interrupted by another command. 2023-04-22 08:38:15 +02:00
OBattler
5d9de974ee More keyboard controller clean-ups and fixes to mem/mem.c and port_92.c - OS/2 1.3 now works on IBM PS/2 MCA machines. 2023-04-22 03:48:50 +02:00
OBattler
041e916472 AS small optimization. 2023-04-20 15:05:51 +02:00
OBattler
634ecfeab9 More clean-ups. 2023-04-20 14:50:44 +02:00
OBattler
0458034cbf Some clean-ups. 2023-04-20 14:28:37 +02:00
OBattler
06fc5e9d0d Committed the two missing files. 2023-04-19 23:46:33 +02:00
OBattler
19d155cdd7 Keyboard controller file split and assorted clean-ups and fixes 2023-04-19 23:34:32 +02:00
OBattler
436382a147 The BAT enables scanning. 2023-04-16 17:46:09 +02:00
OBattler
5b850c053a Some fixes and preparations for the split of keyboard_at.c. 2023-04-16 17:16:04 +02:00
OBattler
df24b4be0f Reverted the previous approach and switched to the new, non-hacky approach of getting rid of the accelerator and instead handling enter full screen the same way exit full screen is handled. 2023-04-13 22:47:42 +02:00
OBattler
72951cab95 Removed the reset delay workaround as the latest Xi8088 BIOS (0.9.8) no longer requires it. 2023-04-12 21:05:51 +02:00
OBattler
b753c675fb Fixed the PS/2 keyboard and mouse latch initialization - now the mouse latch actually works, fixes mouse in AMI WinBios Setup and 8603 errors on MCA IBM PS/2's. 2023-04-12 20:23:31 +02:00
OBattler
ec09ce3eb8 Some clean-ups in src/device/keyboard_at.c - keyboard_mode is now only used for the scan code set. 2023-04-12 04:19:26 +02:00
OBattler
f948df0415 Re-enabled AT / PS/2 keyboard scan code set 1 support - fixes DG/UX, but somehow does not break TSX32. 2023-04-12 02:31:09 +02:00
OBattler
ef17003f1b Fixed the "minor bug fix" in the AT / PS/2 keyboard controller, reworked PS/2 keyboard controller IRQ latches, and correctly disabled memory top remaps if there's more than (16 MB - remap size) RAM (fixes segmentation faults on some machines with 16+ MB of RAM). 2023-04-11 23:21:52 +02:00
OBattler
5da3e78fc1 Save SavedKbd before resetting the queues, fixes the segmentation fault. 2023-04-10 19:18:39 +02:00
OBattler
e33ae8a2af Preparations for splitting keyboard_at.c into multiple files. 2023-04-10 18:59:38 +02:00
OBattler
d3bd8fb1ae Moved scan code translation to the keyboard controller's side where it should be and removed an excessive keyboard command queue add function. 2023-04-10 14:08:36 +02:00
OBattler
c614efa075 Fixed scan code translation skip checking (fixes missing break code on Alt+Print Screen / SysRq) and actually committed the Acer V10 fix. 2023-04-10 13:45:55 +02:00