chip8run is an interpreter (or "emulator") for CHIP-8: a bytecode format for the creation of video games for home computers made in the 1970s and 1980s like the COSMAC VIP. CHIP-8 programs drive a 64-by-32 pixel monochrome display, while taking input from a 4-by-4 hexadecimal keyboard. chip8run can run programs in the CHIP-8 format, often found with the .ch8 suffix.
Scroll down to try out chip8run with some games and demos in your web browser.
Modern CHIP-8 programs usually use WASD for directions, E to confirm and Q to cancel. These are also mapped to the cursor keys, spacebar/enter and backspace for convenience.
If those don't work, the full set of keys recognized by CHIP-8 is mapped like this:
COSMAC VIP | What to press | ||||||
---|---|---|---|---|---|---|---|
1 | 2 | 3 | C | 1 | 2 | 3 | 4 |
4 | 5 | 6 | D | Q | W | E | R |
7 | 8 | 9 | E | A | S | D | F |
A | 0 | B | F | Z | X | C | V |
You can press = (equals) and - (minus) to speed up and slow down emulation between 1× and 8×.
CHIP-8 program files (usually ending with .ch8) can be dragged and dropped into the chip8run window to run them.
The following games can be played here with chip8run, sourced from John Earnest's CHIP-8 Archive.
The following demos can be played here with chip8run, sourced from John Earnest's CHIP-8 Archive.
The chip8run source code can be found at: https://github.com/tung/chip8run