Chip8 emulator in Nim
You can not 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
4 weeks ago
src fix math ops accuracy 4 weeks ago
.gitignore build executable as nim_chip8 4 weeks ago
README.md add test suite results 4 weeks ago
nim_chip8.nimble add release, clean tasks 4 weeks ago

README.md

CHIP8 emulator in Nim

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

Building

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.

Using

./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):