MegaJIT-8 is a Chip 8 emulator with x86-64 JIT-compiler, made in C++ using GLFW, ImGUI and Xbyak.
Windows, Linux, and MacOS build using cmake is supported with any C++/20 compiler. All libraries are included as source.
Use File->load to load game ROM. File->Reload or ESC to restart current ROM. Press TAB to pause the emulator. Keyboard layout is:
1 | 2 | 3 | 4 |
---|---|---|---|
Q | W | E | R |
A | S | D | F |
Z | X | C | V |
Under CPU menu tab, you can switch between interpreter and JIT while running the ROM. In JIT mode, disassembly containing the compiled code can be exported. Unlimited mode checkbox is used for benchmarking. When it is enabled, emulator runs on maximum speed, and number of millions of instructions per second is displayed.
benchmark.mp4
This project is licensed under the MIT License - see the LICENSE.md file for details