Commit Graph

50 Commits

Author SHA1 Message Date
Cacodemon345
74368bfe7a Don't include cpu.h in timer.h
Change the name of the define used to indicate SVGA multi-monitor-capable cards
2025-03-06 19:26:11 +06: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
e61c620558 ALi M1543(C): USB IRQ level/edge control. 2024-05-25 20:12:25 +02:00
OBattler
b22b2af411 ALi M1543(C) and SiS 551x IDE fixes. 2024-05-10 00:29:35 +02:00
OBattler
a2b3c4c8dc ALi M1543(C) IDE fixes, fixes Windows 95 IDE driver. 2024-04-18 03:54:12 +02:00
Jasmine Iwanek
8e74ee2726 Fix most of the warnings in the macos builds 2023-12-17 18:30:16 -05:00
OBattler
aa0b4dfab7 ALi M1543(c) ACPI and SMBUS PCI BAR's now correctly return all 0x00's when locked, as documented by the M1543 datasheet, fixes the PCI error found by Dizzy on the ASUS P5A with Debian Lenny. 2023-12-17 12:43:07 +01:00
OBattler
88934ab0ca IDE fixes and finished the SiS 5511. 2023-10-20 02:57:50 +02:00
OBattler
274b44ab00 Reimplemented ALi M1543(C) NVR SMI# handling, fixes #3278. 2023-08-19 01:39:30 +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
9e3f11d62e ali1543: Fix wrong function signature 2023-05-07 00:35:38 +06: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
3b54cb085e Some minor bugfixes. 2023-04-24 02:47:17 +02:00
OBattler
19d155cdd7 Keyboard controller file split and assorted clean-ups and fixes 2023-04-19 23:34:32 +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
60b5c5ba74 Implemented missing ALi M1543C behavior. 2022-12-04 22:59:22 +01:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
fab1632cee Fixes almost all the logging options which were previously broken 2022-10-27 11:23:10 -04:00
OBattler
d79596b3e2 Fixed ALi M1543(C) PCI IDE controller BAR's, including a datasheet erratum, fixes Windows 9x/ME ALi PCI IDE drivers, fixes #2667. 2022-10-26 00:25:18 +02:00
Jasmine Iwanek
3753a9f8b2 clang-format in src/chipset/ 2022-09-18 17:19:21 -04:00
OBattler
25362803f6 Move the ALi M5123 initialization to the end of the M1543(C) initialization. 2022-07-23 16:35:24 +02:00
OBattler
077f6174bd ALi M1543(C) log fixes. 2022-07-23 16:34:03 +02:00
OBattler
28d24679e0 ALi M1543(c) fixes. 2022-07-23 03:20:09 +02:00
OBattler
79fd8bbf26 ALi M5123-related changes in chipset/ali1543.c. 2022-07-23 03:13:23 +02:00
OBattler
f7f8ec79b9 M1543(c) and machine changes. 2022-07-23 01:29:19 +02:00
OBattler
a9350012ff First ALi M1543C changes. 2022-07-23 00:47:32 +02:00
Jasmine Iwanek
a52f0cca79 src/chipset 2022-03-13 09:21:08 -04:00
Jasmine Iwanek
b24008f075 Floppy 2022-03-12 19:18:49 -05:00
OBattler
6d7de97d3b ALi M1543(C) jumper readout fix I thought I committed but I evidently didn't. 2022-02-10 16:46:27 +01:00
OBattler
232b75fef8 Correctly implemented some implied ALi M1543(C) behavior. 2022-02-06 15:29:28 +01:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
OBattler
dbddb3e309 Finished the ALADDiN-PRO II, implemented the Contaq/Cypress 82C596(A) and 82C597 chipsets, added the ASUS P5A, Gigabyte GA-5AX, PC CHIPS M729, and Green-B, removed the "Virtual PC 2007" device as it turns out it was actually SMBus all along, did some fixes to the ALi SMBUS, fixed start LM75 SMBus address and enabled it by default, and added a ASUS P5A-specific version of the Winbond W83781D hardware monitor. 2021-07-12 05:56:06 +02:00
OBattler
2f24523802 And more fixes. 2021-07-04 18:22:00 +02:00
OBattler
a896953dd5 Current WIP ALi work. 2021-07-04 18:16:35 +02: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
15279e4964 Finished the ALi M15xx and removed from Dev branch. 2021-07-01 01:43:59 +02: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
Alexander Babikov
0208c7560f Fix incorrectly set 7.16 MHz clock speeds on some chipsets 2021-04-26 04:21:29 +05:00
Panagiotis
0b7bec3831 Fixes on the Aladdin IV 2021-04-13 15:21:10 +03:00
RichardG867
ca354f5854 Fix M1543 PCI slot mess 2021-03-14 20:29:46 -03:00
Panagiotis
7e300dc080 Experimental Implementation of the ALi Aladdin IV
Popular chipset casually used on the PC Chips motherboards rebranded as TXPro. The implementation is extremely early with many bugs surrounding both machines it comes with.
2021-01-13 00:09:26 +02:00