Skip to content

ergo720/lib86cpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0d98f4b · Jun 17, 2026

History

818 Commits
Jun 17, 2026
Jul 30, 2023
May 14, 2026
May 14, 2026
Aug 20, 2025
Apr 3, 2026
Apr 3, 2026
Nov 17, 2022
Apr 5, 2026
Apr 3, 2026
Nov 16, 2019
Aug 20, 2025

Repository files navigation

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 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:

  1. git clone --recurse-submodules https://github.com/ergo720/lib86cpu
  2. cd to the directory of lib86cpu
  3. mkdir build && cd build
  4. cmake .. -G "Visual Studio 17 2022" -A x64 -Thost=x64
  5. Build the resulting solution file lib86cpu.sln with Visual Studio

On Linux:

  1. git clone --recurse-submodules https://github.com/ergo720/lib86cpu
  2. cd to the directory of lib86cpu
  3. mkdir build && cd build
  4. cmake .. -G "Unix Makefiles"
  5. Build the resulting Makefile with make, or use Visual Studio Code

Additional options:

  • -DLIB86CPU_BUILD_TEST=ON build the test app
  • -DLIB86CPU_XBOX_BUILD=ON build an xbox-customized version