Commit Graph

142 Commits

Author SHA1 Message Date
OBattler
6aec346cc5 AT keyboard: Fix last scan code resending, fixes E0-prefixed keys on some machines. 2025-05-15 04:11:29 +02:00
OBattler
f09ebba330 Fix the previous commit. 2025-05-14 19:18:49 +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
Cacodemon345
8861741945 Some needed changes for hard resets 2025-03-29 13:16:52 +06:00
Cacodemon345
85a94516f7 Caps/Num/Scroll LED states are now displayed 2025-03-29 13:16:52 +06:00
OBattler
d15def050a Fix an unclosed comment in device/keyboard_at.c. 2025-03-01 10:11:45 +01:00
Akamaki
0b97701e7a add keyboard ID switcher for PS/55 2025-02-22 23:53:44 +09:00
Akamaki
ffedf62a4a add scancode set 81h and 82h (incompleted)
need to modify the keyboard initialization
2025-02-22 22:02:44 +09:00
Akamaki
dbeaa2a56b minor update in comparison table 2025-02-15 17:38:24 +09:00
Akamaki
8ceec325ef Merge branch 'master' of https://github.com/86Box/86Box into 86Box-master 2025-02-15 09:02:14 +09:00
OBattler
2c197000ea Removed the legacy #defines in device.h. 2025-02-14 07:39:21 +01:00
OBattler
30ca057519 Removed the last remnants of device_t.poll(). 2025-02-13 01:06:40 +01:00
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
OBattler
78a81b0d7f AT / PS/2 keyboard: It turns out a few other commands also cancel the pending command, fixes #4981. 2025-01-10 21:56:04 +01:00
Akamaki
c3b2ddfcb1 added comment for 5576 keyb 2024-08-16 23:56:25 +09:00
Akamaki
bb9b4dc64f Added IBM-J 5576 keyboard and scancode set 8Ah 2024-08-15 10:38:48 +09:00
OBattler
6cc7615185 Keyboard AT: Send ACK before the resent scan code on command FE, fixes #4713. 2024-08-13 00:26:53 +02:00
Jasmine Iwanek
4b9b6e0815 Named Initializers in keyboard scancode tables 2024-06-27 03:22:02 -04:00
Jasmine Iwanek
4efd072a65 Default keyboard should be 101/102 key
This change doesn't matter yet, but it will later when this gets used.
2024-06-22 04:27:51 -04:00
Jasmine Iwanek
88a4ca68ea Fix missing entries in at kbd scancode tables 2024-06-22 04:26:45 -04:00
Jasmine Iwanek
931fc0d24a One line per keyboard scancode (Part 2) 2024-06-22 04:26:44 -04:00
Jasmine Iwanek
77c6296084 Fix up scancode table formatting (Part 1) 2024-06-21 22:08:31 -04:00
OBattler
530fafe78a Minor keyboard-related fixes. 2024-01-20 17:27:24 +01:00
OBattler
937e2a52f8 SiS 5571, Daewoo Compaq, speed up AT / PS/2 KBC (does not appear to break anything from months of testing) and fix AT / PS/2 keyboard reset to fix the Samsung SPC7700LP-W soft reset. 2024-01-06 01:51:20 +01:00
OBattler
87c5c59646 Some copyright header fixes. 2023-08-14 21:13:37 +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
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
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
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
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
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
OBattler
1c4afad095 The keyboard controller now waits for the keyboard or mouse to process a command, hopefully fixes the remaining 301 errors on the IBM PS/2 models. 2023-04-09 23:24:03 +02:00
OBattler
4eb902d853 More keyboard controller fixes. 2023-04-09 19:44:15 +02:00
OBattler
7b76b2af27 The PS/2 mouse poll is now also a state machine and fixed output port writes on AMI PS/2 keyboard controllers - fixes PS/2 mouse in Windows 3.1 on some machines. 2023-04-09 04:36:28 +02:00
OBattler
4471849891 The keyboard now is now also a state machine. 2023-04-09 00:59:10 +02:00
OBattler
d4b57298ad Fixed the keyboard controller reset state, fixes Xi8088. 2023-04-08 03:11:53 +02:00
OBattler
c786eb0924 Fixed input port intialization, fixes the logo on the Epson Action PC. 2023-04-08 01:42:09 +02:00