libc8

c8 (CHIP-8 Interpreter)

This is a fully functional CHIP-8 and SCHIP interpreter with an integrated debug mode, utilizing libc8 with SDL2.

Usage

c8 [-dvV] [-c clockspeed] [-f small,big] [-p file] [-P colors] [-q quirks] file

Keyboard layout is the following:

  Key       CHIP-8 keycode
1 2 3 4        1 2 3 C
q w e r  ==>   4 5 6 D
a s d f        7 8 9 E
z x c v        A 0 B F

Fonts

Same as Octo.

Small fonts:

Big fonts:

Quirks

The following quirks are available:

Debug mode

Debug mode can be enabled via the -d command-line argument or by pressing P at any time during execution. It can also be disabled at any time by pressing M.

The following commands are supported in debug mode:

Attributes:

If no argument is given to print, it will print all of the above attributes except for address values.