https://github.com/ergo720/lib86cpu
x86 dynamic recompiler library
https://github.com/ergo720/lib86cpu
asmjit cpp cpu emulation jit pentium x86 xbox
Last synced: 12 months ago
JSON representation
x86 dynamic recompiler library
- Host: GitHub
- URL: https://github.com/ergo720/lib86cpu
- Owner: ergo720
- License: bsd-2-clause
- Created: 2019-11-15T20:43:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T18:28:48.000Z (about 1 year ago)
- Last Synced: 2025-02-07T19:28:13.089Z (about 1 year ago)
- Topics: asmjit, cpp, cpu, emulation, jit, pentium, x86, xbox
- Language: C++
- Homepage:
- Size: 1.49 MB
- Stars: 57
- Watchers: 6
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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:**
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