Commit Graph

20 Commits

Author SHA1 Message Date
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
Panagiotis
8b7d643452 Sanitize some old chipset code (Part 3)
Fixed the Indentation of the Intel 82335, removed useless includes and numerous bugfixes on the OPTi Python.
2021-02-13 12:31:04 +02:00
Panagiotis
9ed2456ebb Minor changes on the ALi's & few other chipsets. 2021-01-13 16:13:07 +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
Panagiotis
bd83fe26fe Implemented Intel 82235 memory remapping capabilities 2020-10-19 10:45:50 +03:00
tiseno100
280e69fb0c Revert changes. Keep the humane methods of initialization on the Intel 82335.
The issue with the ADI was caused by the incorrect lock status on early initialization.
2020-09-16 17:59:33 +03:00
tiseno100
8464883e22 Brute set configuration on the Intel 82335
Fixes the ADI 386SX freezing while booting an OS when shadowing is on.
2020-09-16 17:52:09 +03:00
tiseno100
e5de57cffb Removed Port 92h off the Intel 82335
The chipset doesn't seem to use it.
2020-09-14 13:24:34 +03:00
tiseno100
a364b10a51 Disabled logging once again -_- 2020-09-14 13:20:19 +03:00
tiseno100
270b585854 Fixed some shadow issues on the Intel 82335
The lock register determines also if Shadowing is RW or RO.
2020-09-14 13:18:29 +03:00
tiseno100
1dd64678f7 Cap definition names 2020-09-13 16:23:09 +03:00
tiseno100
07cd6e0994 A tiny change on the commentary 2020-09-12 15:02:52 +03:00
tiseno100
5f3c976fbe Some final touches on the Intel 82335
Most I could potentially implement are now complete
- Added some commentary
- switched some complex algorithms into definitions for the sake of the code being clean
- Implemented the ROM size determination register just for some Shadow RAM sanity
2020-09-12 15:01:20 +03:00
tiseno100
00c70a83b7 Added the Base Memory set register on the Intel 82335
Enables/Disables the top 128KB of base system memory.
2020-09-11 13:19:02 +03:00
tiseno100
f582d4b432 Disabled logging again 2020-09-11 00:08:57 +03:00
tiseno100
2e7781505a Added more 82335 parts
Registers are treated with an array instead of separate values.
Minor Shadowing changes and also implemented the chipset lock mechanism fixing the ADI soft reset issue properly.
2020-09-10 23:56:51 +03:00
tiseno100
54c569e5be System ROM shadowing doesn't depend from the selected register. It actually depends on the Video RAM
Also seems like the System ROM is RO. RW causes it to hang
2020-09-10 19:55:11 +03:00
tiseno100
7a075e35e3 Disable logging 2020-09-10 19:50:53 +03:00
tiseno100
b36f3be457 Fixed soft reset failures of the ADI 386SX 2020-09-10 19:48:18 +03:00
tiseno100
0e24c8883d Full Intel 82335 rewrite
Fixes black screen when you shadow video RAM. More checks may be required to get MR 82335 to work properly.
2020-09-10 15:48:43 +03:00