Commit Graph

4999 Commits

Author SHA1 Message Date
Chenhoyog
83e550b122
[DYNAREC] Fixed 66 C1 /5 SHR opcode. (#946)
Co-authored-by: Haoyang Chen <chenhaoyang@kylinos.cn>
2024-03-21 04:12:55 +01:00
ptitSeb
b5f2b9c936 Added F0 FE /0 /1 opcodes ([DYNAREC] too) (for #944) 2024-03-14 10:09:02 +01:00
xctan
82f610faee
[WRAPPER] Fixed a typo in the signature of my___libc_start_main (#941) 2024-03-04 15:38:49 +01:00
ptitSeb
ec77755952 [STEAM] Removed the -cef-disable-gpu workaround, it's not needed anymore 2024-03-02 17:42:32 +01:00
ptitSeb
14c9cb148d Add -cef-disable-gpu to steam installer, as it's needed on many config now 2024-03-01 18:52:14 +01:00
ptitSeb
f48aeaac60 This helps linux steam too 2024-02-28 11:22:42 +01:00
ptitSeb
74eb4ed9d5 Added CA opcode 2024-02-25 14:34:27 +01:00
ptitSeb
68503a37cf Try to detect steam wine and enforce parameter for an easier to emulate version 2024-02-25 12:13:34 +01:00
ptitSeb
49e6609182 Updated generated files 2024-02-25 12:13:04 +01:00
ptitSeb
966bb72e9e Added some hack to rename wine binary process too (help mesa pick up the correct binary being run) 2024-02-24 14:15:00 +01:00
ValdikSS
14b978a568
Add forgotten GOM definition for _dl_find_object wrapper in libdl (#938) 2024-02-21 15:02:42 +01:00
ptitSeb
8378f9b307 Added 0F 01 E0..E7 opcodes ([DYNAREC] too) 2024-02-10 13:13:35 +01:00
ptitSeb
9dc0f8243a [DYNAREC] DD /6 opcode also reset FPU 2024-02-07 10:20:12 +01:00
ValdikSS
eaeacc6706
Update getopts @GLIBC_2.0 variables (optarg, ...) (#933) 2024-02-02 10:21:57 +01:00
leonpano2006
031dba2904
again quick fix(i alreadey made meny mistakes) (#932)
* Fix for xavier and orin no ARM_DYNAREC

* fix arm64 error

* Update CMakeLists.txt
2024-01-26 22:23:43 +01:00
leonpano2006
f8229ea561
fix if(_aarch64 for TEGRA_194 and TEGRA_234 (#931)
* Fix for xavier and orin no ARM_DYNAREC

* fix arm64 error
2024-01-26 21:08:53 +01:00
ptitSeb
e5bfe84394 Improved 0F 01 opcode handling ([DYNAREC] too) 2024-01-26 15:22:08 +01:00
ptitSeb
5e926a266f Merge branch 'master' of https://github.com/ptitSeb/box86 2024-01-26 15:21:17 +01:00
ptitSeb
29e97a88a2 Improved 0F 01 opcode handling ([DYNAREC] too) 2024-01-26 15:21:09 +01:00
leonpano2006
a94e8ed659
Fix for xavier and orin no ARM_DYNAREC (#930) 2024-01-26 11:23:06 +01:00
KreitinnSoftware
b013c86338
[CI] Update NDK to 25b for Android Builds (#929) 2024-01-26 08:21:40 +01:00
leonpano2006
29926438a8
Added build flags for Jetson Orin and xavier (#928)
* Update CMakeLists.txt

* Update CMakeLists.txt
2024-01-26 08:21:20 +01:00
ptitSeb
87097f437b [DYNAREC] Added 66 0F 38 40 opcode 2024-01-25 13:51:12 +01:00
ptitSeb
35f266ea94 [DYNAREC] Added 66 0F 3A 0E opcode 2024-01-25 13:35:58 +01:00
ptitSeb
88fd555ef0 [DYNAREC] Added 66 0F 38 2B opcode 2024-01-25 11:09:03 +01:00
ptitSeb
107d792ab1 [DYNAREC] Added 66 0F 38 38/39/3B/3C/3D/3E/3F opcodes 2024-01-25 10:34:59 +01:00
ptitSeb
30f364f166 [DYNAREC] Added 66 0F 38 3A opcode 2024-01-25 10:29:36 +01:00
ValdikSS
e259ffcf66
More wrappers (#926)
* Add XML_SetDoctypeDeclHandler wrapper for expat library

* More wrappers for fontconfig and freetype:

* FT_Get_MM_WeightVector
* FT_Set_MM_WeightVector
* FT_Get_CMap_Format
* FcInitLoadConfigAndFonts
* FcConfigDestroy

* More wrappers for libpng16:

* png_get_mem_ptr
* png_set_invert_mono
* png_set_invert_alpha
2024-01-22 08:17:23 +01:00
ValdikSS
027605e4d5
Wrap png_set_flush for libpng16 (#925) 2024-01-21 22:19:02 +01:00
ptitSeb
2c58b45d8e [ELFLOADER] Zero'd memory when using mmap and filesize smaller than memsize 2024-01-21 12:20:30 +01:00
ptitSeb
159351fc3c [TRACE] Improved trace for __libc_start_main init handling 2024-01-21 12:19:09 +01:00
ptitSeb
d4cf4ee521 [ARM] Improved some of the lock operation (seems to helps Anomaly linux version) 2024-01-21 11:37:13 +01:00
ptitSeb
7d90fff7cd Reworked exit, unloading libs and running Fini as it should (plus a workaround for hanging exit, might help Anomaly series gmaes linux version) 2024-01-21 11:32:42 +01:00
ptitSeb
68dcf9d0bf Reworked wrapping of callback in X11 Va args (backported from box64) 2024-01-21 11:02:31 +01:00
ptitSeb
d89c10415a [ELFLOADER] Call elf init if libc_start_main init is NULL (backported from box64) (for #924) 2024-01-21 10:47:35 +01:00
ptitSeb
99310cc9c6 Change memory tracking to use rbtree (backported from box64) 2024-01-21 10:26:10 +01:00
ptitSeb
57d126cddc [DYNAREC] Test when changing page on building a dynablock if it's safe (backported from box64) 2024-01-21 10:02:33 +01:00
ptitSeb
2b35400dc5 [RCFILE] Updated steam profile with disabled cllret (for #920, maybe #915 too) 2024-01-17 16:07:25 +01:00
ptitSeb
d1d899babd [INTERPRETER] Fixed VM Detection (TF trick) for interpreter 2024-01-15 17:49:33 +01:00
ptitSeb
fe112fece8 [ELFLOADER] Fixed some issue with COPY/GLOB_DAT relocations 2024-01-15 13:33:42 +01:00
airidosas252
74a338df94
box86rc: additional compatibility flags for games (#921)
Since these games are very very finnicky when it comes to running on box86, they need quite a few additional env variables to fix, but with them, these games perform and run just fine.

- STRONGMEM is crucial since otherwise the game will crash right after it launches, unless you force only one thread for it.
- FASTNAN fixes broken audio, otherwise the game has half broken audio.
- X87DOUBLE is only specific to Mass Effect, because otherwise the game crashes when it starts loading up data.
- FORWARD wouldn't be needed if you had box86 compiled before december. I guess it's some sorta regression that gotten introduced with dynarec optimizations. (I bisected the exact commit which break these games. Posted on Termux Discord)

Otherwise, with these exact flags the games are completely playable, albeit a bit stuttery.
2024-01-14 20:24:35 +01:00
mocsy
f2496984d5
Update COMPILE.md (#917)
apt install neon-support
2024-01-11 19:04:22 +01:00
ptitSeb
3ebcc84d52 [VULKAN] Added VK_KHR_maintenance5 extension 2024-01-11 10:38:51 +01:00
ptitSeb
c878264ede Rollback that small global hack, it can breaks getopts use 2024-01-06 10:31:44 +01:00
ptitSeb
fbf3e1b1cc [PANDORA] Don't use lscpu that doesn't exist there 2024-01-04 18:44:49 +01:00
ptitSeb
e23d2167b4 [DYNAREC] Try to reduce penalty when there is multiple stack miss on CALLRET=1 2024-01-04 18:30:20 +01:00
ptitSeb
3d485c6159 [RCFILE] Added some callret to a few profiles 2024-01-04 15:31:03 +01:00
ptitSeb
9af5916104 [DYNAREC] Added support for BOX86_DYNAREC_CALLRET env. var. (back ported from box64) 2024-01-04 14:56:10 +01:00
ptitSeb
80e93dcee4 [DYNAREC] Added Faked 0F 01 opcode to help build bigger dynablocks 2024-01-04 14:52:49 +01:00
ptitSeb
90f21fb710 [DYNAREC] Fixed 16bits math opcodes (fixed ZSnes, maybe some other) 2024-01-03 15:54:10 +01:00