Commit Graph

88 Commits

Author SHA1 Message Date
starfrost013
57ae731e22 Goodbye, 32-bit 2025-09-14 01:32:41 +01:00
OBattler
af0498569c All the changes. 2025-07-21 06:07:34 +02:00
OBattler
b3147ee473 LOCK instruction: ensure it is always illegal on opcodes 90h and ECh. 2025-05-18 02:20:18 +02:00
OBattler
b15f25ffa4 Fixed old recompiler compiling in a kludgy way because it appears there's no STORE_IMM_ADDR_W. 2025-04-22 09:46:58 +02:00
OBattler
8790395a05 Fix the FXSAVE/FXRSTOR instructions. 2025-04-22 09:13:38 +02:00
OBattler
576d643c4f And fix the op_32 stuff. 2025-04-07 06:29:57 +02:00
OBattler
6884dc5736 Old recompiler: Fix compile-breaking mistakes. 2025-04-07 06:23:22 +02:00
OBattler
3b5966eb46 LDS/LES/LFS/LGS/LSS: Fix segment wraparounds in 16-bit address mode. 2025-04-07 06:03:19 +02:00
OBattler
04247b3c25 Both recompilers: Temporarily disable recompilation of exactly four memory versions in 32-bit address move of opcode C6h (8-bit MOV immediate) because they currently break NT 3.x NTVDM, fixes #5038. 2025-04-01 06:36:16 +02:00
OBattler
79134f3b21 Assorted Cyrix (and Codegen opcode Mod R/M passing table) fixes - fixes Windows 98 SE on Cyrix 6x86's with power management enabled. 2025-03-17 03:40:52 +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
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
RichardG867
1e052e5dc0 Use plat_mmap on the dynarecs as well 2024-11-20 11:23:24 -03:00
OBattler
fb1a4677c6 More NetBSD fixes. 2024-11-20 01:42:32 +01:00
Jasmine Iwanek
f4b63caf0b One line per file in CmakeLists.txt 2024-09-04 18:34:06 -04:00
Jasmine Iwanek
059c6156df Break out the K5 timings 2024-08-12 20:02:18 -04:00
OBattler
2273f563a5 Moved the offending SoftFloat-related stuff to x87_sf.h, fixes warnings. 2024-06-10 00:08:48 +02:00
TC1995
0f29bcddf1 Upgrade to softfloat3e.
This should solve licensing problems as well.
2024-06-09 23:08:46 +02:00
OBattler
10c7ee2aef Fixed some warnings. 2024-03-09 11:38:18 +01:00
OBattler
8184d71aa6 Removing the remaining unnecessary files that should not have been committed. 2023-10-21 08:13:22 +02:00
OBattler
28e2eb3ce5 More Sound Blaster 16+ / ViBRA 16 fixes, added optional PC speaker control via the Sound Blaster 16+ / ViBRA 16, and removed some left-over temporary code from device.c. 2023-10-21 06:53:11 +02:00
Jasmine Iwanek
c4bb670901 More linting in src/codegen 2023-08-23 04:15:59 -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
3555dacec3 Disable MMX and 3DNow! recompilation when SoftFloat is in use. 2023-07-16 03:45:14 +02: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
d1127e68fa Even more sonarlint work 2023-06-04 23:39:14 -04:00
OBattler
a9cc8cf898 Made softfloat work on the dynamic recompiler (not yet enabled in the Settings dialog, needs MMX and FXSAVE/FXRSTOR for softfloat first). 2023-05-07 00:24:57 +02:00
OBattler
53cf62cdd1 The old recompiler now recompiles 16-bit address MMX instructions. 2023-05-03 00:40:22 +02:00
OBattler
6cd11f3fc4 Corrected the MMU function called in one recompiled instruction, fixes fatals when unpacking Windows 2000 updates. 2023-02-21 19:24:38 +01:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
537fbad564 More bits of missed formatting 2022-12-20 19:33:42 -05:00
Jasmine Iwanek
dd339ec191 more clang-formatting in codegen & codegen_new 2022-11-19 11:53:10 -05:00
Jasmine Iwanek
35fea100db clang-format markers 2022-11-19 11:53:09 -05:00
Jasmine Iwanek
9e77acf655 clang format in codegen & codegen_new 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
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
f49d3c7458 Correct many file headers to show 86box 2022-10-27 17:08:58 -04:00
OBattler
bff5026b8b One last attempt at a fix to my own GPF handler. 2022-10-27 04:10:16 +02:00
OBattler
4dc74515e8 Returned back to the PCem GPF handler. 2022-10-27 03:56:26 +02:00
OBattler
47604db6b1 Changed GPF handled on the 64-bit old recompiler. 2022-10-27 03:24:02 +02:00
OBattler
4d9b894fec Fixed a dynarec warning. 2022-10-25 18:59:08 +02:00
OBattler
96ec40d794 Reduced the size of the cycles accumulate code. 2022-10-17 04:13:19 +02:00
Alexander Babikov
c1d97fc72a Fix some more remaining warnings 2022-04-14 07:58:22 +05:00
Alexander Babikov
4e82d93729 Fix warnings related to variable types 2022-04-14 07:13:48 +05:00
Alexander Babikov
eba088c692 Remove trailing whitespace + indentation consistency fixes 2022-04-14 07:10:18 +05:00
Cacodemon345
c1f9d35de8 qt: Add support for Haiku
* OpenAL backend is enabled by default on Haiku
* bswap include now makes use of builtins if they exist
* Use a local fgetws method for Haiku to avoid crashes
* OpenGL renderers are completely disabled on Haiku (they do not work)
* Software renderer is a widget, not a window on Haiku (fixes blank screen)
* Add option to disable System MIDI at compile time
2022-03-11 12:13:08 +06:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Jasmine Iwanek
4287e44824 newlines at end of file 2022-02-18 21:38:51 -05:00