"lib86cpu" is an dynamic recompiler library that emulates an Intel Pentium III Coppermine processor, and exposes its functionality via its own API. Specifically, it emulates the Pentium III processor found on the original Xbox console.
- x86-64
There are no plans to support x86-32.
Cmake version 3.4.3 or higher is required.
Visual Studio 2022 (Windows), Visual Studio Code (Linux, optional).
NOTE: there is a known bug in versions of Visual Studio 2022 between 17.1.5 and 17.14.12, that prevents the project from building successfully, so use a version outside of that range.
On Windows:
git clone --recurse-submodules https://github.com/ergo720/lib86cpucdto the directory of lib86cpumkdir build && cd buildcmake .. -G "Visual Studio 17 2022" -A x64 -Thost=x64- Build the resulting solution file lib86cpu.sln with Visual Studio
On Linux:
git clone --recurse-submodules https://github.com/ergo720/lib86cpucdto the directory of lib86cpumkdir build && cd buildcmake .. -G "Unix Makefiles"- Build the resulting Makefile with make, or use Visual Studio Code
-DLIB86CPU_BUILD_TEST=ONbuild the test app-DLIB86CPU_XBOX_BUILD=ONbuild an xbox-customized version