Chip8 emulator in Nim
Go to file
Rasmus Moorats 21f49c8f8d
update screenshot urls
2023-09-11 10:27:04 +03:00
src fix math ops accuracy 2023-01-12 11:57:29 +02:00
.gitignore build executable as nim_chip8 2023-01-11 16:55:40 +02:00
README.md update screenshot urls 2023-09-11 10:27:04 +03:00
nim_chip8.nimble add release, clean tasks 2023-01-11 17:04:53 +02:00

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:

Corax89's opcode test

Flags test:

Flags test

Quirks test (XO-CHIP):

Quirks test