Commit Graph

739 Commits

Author SHA1 Message Date
Alexander Babikov
a1540eee92 Remove the machine check CPUID flag from the P24T 2024-02-07 12:31:35 +05:00
Alexander Babikov
032a161c4a Implement IDT/VIA FCR2 CPUID family/model spoofing 2024-02-07 12:31:34 +05:00
Alexander Babikov
2da7b196ac Rename unnamed MSR vars to real names where known 2024-02-07 12:31:34 +05:00
OBattler
ecd90616f1 Removed an unnecessary CPU operations table. 2024-02-06 19:51:02 +01:00
OBattler
cbf1749a25 Fixed the reported CPU inacuracies, closes #4121. 2024-02-06 19:50:21 +01:00
Alexander Babikov
68a73dffe0 Give the Compaq Deskpro 386 its own set of CPUs
Both BIOSes can now take a 16, 20 or 25 MHz 386DX,
with the 16 MHz one paired with a 287 FPU.

Also remove unused CPU packages from the enum
2024-02-05 03:22:54 +05:00
Alexander Babikov
795e1bce23 Change CR0 bit 4 behavior:
Now it's always hardcoded to 1, unless the CPU
is 386DX with no or 287 FPU
2024-02-05 03:22:52 +05:00
Alexander Babikov
d7e125c16e Migrate configs for the Gigabyte Socket 4/5 machines (#4111)
* Bring back machine migration

And add migration for the Gigabyte Socket 4 and 5 machines

* Fix the GA-586IS's internal name

* Remove legacy CPU tables for very old builds

Since backward compatibility with pre-build 2654 configs has been
removed, remove forward compatibility with these builds as well
2024-02-03 16:08:18 -03:00
OBattler
91494bab97 808x: Fix the flags at the end of the ADC and SBB instructions, fixes #4103. 2024-02-03 04:33:42 +01:00
OBattler
3ceda105ef ALi M6117 CPU fixes. 2024-02-02 05:31:33 +01:00
OBattler
0a5d25fdde Memory: Disable _mem_exec in phys() accesses when not using the 486+ interpreter or dynamic recompiler, and write protect support in preparation for the WD76C10 rewrite. 2024-02-02 05:25:40 +01:00
OBattler
cd03b6a31c Packard Bell machines: PS/2 mouse commands now suspend dynamic recompilation until the response byte is read, fixes #552. 2024-01-25 21:47:15 +01:00
OBattler
9107c2fa25 Added the AOpen AP61 and fixed floppies on the LG IBM 440 FX. 2024-01-24 04:56:31 +01:00
OBattler
bd2ef6855a A CPU change in preparation for the AOpen AP61. 2024-01-21 20:21:52 +01:00
OBattler
2cbfc8e047 808x: Clear prefetch queue on soft reset, fixes the CTRL+ALT+DEL hang on Amstrad 808x machines, fixes #408. 2024-01-15 04:32:52 +01:00
OBattler
f2971a132f Disable the debug registers on 486+. 2024-01-14 21:47:52 +01:00
Cacodemon345
d8330a0c46 No need to translate EIP 2024-01-15 02:14:00 +06:00
Cacodemon345
a7be107e9b Fix address compare 2024-01-15 01:22:50 +06:00
Cacodemon345
911deeab1a Fix single-step trap flag setting 2024-01-15 01:09:52 +06:00
Cacodemon345
8c6fc11bb2 Fix TSS trap-bit handling 2024-01-15 00:05:48 +06:00
Cacodemon345
128a2f2b5d And finally exec386 2024-01-14 21:21:02 +06:00
Cacodemon345
b884ef825c And 386.c 2024-01-14 20:58:29 +06:00
Cacodemon345
55f03f63e5 More oversight fixing 2024-01-14 20:12:53 +06:00
Cacodemon345
3cf747d93e Forgot taskswitch DR7 clearing 2024-01-14 15:34:36 +06:00
Cacodemon345
f4f252c0b7 Implement x86 debug registers 2024-01-14 15:26:40 +06:00
Cacodemon345
a13a8efb39 Implement TSS debug trap bit 2024-01-14 04:04:04 +06:00
OBattler
937e2a52f8 SiS 5571, Daewoo Compaq, speed up AT / PS/2 KBC (does not appear to break anything from months of testing) and fix AT / PS/2 keyboard reset to fix the Samsung SPC7700LP-W soft reset. 2024-01-06 01:51:20 +01:00
OBattler
8e985de5d2 Merge remote-tracking branch 'origin/master' into version/4.1 2023-11-11 15:47:04 +01:00
RichardG867
61ec3213c6 Merge branch 'master' of ssh://github.com/86Box/86Box into version/4.1 2023-11-07 21:28:51 -03:00
Joakim L. Gilje
a436c12de3 pmodeiret(): move the second cpl_override after read_descriptor() because the flag is reset by the function 2023-11-07 20:45:45 +01:00
Joakim L. Gilje
fad290df77 add cpl_override in pmodeiret() when cpu_state.flags has NT_FLAG 2023-11-07 12:39:42 +01:00
OBattler
6d2e5185ae Reverted back to known-good 808x code from 3.11.4311, fixes PC/XT V20 (the full 808x rewrite based on MartyPC is still coming in 4.1). 2023-11-06 23:21:58 +01:00
OBattler
7dd13b704c Fixed a compile-breaking mistake in cpu/cpu.c. 2023-11-06 06:51:44 +01:00
Alexander Babikov
8b741d511e Add Page Global Enable feature (toggleable by an MSR) to the Cyrix III 2023-11-06 10:27:27 +05:00
Alexander Babikov
b0b857a50e Don't set Centaur/VIA Feature Control Register MSR on CPUs that lack it 2023-11-06 10:27:24 +05:00
OBattler
09d2f7517c Some CPU fixes. 2023-11-06 06:07:43 +01:00
Alexander Babikov
8f4fe2f9e2 Reorder and reformat comments 2023-11-05 07:20:35 +05:00
Alexander Babikov
33b6166896 Fix the Pentium Pro L1 cache amount 2023-11-05 07:08:33 +05:00
OBattler
2d653b8bd3 Merge remote-tracking branch 'origin/master' into version/4.1 2023-11-04 07:15:11 +01:00
Alexander Babikov
73714e8130 Report correct cache info in CPUID on P6-family CPUs 2023-11-04 10:54:51 +05:00
Jasmine Iwanek
410e6a8347 Named-initializers for 80286 CPU's 2023-11-03 22:24:44 -04:00
Jasmine Iwanek
2c7175bb66 Named-initializers for NEC V30 CPU's 2023-11-03 22:24:44 -04:00
Jasmine Iwanek
ba44d3cbac Named-initializers for 80186 CPU's 2023-11-03 22:24:43 -04:00
Jasmine Iwanek
cf6af5128b Named-initializers for NEC V20 CPU's 2023-11-03 22:24:43 -04:00
Jasmine Iwanek
eb3d3804aa Named-initializers for 80188 CPU's 2023-11-03 22:24:43 -04:00
Jasmine Iwanek
bc4f006e59 Named-initializers for 8086 CPU's 2023-11-03 22:24:43 -04:00
Jasmine Iwanek
f6e6e2cda9 Named-initializers for 8088 CPU's 2023-11-03 22:24:43 -04:00
Jasmine Iwanek
859e74b301 Named-initializers for FPU's 2023-11-03 22:24:42 -04:00
linear cannon
1e156b96b1 add machine Hyundai Super 286C 2023-10-31 01:58:27 -04:00
OBattler
8184d71aa6 Removing the remaining unnecessary files that should not have been committed. 2023-10-21 08:13:22 +02:00