OBattler
dd4e493f64
Applied the fix to the optional 486 implementation as well.
2025-03-17 00:07:41 +01:00
Cacodemon345
6bb2b447fd
Revert "x87: Fix Final Reality discolored screen for all dynarecs"
...
This reverts commit 03dd94f361 .
2025-02-28 16:51:33 +06:00
Cacodemon345
0bb89be0ad
Revert "Fix compile on ARM64"
...
This reverts commit c7153916eb .
2025-02-28 16:51:13 +06:00
Cacodemon345
c7153916eb
Fix compile on ARM64
2025-02-27 14:40:54 +06:00
Cacodemon345
03dd94f361
x87: Fix Final Reality discolored screen for all dynarecs
2025-02-27 13:50:45 +06:00
Jasmine Iwanek
5f273265ae
Assorted warning fixes
2025-02-02 03:24:50 -05:00
OBattler
40fd79aeb9
FPU: Properly implement INT 10h FPU exception, fixes #5162 .
2025-01-19 09:06:39 +01:00
OBattler
a94a5bb0b5
Improved the Linux new dynamic recompiler freeze workaround per patch by Dax.
2025-01-16 05:48:37 +01:00
OBattler
fbafb7507b
Dynamic recompiler: Only disable inline if not on Windows or MacOS.
2025-01-16 01:14:23 +01:00
greblosdier
2f5940fee3
Update 386_dynarec.c
...
Changed exec386_dynarec_dyn from inline to noinline to resolve NEW_DYNAREC build issue on Linux x86_64.
2025-01-15 12:57:51 -08:00
OBattler
f19a5447be
Improved the SCO Xenix fix, fixes OS/2 booting, fixes #4762 .
2024-08-29 01:26:32 +02:00
OBattler
7c7cc921ee
Non-808x interpreters: fetch the next instruction after a CR0 paging bit toggle with the old CR0 paging bit value, fixes SCO Unix.
2024-08-27 02:34:59 +02:00
OBattler
a369bc2d05
Reimplement S3 ViRGE reset and move PCI TRC CPU reset to outside the recompiled block, fixes #2903 .
2024-06-12 20:46:27 +02:00
OBattler
969830ad83
New recompiler: Add a sanity check, fixes crash with RapidCAD, fixes #4487 .
2024-06-12 01:58:44 +02:00
OBattler
2273f563a5
Moved the offending SoftFloat-related stuff to x87_sf.h, fixes warnings.
2024-06-10 00:08:48 +02:00
Alexander Babikov
a07ffdecab
Restore the debug register operation on 486+
...
But put it behind a compile-time option due to performance hits
Also add the DE flag to CPUID on supported CPUs
2024-05-24 03:35:08 +05: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
Cacodemon345
a13a8efb39
Implement TSS debug trap bit
2024-01-14 04:04:04 +06:00
Jasmine Iwanek
f6a5229a98
Future support for higher clocked CPU's
2023-10-13 17:55:18 -04:00
OBattler
1d48363803
The 286/386 interpreter now has its own variant of x86seg.c.
2023-08-21 02:56:33 +02:00
OBattler
6c4a4be6be
Timer clean-ups.
2023-08-19 05:26:49 +02:00
Jasmine Iwanek
5cd18f3fbb
Clang-formatting in src/cpu
2023-08-11 19:11:37 -04:00
Jasmine Iwanek
be79ea78c7
sonarlinting and formatting in src/cpu
2023-08-11 19:11:32 -04:00
cold-brewed
3795016a82
Clean up some clang warnings on macOS
2023-08-09 07:37:45 -04:00
OBattler
b1c5cbaf47
Split the 286/386 interpreter away from the 486+ one (the 286/386 interpreter does not use the pccache's, readlookup's, and writelookup's as the emulated CPU's are too slow for them to be required, and also has more accurate FPU timings), also added a LPT status read function for future-proofing.
2023-08-08 19:39:52 +02:00
Jasmine Iwanek
922c4335ae
Next round of sonarlint cleanups
2023-06-27 21:17:13 -04:00
OBattler
c76e8ff06c
Replaced the codegen_ops_NULL table references with NULL pointers, as it has the same effect without requiring an extra table of opcodes, also made the new recompiler clear codegen_flags_changed after every interpreted instruction to prevent conditional jumps from occasionally taking the wrong turn (fixes CL-GD 54x6 driver glitches in 24bpp mode on Windows 98 SE), and added instruction length heuristics on fetching the instruction, fixes Jane's US Navy Fighters.
2023-06-09 14:55:13 +02:00
Jasmine Iwanek
83b220cb03
clang format in cpu
2022-11-19 11:53:09 -05:00
OBattler
27ebb27db7
Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness.
2022-11-17 22:44:06 +01:00
OBattler
535b19a027
Do not raise CPU trap if an exception has occurred, fixes #2577 .
2022-10-28 04:12:31 +02:00
Cacodemon345
c743d36028
386: Set BS flag in DR6 other interpreter as well
2022-08-04 18:04:40 +06:00
OBattler
da5d451386
Preparation for SMI# and NMI# changes.
2022-07-16 02:45:46 +02:00
OBattler
1f144f1885
Fixed some #define's, as pointed out by lemondrops.
2022-04-13 02:47:37 +02:00
OBattler
3a40d9a807
Phase 1.
2022-04-13 02:03:48 +02:00
RichardG867
f57cbe36b1
GDB Stub: More progress
2022-03-16 00:33:01 -03:00
Jasmine Iwanek
4674756664
More newline and whitespace cleanups
2022-02-20 16:26:40 -05:00
OBattler
b3a8d0aaed
And more.
2022-02-02 02:51:18 +01:00
OBattler
25e8801ede
And more.
2022-02-02 02:46:11 +01:00
OBattler
b92d45125e
Temporarily reverted that FPU clock cycles change.
2022-02-01 19:07:22 +01:00
linear cannon
04c89959f8
adjust CLOCK_CYCLES and related macros to handle fpu/iu concurrency
...
add CLOCK_CYCLES_FPU, which does exactly what CLOCK_CYCLES already did.
add CONCURRENCY_CYCLES, which sets fpu_cycles, which is the number of
available concurrent execution cycles that the integer unit can do
"free" work in while the fpu is executing.
adjust CLOCK_CYCLES so that if there are fpu_cycles, the cycle count is
subtracted from fpu_cycles instead of cycles, emulating the behavior of
these concurrent cycles being "free" as on real hardware.
2022-01-29 07:38:41 -08:00
OBattler
bc90f99350
Finally got rid of the AT and PCI global variables.
2021-12-19 20:00:27 +01:00
OBattler
4bf3c88a26
Reverted the peformance "improving" CPU change.
2021-09-05 23:59:52 +02:00
OBattler
ead818c5bd
Disabled 286/386 prefetch queue timings emulation on 486+, improves performance.
2021-09-05 23:20:58 +02:00
OBattler
85a9aa4904
Merge branch 'master' of https://github.com/86Box/86Box
2021-09-03 19:24:01 +02:00
OBattler
136c136608
Ported some more Apple-related fixes from PCem.
2021-09-03 19:23:50 +02:00
Daniel Gurney
bd1117a13f
Add missing include for arm64 macOS
2021-09-03 19:58:08 +03:00
OBattler
586066d891
Made NMI's always auto-clear, will revert if it makes things worse.
2021-09-02 15:24:17 +02:00
OBattler
ddc7c5b78a
Reorganized some CPU structures a bit and fixed inappropriate behavior of some mem.c functions on 64-bit binaries (and made mem.c aware of ARM64 as well), fixes both 64-bit recompilers, closes #1215 .
2021-08-27 13:31:47 +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
b83a32ccf8
Improved STI fix.
2020-11-21 04:02:58 +01:00