Awesome
Lib86cpu
"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.
Supported host architectures
- x86-64
There are no plans to support x86-32.
Building
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 a version of Visual Studio 2022 after 17.1.5, that prevents the project from building successfully, so use a version equal or prior to that.
On Windows:
git clone --recurse-submodules https://github.com/ergo720/lib86cpu
cd
to the directory of lib86cpumkdir build && cd build
cmake .. -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/lib86cpu
cd
to the directory of lib86cpumkdir build && cd build
cmake .. -G "Unix Makefiles"
- Build the resulting Makefile with make, or use Visual Studio Code
NOTE: use -DLIB86CPU_BUILD_TEST=ON
if you want to also build the test app.