Commit Graph

1370 Commits

Author SHA1 Message Date
RichardG867
9f55afc7a1 Add LIKELY/UNLIKELY macros 2023-04-22 21:37:41 -03: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
f16feb6e8c Merge branch 'master' of https://github.com/86Box/86Box 2023-04-19 23:34:43 +02:00
OBattler
19d155cdd7 Keyboard controller file split and assorted clean-ups and fixes 2023-04-19 23:34:32 +02:00
RichardG867
5813d425e9 clang-format my previous commits 2023-04-18 16:16:42 -03:00
RichardG867
fb8ef3e40c ini: Constify parameters to optimize execution 2023-04-18 16:14:44 -03: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
289962319f Rewritten the PS/2 poll (without the password security state, that is yet to be done) and enabled the PS/2 KBC IRQ latch on all PCI machines as well (it is present at the very least on Intel SIO and PIIX), fixes Windows for Workgroups 3.11 input, and reduced mouse polling to 255 Hz (the maximums supported by PS/2 mice). 2023-04-08 00:40:57 +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
Ben Russell
0bed201e87 vid_ega: Merge text renderers together 2023-03-23 17:06:12 +13:00
Ben Russell
69c18755a4 vid_ega: Extend 4bpp renderer to handle CGA 2bpp chunky graphics; Remove 2bpp renderer
This also lets planes 2 and 3 be used.
2023-03-23 15:28:25 +13:00
Ben Russell
212e494328 vid_ega: Merge 4bpp graphics renderers together 2023-03-23 14:51:35 +13:00
Ben Russell
2a395efbc9 vid_ega: Fix address decoding for Odd/Even modes for the 4bpp gfx renderers
This, combined with the Odd/Even fixes from a previous commit, gets the 64KB 640x350 2bpp modes working correctly.
Relevant issue: #2944
2023-03-20 20:07:39 +00:00
Cacodemon345
fa07ae5891 mpu401: Extend MPU401_QUEUE to 1024 bytes
Allows SysEx messages larger than 64 bytes to be received correctly
2023-03-07 15:57:33 +06:00
Cacodemon345
ff0a39bbaa Add and enable Wacom ArtPad emulation 2023-03-04 11:35:10 +06:00
Jasmine Iwanek
e39dde3413 Magic numbers for sound freq changed to defines 2023-03-01 03:00:47 -05:00
Jasmine Iwanek
8c1906bc98 Add missing translation 2023-03-01 00:15:56 -05:00
Jasmine Iwanek
ba57ed190b Fix a bug in the VTech Laser Turbo XT 2023-02-28 23:19:42 -05:00
Cacodemon345
2788287a4d Merge remote-tracking branch 'origin/master' into qt-wacom-serial 2023-02-28 14:37:02 +06:00
Cacodemon345
4d4fdddfc6 Merge remote-tracking branch 'origin/master' into qt-wacom-serial 2023-02-24 14:41:00 +06:00
Cacodemon345
424c9489c5 machine.h: Make chipset uintptr_t 2023-02-20 00:55:03 +06:00
Cacodemon345
e536c4ca69 device: Add extended parameters infrastructure 2023-02-19 22:50:44 +06:00
luennix
1f3dec5708 Add Toshiba Infinia 7200 (TC430HX OEM) and add TC430HX's on-board S3 ViRGE/DX. 2023-02-17 14:11:24 +03:00
Cacodemon345
cdcd5327d6 Merge remote-tracking branch 'upstream/master' into qt-wacom-serial 2023-02-17 14:26:15 +06: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
6d0f4fc723 Merge remote-tracking branch 'upstream/master' into qt-wacom-serial 2023-02-16 10:24:28 +06:00
OBattler
566d0c8f44 Padding in serial.h. 2023-02-15 16:42:06 +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
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
OBattler
c6359517c1 More pci_dummy.c fixes and it's now instantiable and the exposed init function initializes it for PCI slot brute force purposes. 2023-02-11 22:15:50 +01:00
Jasmine Iwanek
947e511d72 Add sio_device to machine table 2023-02-09 05:55:15 -05:00
Jasmine Iwanek
01749a6de6 Add fdc_device to machine table 2023-02-07 19:11:07 -05:00
Jasmine Iwanek
118ab005f0 Switch kbc to device_t kbd_device 2023-02-07 18:14:59 -05:00
Jasmine Iwanek
fea5ac681b Handful of function renames 2023-02-07 18:14:58 -05:00
TC1995
9ceec90d79 Added more ATAPI CD-ROM types (including the NEC CDR-273 4.20 drive used to be there at some point) and removed some non-working types. 2023-02-07 21:17:14 +01:00
Cacodemon345
17d4e4a7e2 Merge branch 'master' into qt-wacom-serial 2023-02-07 17:04:25 +06:00
Miran Grča
0daee20e8b Merge pull request #3091 from jriwanek-forks/cleanups
Make dual video card code use array
2023-02-06 18:21:50 +01:00
Jasmine Iwanek
a7236a9022 Make dual video card code use array 2023-02-06 07:29:18 -05:00
Jasmine Iwanek
13b954a336 Port PR#2786 (Higher scaling factors) to win32 UI 2023-02-06 03:22:28 -05:00
Cacodemon345
a9149bb78a qt: Reenable and make functional ACPI shutdown button 2023-02-06 01:39:34 +06:00
Miran Grča
64c6266404 Merge pull request #3078 from luennix/master
Add Packard Bell PB810 (without on-board video, for now)
2023-02-05 09:13:40 +01:00