197 Commits

Author SHA1 Message Date
ptitSeb
6b7afd7f8e [DOCS] Fixed BIGBLOCK is 2 by default now 2025-01-31 14:30:19 +01:00
Yang Liu
0b632afbfe
[DOCS] Auto-generated USAGE.md and box64.pod (#2283) 2025-01-22 11:56:31 +01:00
Yang Liu
044dec0bfa
[ENV] Initial refactor of env variables infrastructure (#2274)
* [ENV] Initial refactor of env variables infrastructure

* Ported BOX64_DYNAREC_LOG

* Ported more options

* Ported BOX64_MALLOC_HACK

* Ported BOX64_DYNAREC_TEST

* Ported more options

* Ported more options

* Ported more options

* Ported all options

* Removed old rcfile parser

* Fix

* review

* fix

* fix

* more fixes
2025-01-21 16:13:51 +01:00
ptitSeb
8432f7d8e2 [DYNAREC] Introduce BOX64_DYNAREC_DIRTY and some profile to use it 2025-01-15 18:24:54 +01:00
ptitSeb
86211e5970 [USAGE] Added some missing settings in documentation 2025-01-10 14:49:48 +01:00
Hagb (Junyu Guo 郭俊余)
653a67c8ad
Port rounding of some x87 instructions from Box86 (#2242)
* Port rounding of some x87 instructions from Box86

Ported from https://github.com/ptitSeb/box86/pull/951. The original pull
request and this commit also contain some improvements on precision of
`F2XM1` and `FYL2XP1`.

* Run fpu_rounding test with dynarec only for ARM64

They have been implemented on dynarec only for ARM64.
2025-01-08 15:34:15 +01:00
ValdikSS
5d5dd3a3bc
Document BOX64_ARG0 argv[0] rewriting variable (#2234) 2025-01-05 14:08:27 +01:00
olegos2
bb0a445a6b
Spelling/typo fixes in code and documentation updates (#2223)
* Fix typo DLOpenned->DLOpened

* Fix a typo in comments: versionned->versioned

* Fix a typo in comment: cleanning->cleaning

* Update COMPILE.md and USAGE.md

* A few more typos in comments
2024-12-28 17:06:51 +01:00
Chi-Kuan Chiu
7157803c03
[DOCS] Improve cross-build instructions (#2196)
Include a note for users utilizing environments
where only the box64 binary is available.
This addition ensures that users can install
the necessary libraries before running box64.
2024-12-28 16:38:11 +01:00
Leslie Zhai
89713993cb
[DYNAREC] Implement perf map (#2212)
* [DYNAREC] Implement perf map

* [DYNAREC] Use function name as the Symbol
2024-12-26 14:43:19 +01:00
Yang Liu
1b262dac29
[LA64_DYNAREC] Added nativeflags support (#2202) 2024-12-24 18:58:49 +01:00
Yang Liu
946da43038
[LA64_DYNAREC] Fixed some LBT path issues (#2193) 2024-12-23 11:32:35 +01:00
Yang Liu
ea13414083
[GDBJIT] Unified the experience for all the backends (#2183) 2024-12-21 16:20:48 +01:00
Yang Liu
47f5fe7caf
[GDBJIT] Show x64pc in gdb, also added documentation (#2163)
* [GDBJIT] Show x64pc in gdb

* Add env. variable and documentation

* typo

* oops
2024-12-18 08:11:09 +01:00
ptitSeb
ccae82e1f5 [DOC] Small improment on USAGE.md 2024-12-10 15:25:33 +01:00
ptitSeb
769c6c8f61 Bumped version to v0.3.2 2024-12-06 15:59:59 +01:00
Yang Liu
84608fc581
[ARM64_DYNAREC] Added DYNAREC_PAUSE option for hint instructions (#2070)
* [ARM64_DYNAREC] Added DYNAREC_PAUSE option for hint instructions

* Use sevl for wfe

* Add docs

* Fix typo

* use switch case
2024-11-25 11:28:19 +01:00
Yang Liu
9757d1b67a
[ARM64_DYNAREC] More optimizations on strongmem emulation (#2051) 2024-11-20 18:59:20 +01:00
Yang Liu
fa432bb9d1
[ARM64_DYNAREC] Added weakbarrier=2 to disable last write barriers (#2049) 2024-11-19 21:22:55 +01:00
Yang Liu
81e4e26dc5
[ARM64_DYNAREC] Re-enable weakbarrier for dmb.ishst (#2048) 2024-11-19 19:59:43 +01:00
ptitSeb
1a6f49ce45 [ARM64_DYNAREC] Reworked a bit FASTROUND 2024-11-05 14:13:01 +01:00
ptitSeb
c8d98f6901 [RCFIEL] Add an option to force usage of native EGL/GLESv2 library 2024-11-02 09:28:34 +01:00
ptitSeb
29beabd683 [ARM64_DYNAREC] Added BOX64_DYNAREC_NATIVEFLAGS to disable the use of native flags, as there is still a bug or two in that mode (for #1947) 2024-10-20 13:21:08 +02:00
Yang Liu
6cbcfc7ab8
[DYNAREC] Added a new missing mode for fallback opcodes (#1896) 2024-10-02 20:44:04 +02:00
ptitSeb
1b48cd157a [RCFILE] Slightly changed how BOX64_ARGS behave, and added BOX64_INSERT_ARGS 2024-09-09 19:45:48 +02:00
Yang Liu
4e63b82f5e
[CI] Refactored CI (#1795)
* [CI] Enable Box32 tests on LA64

* upgrade QEMU

* [COSIM] Removed thread-safe tests

* Use regular cosim in CI

* [CI] Simplified "Test Box64"

* exclude certain tests when testing with cosim

* review

* box64.pod too
2024-09-05 11:07:27 +02:00
Yang Liu
b34a50b381
[X64LIBS] Changed x86/x64 libs install directory to prevent conflicts (#1791)
* [X64LIBS] Changed x86/x64 libs install directory to prevent conflicts

* Update pressure_vessel
2024-09-04 14:13:58 +02:00
WANG Guidong
9beb745765
[RV64_DYNAREC] Fix some typos in docs and dynarec/rv64 (#1758)
* [Typo] fix some typo in docs and dynarec/rv64

* [Typo] fix some typo in docs and dynarec/rv64

* [Typo] fix some typo in dynarec/rv64

* [Typo] fix some typo in dynarec/rv64

* [Typo] fix some typo in docs
2024-08-26 08:19:06 +02:00
ptitSeb
f0ea65dc36 [DOCS] Added entry in USAGE.md for newly introduced BOX64_ARGS 2024-08-09 17:44:05 +02:00
ptitSeb
a8784eff9f [RCFILE] Added support for generic names in RCFiles 2024-07-25 15:10:40 +02:00
ptitSeb
a90c7af708 Added BOX64_SHAEXT to hide sha cpu extension ([RCFILE] And added a profile using it) 2024-07-15 13:43:53 +02:00
josch
dfc60e8bf1
fix some spelling (#1668) 2024-07-10 11:06:02 +02:00
ptitSeb
62695ceed4 Bumped version to v0.3.0 2024-07-09 11:02:43 +02:00
ptitSeb
0ba46403c6 Detect UnityPlayer.dll to apply strongmem=1 automatically (can be disabled with BOX64_UNITYPLAYER=0) 2024-07-03 11:19:55 +02:00
ptitSeb
aeeb9b719a [COSIM] Added range handling in BOX64_DYNAREC_TEST ([RCFILE] too) 2024-06-24 20:32:16 +02:00
theofficialgman
9ab686b3e0
switch to maintained Pi-Apps-Coders apt repo (#1605)
closes https://github.com/ptitSeb/box64/issues/1576
2024-06-19 18:39:03 +02:00
ptitSeb
4eebf25f1c Added BOX64_RESERVE_HIGH in rcfile handling 2024-06-18 17:25:32 +02:00
Yip Coekjan
b5c0a857ca
Fix typo on box64 config file (#1533) 2024-05-25 15:02:32 +02:00
Yip Coekjan
ab9f848dcd
Fix unclosed item list (#1532) 2024-05-25 13:57:35 +02:00
ptitSeb
8545d0505f Bumped version to v0.2.8 2024-05-21 17:33:16 +02:00
ptitSeb
1e44a93c87 Removed all traces of PAGE8K, PAGE16K and PAGE64K as it's now detected in runtime 2024-05-20 10:08:27 +02:00
Yang Liu
86e9a38384
[COSIM] Added thread-safe tests (#1477)
* [COSIM] Added thread-safe tests

* Added more notest

* Run cosim in CI

* Disable tests for RISC-V for now

* Simplify

* Initialize notest
2024-04-30 16:36:48 +02:00
ptitSeb
f256c48505 Fixed non-dynarec build by introducing BOX64_JVM to replace BOX64_DYNAREC_JVM 2024-04-29 11:23:35 +02:00
ptitSeb
71c5447b8a Added a way to hide SSE 4.2, as it might slow down things using the string opcodes. Also, looks like some java program have issue with current implementation of pcmp[ei]str[im] somehow, so diabling automaticaly when detecting libjvm.so (for SlayTheSpire in particular) 2024-04-29 10:57:19 +02:00
olegos2
da64a3eeab
Add BOX64_RCFILE variable (#1392)
* Implement BOX64_RCFILE

* Update USAGE.md

* Should fix tests
2024-03-28 21:08:53 +01:00
ptitSeb
cd8bda7a29 Changed, again, RDTSC and Hardware counter, introducing auto calibration when hardware counter is too slow for modern standard (and removed BOX64_RDTSC env. var.) 2024-03-14 11:01:40 +01:00
ptitSeb
df928fd2d0 [RCFILE] Added 2 new rcfile only option, and try to apply wine program parameter earlier, before wien load to be able to change command line and maxcpu 2024-03-12 11:39:11 +01:00
ptitSeb
13404ed090 Added ability to staticaly build box64 (for #1045 and #310, maybe a few others tickets) 2024-02-26 19:22:53 +01:00
ptitSeb
ffda782c3d Better handling of Hardware counter for rdtsc emulation (ARM64 only for now), more cpuid leafs, and introduce BOX64_RDTSC env.var. with a profile that use it 2024-02-23 16:41:44 +01:00
ptitSeb
6996c06909 TEGRAX1 config also have BOX64_MMAP32 activated by default 2024-02-07 16:42:13 +01:00