Home

Awesome

Chip8

A Chip-8 Interpreter written in C.<br>

Currently, the interpreter is in a playable state. The only missing core features are the system buzzer and more accurate timing for the execution of the system.

Some information about Chip-8 can be found here

Screenshots:

<img width="1278" alt="chip8_pong" src="https://user-images.githubusercontent.com/21052307/26961506-0c3be75c-4c94-11e7-87ab-ef0fe4d14325.png"> <img width="1279" alt="chip8_space_invaders" src="https://user-images.githubusercontent.com/21052307/26961510-11cfe704-4c94-11e7-921d-19f8f409d16a.png">

Building and Running:

To build the project run: <br>

<unix> location/of/project make

Running from the command line:<br>

<unix> ./chip8 path/to/rom

Running from the command line with logging enabled:<br>

<unix> ./chip8 path/to/rom log

Compatibility:

Verified compatible with Linux and Mac OS.

Dependencies:

GNU C compiler<br> Command line tools if you are on Mac OS<br> SDL2 installed on your machine<br> A copy of a Chip-8 Rom<br>

Keyboard Layout:

Chip8 Keypad:

123C
456D
789E
A0BF

Emulator Keyboard Mapping:

1234
QWER
ASDF
ZXCV

'esc' Key : Close the Emulator<br> 'Spacebar' : Pause / Resume the Emulator<br> 'F5 Key' : Reset the emulator