Commit Graph

5041 Commits

Author SHA1 Message Date
ptitSeb
dcc0355113 Fixed some issue on tracking when protecting memory with PROT=0 2024-07-13 10:07:51 +02:00
ptitSeb
666b5a6ce6 Fixed a nasty bug on memory permission tracking 2024-07-11 12:16:16 +02:00
ptitSeb
fcbebfa8c8 [RCFILE] Added 1 new profile 2024-07-05 10:04:32 +02:00
ptitSeb
9354744f68 [DOCS] Change organisation of COMPILE.md 2024-07-03 09:56:52 +02:00
ptitSeb
fc0b51f3b8 Added a few more wrapped function (for steam) 2024-06-19 21:15:36 +02:00
theofficialgman
cd88702516
switch to maintained Pi-Apps-Coders apt repo (#971) 2024-06-19 18:40:26 +02:00
MichaIng
223fa8ea17
Update ODROID-XU4 target (#970)
The ODROID target was meant for the ODROID-XU4, hence it is renamed accordingly, to better indicate that.

Furthermore, gcc 4.9 added support for `-mcpu=cortex-a15.cortex-a7` to optimise support for this ARM big.LITTLE chip: https://www.gnu.org/software/gcc/gcc-4.9/changes.html#arm
`-mcpu=cortex-a9` was used as compatible option, while the Samsung Exynos 5422 SoC of the ODROID-XU4 actually has 4x Cortex-A15 and 4x Cortex-A7 CPUs: https://wiki.odroid.com/odroid-xu4/odroid-xu4

Signed-off-by: MichaIng <micha@dietpi.com>
2024-06-17 22:56:11 +02:00
Krzysztof Aleksander Pyrkosz
d3d971d449
Wrapped a handful of time64 functions (#969)
Co-authored-by: Krzysztof Aleksander Pyrkosz <you@example.com>
2024-06-15 22:59:26 +02:00
Kaze
2e589f42fe
Update install_steam.sh (#963)
Fixes :
$@ was not escaped so it was not included in the steam launch script.

Added libibus-1.0-5 package that is required by newer versions of steam.
I didn't had to specify armhf on Pi 5 so I don't know if it's required for other platforms?
2024-05-23 19:50:52 +02:00
ptitSeb
96a34a2a40 Fixed a typo in x87 stack restauration 2024-05-22 23:48:08 +02:00
ptitSeb
69f0c979d4 More x87 fixes ([DYNAREC] too) 2024-05-22 23:34:47 +02:00
ptitSeb
ff702c0318 [DYNAREC] Fixed a regression with the improved emit_pf helper 2024-05-22 21:58:50 +02:00
ptitSeb
968fc3fcfe [DYNAREC] Fixes to Cosim and to some x87 utility functions 2024-05-22 20:25:59 +02:00
ptitSeb
4abaa3d835 [DYNAREC] Simplified emit_pf helper 2024-05-22 11:08:24 +02:00
ptitSeb
121c67655b Start of a new dev. cycle 2024-05-22 10:38:48 +02:00
ptitSeb
9f8b96b749 Bumped version to v0.3.6 2024-05-21 17:31:57 +02:00
ptitSeb
a9c50ef238 [DYNAREC] More fixes to CALLRET=1 2024-05-19 23:22:19 +02:00
ptitSeb
984da28f40 [DYNAREC] Handling of memfd_create backed mmap on dynarec (backported from box64) 2024-05-19 19:13:40 +02:00
ptitSeb
a8babcba8d [DYNAREC] More fixes on dynarec and bigblock backported from box64 2024-05-19 18:53:48 +02:00
ptitSeb
13c7029de5 Added some virtual files (if missing) to allow wine to compute cachesize and coherency (backported from box64) 2024-05-19 18:50:33 +02:00
ptitSeb
148722dac4 [DYNAREC] Re-introduce a simple HotPage handling, to speedup heavily obfuscated program loading (backported from box64) 2024-05-19 18:39:38 +02:00
ptitSeb
dd5bba2aac Allocate Dynarec memory by 2Mb batch, and advise for hugepage if available 2024-05-19 18:07:21 +02:00
ptitSeb
b044c19329 [DYNAREC] Small change on flags to 66 0F 63 opcode 2024-05-19 18:02:18 +02:00
ptitSeb
fb1dbb3821 Some fixes to PCMP[E/I]STRM opcodes 2024-05-19 17:57:35 +02:00
ptitSeb
4f21d83e62 [DYNAREC] Some more x87 handling improvments backported from box64 2024-05-19 17:56:59 +02:00
ptitSeb
b145080d37 [DYNAREC] Fixed CALLRET and backported many BIBLOCK improvments from box64 2024-05-19 17:22:58 +02:00
ptitSeb
0829c14a73 Backported new FFREE and x87 tags handling from box64 ([DYNAREC] too) 2024-05-19 14:39:01 +02:00
ptitSeb
4141748f9a [DYNAREC] Fixed previous commit 2024-05-19 14:15:30 +02:00
ptitSeb
25e1d8bae8 [DYNAREC] Backported some Flags optimisation fixes from box64 2024-05-19 09:29:30 +02:00
ptitSeb
79e622a839 Setup stack nicely for pthread_once (might help wine) 2024-05-17 10:02:26 +02:00
ptitSeb
932045054f Removed the export WINEFSYNC=0 at start, use BOX86_FUTEX_WAITV=0 to disable instead 2024-05-14 16:15:55 +02:00
shenmo
f5f1e1413d
feat: add BOX86_RCFILE support (#960)
* feat: try add BOX86_RCFILE support

Make box86 support _RCFILE env like box64
https://github.com/ptitSeb/box64/blob/main/src/core.c#L1595

* adjust: comment rcfile loading to avoid crash
2024-04-30 14:30:38 +02:00
ptitSeb
24f2c68805 Added 2 wrapped functions to sdl2 2024-04-18 10:09:35 +02:00
7748d10246
update X86WINE, libxxf86vm1:armhf (#955)
It should be armhf
2024-04-18 08:14:57 +02:00
Hagb (Junyu Guo 郭俊余)
22ee4685a1
Set rounding mode for some rounding functions of libm (#953)
This commit rewrites fesetround and fegetround to set and get the
rounding mode in x86emu, and applies the rounding mode on rounding
functions (`{,l,ll}rint{,f,l}` and `nearbyint{,f,l}`).
2024-04-15 08:00:33 +02:00
Hagb (Junyu Guo 郭俊余)
35ea6fd109
Fix rounding of some x87 instructions (#951)
* Fix rounding of some x87 instructions

* Add missing tests/roundtest.h

* Fix build error of dynarec_arm_helper.c

* set rounding mode only when BOX86_DYNAREC_FASTROUND = 0

* Fix build error

* Set rounding mode for trigonometric instructions

They should work in Android build

* Add missing conditions

* Apply BOX86_DYNAREC_FASTROUND=0 on fpu_rounding test

* Avoid two-step rounding

* Keep consistent with dynarec

* Fix naming conflict

* Move setround to fpu_setround

* Move setround to fpu_setround
2024-04-14 20:37:17 +02:00
ptitSeb
3744603bcc Don't load libGL in SDL_GL_GetProcAddress for GOA_CLONES config (for #950) 2024-04-14 19:38:25 +02:00
ptitSeb
4861b78dc4 Load custom GL lib after SDL2 loads its instead of before shoudl help #950 2024-04-14 11:51:06 +02:00
ptitSeb
ba017657ad [ELFLOAER] Improved elfloader a bit (in sync with box64) 2024-03-29 23:21:04 +01:00
ptitSeb
811c4fccd8 [DYNAREC] Fixed some issue with x87 stack managment 2024-03-29 15:06:11 +01:00
ptitSeb
3992ab5931 Added some __isoc23_ symbols as synonym on wrapped libc (for #947) 2024-03-27 15:38:10 +01:00
ptitSeb
266392e315 [DYNAREC] More fixes on 16bits shift opcodes 2024-03-21 04:15:23 +01:00
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