nim-chip8/README.md

982 B

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:

Corax89's opcode test

Flags test:

Flags test

Quirks test (XO-CHIP):

Quirks test