Commit Graph

61 Commits

Author SHA1 Message Date
OBattler
f59bb33733 Added the TriGem Richmond. 2024-01-20 18:11:21 +01:00
OBattler
215c507634 Soft reset on IDE device 1 causes the assertion of PDIAG- which causes the error register of device 0 to also be set to 1, indicating diagnostics passed successfully (+ a PIIX3 fix), fixes #4002. 2024-01-08 02:35:03 +01:00
OBattler
f13a4a5723 PIIX3: Fixed USB legacy support register masks. 2023-12-29 11:10:15 +01:00
OBattler
2a5a8f7431 Assorted IDE fixes and the PCI IDE bus master now also resets ATAPI hard disks. 2023-11-03 05:54:30 +01:00
OBattler
b474e3d056 Massive IDE clean-ups, and finally implemented ATAPI hard disks. 2023-10-28 22:00:23 +02:00
OBattler
88934ab0ca IDE fixes and finished the SiS 5511. 2023-10-20 02:57:50 +02:00
OBattler
881579f15a Last machines and more fixes. 2023-10-08 06:11:32 +02:00
OBattler
6c4a4be6be Timer clean-ups. 2023-08-19 05:26:49 +02:00
OBattler
29c153d287 Reverted Cacodemon345's broken USB OHCI implementation, fixes #3597. 2023-08-18 23:16:54 +02:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04: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
ecb8091d41 Fixed Cacodemon345's OHCI mess and implemented proper OHCI IRQ updating, fixes the Gigabyte GA-5AX POST. 2023-05-07 02:53:04 +02:00
Cacodemon345
d6ff34208c usb: Hook up USB interrupts to rest of the chipsets 2023-05-06 15:36:44 +06:00
OBattler
8fca57aa79 Universalize the keyboard and mouse latches again, fixes #3280. 2023-05-01 01:35:16 +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
Jasmine Iwanek
af9f1abf98 Code/Comments cleanup
Tabs to spaces
Whitespace
Normalize clang-format comments
2022-11-13 21:15:58 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
OBattler
7a5ea200bb Made the QDI FMB's PIIX no longer use MIRQ for the secondary IDE controller, makes the secondary IDE controller work. 2022-10-25 02:38:06 +02:00
Jasmine Iwanek
3753a9f8b2 clang-format in src/chipset/ 2022-09-18 17:19:21 -04:00
OBattler
dcd7cc9047 And more. 2022-07-16 04:09:49 +02:00
OBattler
c58360df3e Chipsets. 2022-07-16 03:21:09 +02:00
OBattler
f6fef765d7 Chipsets. 2022-07-16 02:58:37 +02:00
Jasmine Iwanek
a52f0cca79 src/chipset 2022-03-13 09:21:08 -04:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Alexander Babikov
e8456cc5ca Change the internal name for the PIIX3 variation for boards with I/O APIC 2022-02-13 20:23:10 +05:00
OBattler
e9fbbf41d0 Added the version of PIIX3 for boards with I/O APIC that wires secondary IDE IRQ directly to legacy IRQ 15 instead of MIRQ0. 2022-02-05 13:43:24 +01:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
OBattler
10a257749f Fixed Intel PIIX and VIA PIPC trap SMI# function calls. 2021-10-19 18:19:29 +02:00
OBattler
a394a33500 Conflict resolution. 2021-10-19 18:18:15 +02:00
RichardG867
04bea78e5e PIIX: Implement drive separation on IDE I/O traps 2021-10-19 00:17:27 -03:00
RichardG867
8e823f125c PIIX: Remove I/O traps on close 2021-10-18 23:56:40 -03:00
RichardG867
8dd26d5776 Fix some logging stuff 2021-10-18 23:29:30 -03:00
RichardG867
e05aab152a Implement I/O port traps on PIIX and VIA ACPI 2021-10-18 21:59:12 -03:00
RichardG867
878c92bf7f ACPI: Rework suspend types and remove bogus PMCNTRL mirrors (those are SMI traps instead) 2021-10-18 15:05:38 -03:00
RichardG867
6bf299cd41 Implement undocumented PMCNTRL mirrors on VIA 596 (unconfirmed), 686 (confirmed) and PIIX4 (unconfirmed) ACPI 2021-10-16 21:36:58 -03:00
OBattler
626e8e58bb Implemented a PIIX register written to by the ZAPPA that is officially reserved on PIIX (but otherwise exists on PIIX3). 2021-09-17 02:54:19 +02:00
OBattler
67367798a7 Merged various SMC FDC67C6xx Super I/O chips into one file, re-added the UMC88xx 486 chipsets (and four machines for it) based on work by tiseno100 and my own work, various other fixes, and added quite a few machines (including the AOpen AP5VM which now works), also added the remaining ALi M6117 machine (Protech SBC with Award BIOS), and made the Intel Advanced/ATX's on-board S3 Trio64V+ work, as well as the on-board S3 Trio64/V2 of the two Compaq Presarios. 2021-08-21 18:19:10 +02:00
Miran Grča
8ca1328c7e Merge pull request #1571 from 86Box/master
Bring the branch up to par with master.
2021-08-02 06:58:22 +02:00
OBattler
f79b11cd9a PIIX3 fixes. 2021-07-27 03:42:56 +02:00
OBattler
e864aa2edc PIIX IDE non-bus master BAR's are now only writable on the SMSC Victory/66. 2021-07-26 05:02:40 +02:00
OBattler
a896953dd5 Current WIP ALi work. 2021-07-04 18:16:35 +02:00
OBattler
73bdd27ba8 Fixed PIIX MIRQ routing so MIRQ1 routing is no longer incorrectly applied to MIRQ0. 2021-06-10 05:07:32 +02:00
OBattler
50af9387f8 Makes PIIX board configuration registers work again - fixes deep beeps on Intel Advanced/ATX. 2021-06-06 23:56:21 +02:00
OBattler
50e32b6873 Temporarily disabled the second PIT on the PIIX and SIO to gain some performance back. 2021-04-29 23:46:44 +02:00
OBattler
49b1753dd0 Corrected PIIX4 ACPI GPIREG defaults to fix the ASUS P2B-LS. 2021-04-27 04:39:46 +02:00
OBattler
76f3f08d78 The Intel SIO and PIIX* southbridges now have the undocumented (by the datasheets, but fully documented by the Intel motherboard technical specifications) second PIT on ports 48h-4Bh. 2021-04-13 03:47:46 +02:00
OBattler
3074d5b845 Cleaned up excess header includes from the chipset files and the ALI M1487/1489 is now correctly implemented (still Dev branched as I have not committed the machine files yet). 2021-03-24 20:03:20 +01:00