Chip8 emulator in Nim
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rasmus Moorats e437813fa9
add test suite results
5 months ago
src fix math ops accuracy 5 months ago
.gitignore build executable as nim_chip8 5 months ago add test suite results 5 months ago
nim_chip8.nimble add release, clean tasks 5 months ago

CHIP8 emulator in Nim

(Almost) pure Nim implementation of a CHIP-8 emulator. Graphics and input is handled by SDL2.


Run nimble build to build a debug release, or nimble release to build a binary optimized for speed.

The binary is built as nim_chip8.


./nim_chip8 <path_to_rom>

Keyboard keys 1-9 (top row and numpad), A-F are mapped to their corresponding keys in the emulator.

Test suite results

These are the results of various CHIP-8 test suite tests.

Corax89's opcode test:

Flags test:

Quirks test (XO-CHIP):