Commit Graph

130 Commits

Author SHA1 Message Date
RichardG867
841ac25297 3.5x multiplier on Socket 5/7 should always be equivalent to 1.5x 2021-04-17 16:25:11 -03:00
nerd73
53270408ce add another am486dxl thing 2021-04-15 23:59:09 -06:00
nerd73
791bae3560 Add the AMD Am486DXL and DXL2.
Has otherwise Intel-compatible SMM with an SMBase at 60000h.
2021-04-15 23:28:07 -06:00
nerd73
27ddd856df Remove some unnecessary parentheses 2021-04-15 21:42:02 -06:00
nerd73
8e3b09f323 Various 486 improvements
- Added SL-Enhanced versions of Intel 486 CPUs and Enhanced AMD Am486DX2/DX4 CPUs
- Cleaned up the 486 CPU types and updated intel_4x0.c to reflect this
- Fixed some incorrect EDX reset and CPUID values
- Blacklisted non-SMM capable 486 CPUs on the Soyo 4SA2 motherboard
- Merged the non-OverDrive and OverDrive Intel DX4s because of further research confirming them to be functionally identical
- Removed SMM support on early 486 CPUs
2021-04-15 21:38:03 -06:00
OBattler
9587a254bc Removed excess logging from cpu/cpu.c. 2021-04-11 07:30:01 +02:00
OBattler
8b6f9707d5 More CPU fixes, and SMM now implemented on Cyrix Cx486 and Cx5x86 CPU's as well as on Intel/AMI SX, DX, and SX2 CPU's. 2021-04-11 07:25:08 +02:00
OBattler
c370ae7e18 CPU and MMU cleanups and fixes, and non-Debug builds are now stripped again. 2021-04-10 07:18:47 +02:00
OBattler
1a643ab040 Reworked some memory and CPU parts to fix bugs, improve performance by getting rid of excess calls to mmutranslate(), and properly invalidate page bytes on page invalidation on new recompiler. 2021-03-24 19:52:44 +01:00
RichardG867
dfee1165ea Add custom ISA/PCI/AGP clock facility, and fix PIT clock calculation oversight for CPU clocks ending in (but not equal to) 33 and 66 MHz 2021-03-14 19:42:21 -03:00
Panagiotis
1136e2b715 Implemented the VIA EBGA 368 platform 2021-02-22 11:40:48 +02:00
qeeg
b9dfd082e1 Fixes to legitimate issues Sonarcloud caught in our code 2021-02-04 16:10:53 -06:00
RichardG867
b64ecbaa5a Fix CPU table issues 2020-12-18 16:16:04 -03:00
David Hrdlička
7e6df1f45c cpu: convert CPU type enum to sequential 2020-12-16 20:33:24 +01:00
RichardG867
963005a084 Improve CPU multiplier eligibility checks 2020-12-10 20:32:18 -03:00
Miran Grča
39043ffb9c Merge pull request #1110 from richardg867/master
I2C/SMBus overhaul
2020-11-25 23:14:32 +01:00
Panagiotis
1882dfa1c5 Disabled CPU logging 2020-11-24 23:45:11 +02:00
Panagiotis
55c620710c Injected a new AMI MSR
Injected an AMI MSR used by RC440BX and potentially other Intel AMI boards.
2020-11-24 23:44:27 +02:00
RichardG867
10212afee5 Add CPU table override config variable 2020-11-23 14:48:32 -03:00
RichardG867
98f09bf4ac Improve handling of fixed multipliers 2020-11-19 14:15:34 -03:00
RichardG867
71c55bdf24 Add Cyrix III fixed multiplier 2020-11-19 01:17:54 -03:00
RichardG867
27f9784fcd Add Mendocino fixed multiplier for Supermicro 370SLM 2020-11-19 01:15:20 -03:00
RichardG867
188df1cc85 Add more multipliers to the internal multiplier list 2020-11-19 01:09:00 -03:00
RichardG867
022d7ccc47 Account for the fixed multipliers in Pentium OverDrive 3.3V/MMX CPUs 2020-11-18 21:20:54 -03:00
RichardG867
fd08b2fdf1 Fix warnings 2020-11-18 19:59:51 -03:00
RichardG867
149322a06a Rewrite CPU table backwards compatibility system, and fix a crash in the speed clamping code 2020-11-18 19:56:22 -03:00
RichardG867
dbd767437b Programmatic CPU table 2020-11-18 01:09:17 -03:00
OBattler
32dfbdd082 Fixed some compile-breaking mistakes in the CPU code. 2020-11-16 00:06:33 +01: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
OBattler
70dd4ba3be Generic MO Device ID changes and implemented the VPCEXT instructions (on the Virtual PC 2007 VM only). 2020-07-25 05:14:06 +02:00
OBattler
b52e91f031 Fixed the FPU stuff and added the ability to select the 487SX. 2020-07-22 16:39:57 +02:00
OBattler
0b4b2b4d2f A number of recompiler fixes and put some of the timer/cycle-related changes behind #ifdef's as they are no longer used but someone may want to still try them out. 2020-07-15 18:30:27 +02:00
OBattler
0cd0d83cee Both recompilers now check for interrupt after every instruction and exit the block if one has happened. 2020-07-13 01:23:40 +02:00
OBattler
974a7ae4f1 Fixed cycles accumulation in update_tsc() when cache is enabled (and the actual recompiler kicks in), and also fixed a warning in the 82091AA code. 2020-07-12 20:01:16 +02:00
nerd73
18368203ec Fix issues with Cyrix DX2/DX4 CPUs
Fix some issues with the Cyrix DX2 & DX4 CPUs and restore the Cyrix 6x86 for dev-branch builds.
2020-07-06 13:01:52 -06:00
nerd73
064acae3fc Fix MSRs on the IBM 386/486 CPUs
Also give the IBM 386SLC 'isibm486' as it is believed to identify as a 486 to software.
2020-07-02 20:34:18 -06:00
nerd73
a9e0dd247a Implement IBM 486 MSRs
Implement the MSRs supported by the IBM 386SLC/486SLC/486BL.
2020-07-02 10:09:55 -06: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
af06ba62c0 Hooked up the new FPU type selection to the UI. 2020-06-15 21:21:26 +02:00
OBattler
6d888cf869 Merge pull request #809 from nerd73/master
Preliminary port of PCem's FPU timing emulation
2020-06-15 17:12:08 +02:00
OBattler
6c6cae0965 Fixed a number of bug sin various modules, VS440FX mostly works now (one bug on soft reset is missing which is left to be debugged). 2020-06-15 17:08:42 +02:00
nerd73
a4d33513e4 Preliminary port of PCem's FPU timing emulation 2020-06-15 04:11:12 -06:00
tiseno100
a7cdbc50c0 Disable CPU logging 2020-06-15 11:38:00 +03:00
tiseno100
47290280b1 Implemented the Intel 440FX boards and the Poisk 2
Prior to the PC87307 addition, the Intel 440FX boards can finally be added
2020-06-15 11:37:24 +03:00
OBattler
ca55e2a12a More reorganization and finally merged the two makefiles. 2020-06-13 12:32:09 +02:00
OBattler
60ba71cb4b Renamed the three CPU folders to their final names. 2020-06-13 10:54:05 +02:00
OBattler
490c04fcae Current WIP code. 2020-02-29 19:12:23 +01:00
OBattler
6678ac1c83 Fixed an undeclared variable. 2020-01-17 04:00:46 +01:00
OBattler
2b890e290c Removed K6_2 stuff from cpu/cpu.c. 2020-01-17 03:56:05 +01:00
OBattler
ebf0d1ef3a Fixed MSR's on AMD CPU's - the VIA machine now works without issues with the high-speed AMD CPU's. 2020-01-16 20:49:58 +01:00