Commit Graph

38 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
e34dc90cd4 The Super I/O chip keyboard controllers and a compile fix to the PS/55 machines. 2025-08-23 02:22:08 +02:00
OBattler
a4bdac000f Vendor-specific ECP configuration register B readout, assorted Super I/O chip fixes, and gave the IBM ValuePointer 433/DXi its Super I/O chip. 2025-08-12 17:59:59 +02:00
OBattler
dbd748636e Hook up Bidirectional LPT, EPP, and ECP to all Super I/O chips (missing is vendor-specific Configuration Register B behavior but that's next on my list), fixed Super I/O chip mistakes for a number of machines, split 286/386SX/M6117D machines into three separate files and reordered them as well. 2025-08-11 16:36:30 +02:00
OBattler
ead6a8f8d0 Some SM(S)C fixes and the PC87306 now handles its own keyboard controller. 2025-08-03 18:26:20 +02:00
OBattler
711e09e08b FDC37c67x rewrite, c93x and m60x fixes, and hooked up ECP+EPP to all three. 2025-08-02 21:14:43 +02:00
OBattler
c0d9d6aef9 More FDC37c93x fixes and FDC37m60x rewrite based on FDC37c93x. 2025-08-02 18:04:56 +02:00
OBattler
87c3765071 SM(S)C FDC73c93x and NSC PC87309 fixes. 2025-08-02 17:44:16 +02:00
OBattler
b9e294b781 Trned the LPT ports into device_t's. 2025-08-02 14:51:28 +02:00
OBattler
0637b316ad Added keyboard type selection. 2025-07-27 15:23:43 +02:00
OBattler
455622492b All the required fixes - the Dell OptiPlex Gn+ now works correctly. 2025-05-21 20:49:54 +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
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
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
OBattler
5fdd6263a2 FDC37x93x: Always return 0xFF on GPIO reads, allow the code in chipset/intel_piix.c to take over instead, fixes CPU speed readout on the HP Vectra VL 5 Series 4. 2024-08-30 19:47:22 +02:00
OBattler
c377a36288 SM(S)C FDC37c932 Super I/O chip fixes, fixes #4601. 2024-07-19 17:45:44 +02:00
OBattler
509305f2f1 Make the SMC FDC37c935 Super I/O chip on the HP Brio 80xx and Packard Bell PB810 correctly use port 370h instead of the standard 3F0h, fixes #4427. 2024-05-07 20:09:30 +02:00
OBattler
75919a1cb9 Fixed the SM(S)C) FDC37C93x NVR handling and make any non-PIIX4 machine that uses it, use its full NVR capabilities. 2024-04-18 03:49:47 +02:00
Jasmine Iwanek
859d06b608 More linting in src/sio 2023-08-23 00:18:16 -04:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
Alexander Babikov
5653ae85d9 Switch more device_t's to named initializers
Fixes "missing braces around initializer" warnings
2023-03-01 01:34:05 +05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
99893d1175 clang-format in src/sio/ 2022-09-18 17:22:55 -04:00
Jasmine Iwanek
a61379eaee src/sio 2022-03-13 09:57:57 -04:00
Jasmine Iwanek
b24008f075 Floppy 2022-03-12 19:18:49 -05:00
Jasmine Iwanek
41f1c2facd More hardcoding fixes 2022-03-12 19:18:48 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
OBattler
29c8e36e6e Fixed miscellaneous bugs reported by Coverity. 2021-07-04 20:50:03 +02:00
OBattler
dc6e07a162 SMC FDC73C93x Super I/O chip fixes. 2021-06-07 00:11:45 +02:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
Alexander Babikov
53bb559446 Fix compilation warnings. 2020-11-14 05:46:57 +05:00
OBattler
af7e376938 Fixed logical device I/O port handling on the FDC37C932FR, fixes the FDC on the Gateway 2000 Tigereye. 2020-10-24 21:51:42 +02:00
OBattler
04fe0c9b30 Some bug fixes to the Compaq Presarior 4500 and its Super I/O chip. 2020-08-13 00:38:16 +02:00
OBattler
4b69570e28 Added the SMC FDC37C931APM Super I/O chip. 2020-08-10 00:15:58 +02:00
OBattler
96228bc41d Overhauled the SiS 496/497 chipset emulation (and added the DRB locking to it) (later Zida Tomato 4DPS BIOS'es now work, and we now use the actual 1.72), fixed the W83787F and FDC37C932FR Super I/O chips, removed the no longer needed Acer M3A registers (that's now correctly handled as FDC37C932FR GPIO), and a number of bugfixes here and there. 2020-06-29 01:10:20 +02:00
OBattler
9c6f0d806e A slight reorganization of the source tree and fixed a warning in disk/mo.c. 2020-06-13 10:17:57 +02:00