Commit Graph

77 Commits

Author SHA1 Message Date
OBattler
467b6b8f77 Round 2 of the clean-ups - AT vs. PS/2 KBC is now decided based on machine flags, reduces the chances of mismatch to zero. 2025-08-23 15:05:08 +02:00
OBattler
b7a9fed690 Winbond W83977 and KBC clean-ups. 2025-08-23 02:39:10 +02:00
OBattler
efe3e46058 SiS KBC devices and AMI KBC copyright strings. 2025-08-23 01:45:35 +02:00
OBattler
58d3073775 Added the option to force constant mouse updating. 2025-08-19 21:03:09 +02:00
OBattler
0637b316ad Added keyboard type selection. 2025-07-27 15:23:43 +02:00
OBattler
30ae882263 Added the Tulip PC Compact 2, the Tulip DGA font ROM, and assorted font ROM-related improvements. 2025-06-15 02:55:32 +02:00
OBattler
455622492b All the required fixes - the Dell OptiPlex Gn+ now works correctly. 2025-05-21 20:49:54 +02:00
OBattler
cb67128059 AT / PS/2 keyboard: abort any pending scan code send and reinitialize queue on set defaults (command F5/F6). 2025-05-14 19:08:35 +02:00
OBattler
7529c19ec8 Reset all keys on keyboard reset and also make sure to stop the CTRL+ALT+DEL sending on keyboard reset, fixes spurious "Keyboard not present" errors. 2025-05-10 14:25:29 +02:00
OBattler
a48f9bc7ba Implement the Kana lock LED for AX machines. 2025-05-07 01:54:34 +02:00
OBattler
ebb52490c3 Properly un-dev-branch the Laser XT stuff in the keyboard files. 2025-05-05 05:14:56 +02:00
OBattler
018bbfae43 SM(S)C FDC37C93x Super I/O chip rewrite, add the Acer V62x, and un-dev-branch the V-Tech Laser XT machines. 2025-05-05 05:11:55 +02:00
=
4c20994d59 Removed broken refs to fix -nix build 2025-04-19 23:50:03 -07:00
OBattler
b91986499d The forgotten keyboard.h. 2025-04-12 17:54:36 +02:00
OBattler
d91cc459bf OKI IF386AX: Implement the NEATsx chipset and give it the AT Phoenix keyboard controller. 2025-03-24 19:02:46 +01:00
Cacodemon345
1ca2aabf2f Remove some things that shouldn't be there 2025-03-10 00:37:20 +06:00
Cacodemon345
86343327be Initial PCem OpenGL 3.x renderer port 2025-03-08 02:13:14 +06:00
Cacodemon345
168910b72f All held-down keys are now released when Alt-Tab'ing out
Only applies when Raw Input is in use on Windows
2025-02-26 11:39:04 +06:00
Jasmine Iwanek
d00f80d3ce General changes from the obattler_202406 branch
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:20:36 -05:00
OBattler
defeb47ca5 Switched from raw input to low-level keyboard hook, with -W/--raw to optionally re-enable raw input (needed to debug, so the hook doesn't cause GDB to make system input unusably slow), fixes #4399. 2024-12-31 00:48:50 +01:00
Jasmine Iwanek
892f066ffa Don't depend on DEV_BRANCH
Allows things to be compiled independently
2024-08-08 20:25:03 -04:00
OBattler
37ceea4ed0 Fix emulator-handled UI keyboard combinations when keyboard requires capture and is not captured, also fix keyboard input in full screen in such situations, fixes #4697. 2024-08-07 06:11:50 +02:00
OBattler
fd00bcca8b Backported the kbc_at_set_ps2() function required by the VL82c113. 2024-07-22 00:12:12 +02:00
OBattler
5af50e22ed And the forgotten keyboard.h. 2024-05-14 21:25:54 +02:00
OBattler
97b41adc22 AT KBC: IBM variants now revert to old IRQ behavior. 2024-05-10 00:49:21 +02:00
OBattler
b159cd5b12 Implemented the Phoenix keyboard controller with a Packard Bell specific workaround, fixes #4415. 2024-05-08 23:42:20 +02:00
OBattler
c89e92fafd Fixed the BCM SQ-588 with a kludged, fixes #4431. 2024-05-08 00:34:51 +02:00
OBattler
d98751e40f Added the ability to enable/disable the KBC (used by the FDC37C93x Super I/O chips). 2024-04-18 03:51:56 +02:00
OBattler
530fafe78a Minor keyboard-related fixes. 2024-01-20 17:27:24 +01:00
OBattler
69f5e9ae4b Added a Hyundai XT keyboard controller with the old behavior (the Hyundai XT BIOS'es rely on it), fixes #3771. 2023-11-07 01:42:22 +01:00
Jasmine Iwanek
3a0ddc2087 More linting in src/include/86box 2023-08-23 04:15:58 -04:00
RichardG867
8d46224893 keyboard: Rename inaccurate fullscreen hotkey function 2023-07-24 15:07:08 -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
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04: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
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04: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
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
0458034cbf Some clean-ups. 2023-04-20 14:28:37 +02:00
OBattler
19d155cdd7 Keyboard controller file split and assorted clean-ups and fixes 2023-04-19 23:34:32 +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
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
4eb902d853 More keyboard controller fixes. 2023-04-09 19:44:15 +02:00
OBattler
d4b57298ad Fixed the keyboard controller reset state, fixes Xi8088. 2023-04-08 03:11:53 +02:00
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
Jasmine Iwanek
ba57ed190b Fix a bug in the VTech Laser Turbo XT 2023-02-28 23:19:42 -05:00
Jasmine Iwanek
118ab005f0 Switch kbc to device_t kbd_device 2023-02-07 18:14:59 -05:00