Commit Graph

146 Commits

Author SHA1 Message Date
josch
508a153973
When BOX64_VERSION is set, just print the version and exit (#1238)
When set, box64 will only print its version and then exit. This option
is analogous to QEMU_VERSION used by binfmt_misc emulation of qemu-user.
Its purpose is the same: provide a way to soft-disable binfmt_misc
emulation as well as for identifying box64 as the registered binfmt_misc
emulator.

This commit enables adding support for box64 to the arch-test utility.
With this change, arch-test is able to soft-disable box64 as the x86_64
emulator in the same way as it does this for qemu and wine already.
Without this change, arch-test will report an architecture as natively
executable by the processor, disregarding that it actually gets emulated
by box64.

Furthermore, this commit enables identifying box64 as the currently
registered emulator for x86_64. This way, applications that know that
their emulation requirements cannot work with box64 can add a check to
find out that it is box64 doing the emulation and are able to print a
helpful error message.

Closes: #1237
2024-01-31 18:29:34 +01:00
ptitSeb
f9c09293bf Added BOX64_IGNOREINT3 env. var. to ignore INT3 in the code ([RCFILE] too) 2024-01-27 20:42:32 +01:00
leonpano2006
0ee5174e18
add optimize build flag for Jetson orin and xavier (#1219)
* add optmized options for Jetson xavier and orin

* Update CMakeLists.txt

* Update COMPILE.md

add info for build on jetson orin and xavier
2024-01-25 23:04:20 +01:00
ptitSeb
bc852aebeb Added a new option BOX64_MMAP32 to use 32bits mapping on external MMAP (help Snapdragon device running Vulkan with Wine/Wow64, active by default on SD845/SD888/SD8G2 profiles) 2024-01-23 15:56:11 +01:00
ptitSeb
5d6ff69e8d [RCFILE] Added more option to rcfile and added geekbench5 profile 2024-01-06 10:48:18 +01:00
ptitSeb
a609452cfd [DYNAREC] Switched back CALLRET to 0 by Default, many things like GoG Wine Installer needs that 2024-01-02 18:50:48 +01:00
Tristan Morgan
499492e10a
Remove FASTPAGE/HOTPAGE docs, related to #1180 (#1181) 2024-01-02 08:09:04 +01:00
ptitSeb
715ce5dbe9 Introduce new BOX64_MAXCPU to cap the number of cpu core exposed, and created profile for wine, wine64 and GridAutosport using it 2023-12-21 15:51:55 +01:00
ptitSeb
e42001b2bc Bumped version to v0.2.6 2023-12-15 19:26:45 +01:00
Lily
9818f5b6a3
Fix raspi5 building (#1142)
* Update CMakeLists.txt

* Update COMPILE.md

* Update COMPILE.md
2023-12-15 17:04:37 +01:00
ptitSeb
7c0180c3b9 Added lldb option to JITGDB 2023-12-15 13:18:59 +01:00
Martin Sundhaug
9b7b91651d
Raspberry Pi 5 support (#1138)
* Basic RPi5 support

* Split RPi5 in 16k page-size variant and not

* Update COMPILE.md

Add documentation about 16K page support
2023-12-14 21:34:20 +01:00
ptitSeb
4dd5b67bbf [DYNAREC] Update USage with latest callret info 2023-12-13 13:06:56 +01:00
Lily
548a8ac87b
[DOCS] Updated TERMUX Building (#1121) 2023-12-07 09:39:52 +01:00
Lily
24f241a1cd
[DOCS] Updated termux building instructions (#1113)
* [DOCS] Add a warning for termux builders (mostly due #1112)

* [DOCS] Added chroot or proot compiling
2023-12-04 18:24:45 +01:00
Lily
c04dfb82bb
[DOCS] Added missing library for #1108 (#1109)
* [DOCS] Added missing library for #1108

* [DOCS] Typo
2023-12-04 10:31:01 +01:00
Lily
44ecb62ce7
[DOCS] Termux Compiling (#1102)
* [DOCS] Termux Compiling

* [DOCS] Not needed this

* [DOCS] Added this back

I don't think I had to delete that sorry
2023-12-01 17:23:54 +01:00
kaixindeken
507eb1c786
[DOCS] Add mold usage to COMPILE.md (#1089)
* Add mold usage to COMPILE.md

* add Mold usage to COMPILE.md
2023-11-27 08:17:36 +01:00
Yang Liu
6ad9435b4d
[DYNAREC_RV64] Fixed BTS BTR BTC for zbs extension (#1084) 2023-11-26 16:46:21 +01:00
ptitSeb
c2680fd0a7 Added BOX64_FUTEX_WAITV, on by default expect for BAD_SIGNAL build 2023-11-10 15:05:39 +01:00
ptitSeb
cc661c7549 Added BOX64_INPROCESSGPU setting (helps Heroic 2.10 at least) 2023-11-05 14:23:54 +01:00
Yang Liu
87bf751b11
[INTERP] Fix fpu_round (#1030)
* [INTERP] Fix fpu_round

* Should be working this time

* Handling wrappedlibm

* Format

* Fix loongarch

* Make it optional

* Fix android build
2023-10-25 14:14:11 +02:00
ptitSeb
1698c822a5 [DOCS] Added some infor about SAVE_MEM build option 2023-10-18 17:49:46 +02:00
ptitSeb
0481589615 [ARM64_DYNAREC] More changes to Strong memory model emulation 2023-10-18 17:18:50 +02:00
ptitSeb
6ef2b22a3c [ARM64_DYNAREC] Added support for BOX4_DYNAREC_ALIGNED_ATOMICS 2023-10-17 18:25:16 +02:00
ptitSeb
60fed04cb7 Use BOX64_RESERVE_HIGHMEM by default on ADLINK profile 2023-10-13 21:17:13 +02:00
ptitSeb
0499c38466 Added BOX64_SDL2_JGUID, a workaround for game using old SDL_GetJoystickGUIDInfo funciton on recent wrapped SDL2 (for #1018) 2023-10-11 12:15:05 +02:00
ptitSeb
d95ef48d22 Added ADLink AmpereAltra profile 2023-09-25 19:33:33 +08:00
ptitSeb
9d16aec99a
Update USAGE.md on rcfiles 2023-08-31 20:30:40 +02:00
ptitSeb
45c4117a40 Bumped version to v0.2.4 2023-08-19 17:22:35 +02:00
ptitSeb
0733a87279
Merge pull request #896 from josch/exe
remove executable bits
2023-07-21 08:13:56 +02:00
Johannes Schauer Marin Rodrigues
28dc8e6751
remove executable bits
Closes: #895
2023-07-21 02:10:26 +02:00
Ryan Fortner
1f2ef09d87
Update COMPILE.md 2023-07-20 08:33:13 -04:00
ptitSeb
903ecd207d Added generic ARM64 build profile 2023-07-14 12:03:30 +02:00
Jank9525
7e282c9027
Reduce duplication of compile instructions (#837)
* Reduce duplication of compile instructions

* Update COMPILE.md
2023-06-14 09:24:26 +02:00
4110956dda
ryanfortner's package now have a different name (#834) 2023-06-12 13:14:10 +02:00
ptitSeb
e028a67f4f Do not try to preserve high memory (unless BOX64_RESERVE_HIGH=1 is used), as currently, it seems buggy and making more harm then good 2023-05-31 20:13:41 +02:00
ptitSeb
c5e8aaff4a [DYNAREC] Addeddetection of libjvm (and an option to disable it) to apply conservative settings when loaded (should help #813) and probably other java based games/apps) 2023-05-31 18:21:42 +02:00
ptitSeb
47ecde75ec [DYNAREC] Added BOX64_DYNAREC_MISSING to only print dynarec missing opcode 2023-05-07 15:54:37 +02:00
ptitSeb
b6be4f8dde [DYNAREC] Defaulting to not tagging HotPage, it seems to work generaly better without now 2023-04-26 12:14:20 +02:00
Yang Liu
e066e920d0
Fixed broken in-project links (#689) 2023-04-11 21:22:18 +02:00
ptitSeb
9f75f28e7a [DYNAREC] Added BOX64_DYNAREC_TEST to run interpeter and dynarec at the same time and compare states 2023-03-27 23:21:36 +02:00
josch
4fb126635c
add manual page in pod format (#641) 2023-03-27 08:42:28 +02:00
josch
2ea036e02c
fix some spelling mistakes (#640) 2023-03-26 09:59:00 +02:00
Yang Liu
65c672fa1c
Update README (#626) 2023-03-23 11:59:21 +01:00
Sevan Janiyan
f087afd796
docs/COMPILE.md: Use trusted.gpg.d (#620)
Installing the keys in the system location will likely cause fallout in upgrades.
Install into /etc/apt/trusted.gpg.d where it's commonly expected.
2023-03-23 08:05:15 +01:00
ptitSeb
262ec3ed3c
Rv64 dynarec (#550)
* [RV64_DYNAREC] Pushed the rv64_lock.h
* [RV64_DYNAREC] Add initial support for atomic functions
* [RV64_DYNAREC] Added some basic infrastructure for the Dynarec (and 1 opcode)
* [RV64_DYNAREC] Add a disassembler for RV64 instructions
* [RV64_DYNAREC] Added 86 MOV opcode, and some fixes too
* [RV64_DYNAREC] Added 8D LEA opcode
* [RV64_DYNAREC] Added POP reg opcode
* [RV64_DYNAREC] Various fixes and small optims

---------

Co-authored-by: Yang Liu <liuyang22@iscas.ac.cn>
2023-03-12 14:04:57 +01:00
Ryan Fortner
46dfbf826d
add -dnogit=1 flag to debian rules 2023-03-10 13:19:00 -05:00
ptitSeb
60c6858916 Bumped to v0.2.2 2023-03-10 17:10:24 +01:00
ptitSeb
c79c42b62d [DYNAREC] Added BOX64_DYNAREC_FORWARD parameter, with a default value to 128 (works well on box64, with up to 30% more speed) 2023-03-07 22:03:58 +01:00