Commit Graph

16 Commits

Author SHA1 Message Date
OBattler
a0b80e04cd Remove the unused mmu_perm stuff. 2025-05-06 03:18:46 +02:00
OBattler
e71c30ce84 MMU: Fix behavior of 64-bit memory reads (used by FPU and MMX), should no longer waste host cycles on extra unnecessary MMU translations and should also no longer MMU translate already translated addresses which was causing unpredictable results. 2025-03-25 04:03:21 +01:00
OBattler
250f477200 MMU: No longer page fault on CPU-initiated writes to write-protected pages (eg. when setting segment accessed bit), fixes OpenBSD 7.0, fixes #1853. 2024-09-29 13:23:43 +02:00
OBattler
fb3b46f648 Unbroke SCO Xenix on the 286/386 interpreter, this will do until the prefetch queue is finally implemented. 2024-08-29 01:57:22 +02:00
OBattler
2ab99dda0b Made LOCK instruction legality more accurate on 386, closes #4132. 2024-02-10 03:05:56 +01:00
OBattler
5a3d74d64f 286/386 interpreter fixes - the correct opcode arrays are now used and fixed the debug registers. 2024-02-09 12:14:35 +01:00
OBattler
f2971a132f Disable the debug registers on 486+. 2024-01-14 21:47:52 +01:00
Cacodemon345
ea5729c802 Revert "Add more missing memory checking"
This reverts commit 2eb39a8c5c.

Likely unneeded
2024-01-15 02:07:13 +06:00
Cacodemon345
2eb39a8c5c Add more missing memory checking 2024-01-15 01:19:21 +06:00
Cacodemon345
f4f252c0b7 Implement x86 debug registers 2024-01-14 15:26:40 +06:00
OBattler
fc8edd47fa Did the same in mem/mmu_2386.c. 2023-10-07 22:55:44 +02:00
Jasmine Iwanek
ef41b7c3bf More linting in src/mem 2023-08-22 23:54:07 -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
bf38c4adef More UI work, added Slovak and Catalan translations, and fixed mmutranslate on the 286/386, fixes #3587, #3591. 2023-08-17 02:46:37 +02:00
OBattler
e781d4905e 286/386 interpreter fixes. 2023-08-15 22:11:32 +02: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