Commit Graph

59 Commits

Author SHA1 Message Date
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
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
OBattler
fb8dcab3bd Fixed the handling of the Toshiba Fn keys, fixes #2778. 2022-10-31 04:04:47 +01:00
Miran Grča
c2402daf1e Merge pull request #2755 from jriwanek-forks/tabstospaces
Correct many file headers to show 86box
2022-10-29 17:06:18 +02:00
OBattler
e6f208ef33 And applied the same change to the Vendex (and all other XT clones) by separating the XT clone keyboard/PPI from the IBM XT 1986 one, and giving the clone one the PC-style port D read out on port 60h when keyboard is disabled, fixes #2213. 2022-10-28 02:23:08 +02:00
Jasmine Iwanek
f49d3c7458 Correct many file headers to show 86box 2022-10-27 17:08:58 -04:00
OBattler
d963bf4237 The Pravetz keyboard and video are now properly implemented. 2022-10-20 00:33:30 +02:00
Jasmine Iwanek
ae4f9aedaa clang-format in src/include/86box/ 2022-09-18 17:22:54 -04:00
OBattler
f9dbb5ea9f Fixes. 2022-07-23 16:31:29 +02:00
Jasmine Iwanek
6233027c9e Named initializers in machine table 2022-07-19 18:51:18 -04:00
OBattler
fb2658bfec Fixed the Samsung SPC-6000A. 2022-05-20 01:35:32 +02:00
Jasmine Iwanek
7fc893bdb0 Include guards on our headers 2022-02-18 19:42:21 -05:00
OBattler
4f6df76f10 Revert "Revert "Merge branch 'feature/machine_and_kb' into master""
This reverts commit f2cd3756dd.
2021-07-04 17:40:39 +02:00
Daniel Gurney
f2cd3756dd Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit 6604a29d7e, reversing
changes made to 1d7fca0abd.
2021-07-04 18:22:52 +03:00
OBattler
fd4817a87b All the current WIP work (warning: the PIT is currently using some temporary test rewrite that is going to be undone). 2021-06-29 19:11:19 +02:00
EngiNerd89
a4de9d514b Implemented some Olivetti M300-family machines.
Implemented NCR PC916SX
Implemented PC87310 SuperIO
2021-01-17 14:39:45 +01:00
OBattler
b9b753c9aa Fixed the SCAMP chipset emulation and the Commodore SL386SX-25 (it was using the SL386SX-16 BIOS), added the SL386-SX16 (NEAT) and the Samsung SPC-4620P, SPC-6033P, and SPC-6000A. 2020-12-28 05:34:33 +01:00
EngiNerd89
3d516c223f Added the following new machines:
- NCR PC8/810/710/3390/3392
- NCR 3302
- Olivetti M290
2020-12-23 20:55:09 +01:00
EngiNerd89
590003ab09 Merge branch 'master' of https://github.com/86Box/86Box.git into EngiNerd 2020-12-19 21:31:33 +01:00