/Chip8

A CHIP-8 emulator for Mac.

Primary LanguageCMIT LicenseMIT

Chip8

A CHIP-8 emulator for Mac.

By Lee Morgan. If you find this useful please let me know. I'm @leemorgan on twitter.

The emulator itself is written in plain C, so it should be easily portable to other platforms.

The screen rendering and input handling are intentionally done with simple Cocoa routines.

My hope is that this code is as educational as it is functional. To that end, the Chip8.c file is throughly commented.

Input

Keyboard input uses the following layout
1 2 3 4
Q W E R
A S D F
Z X C V

These map to the following CHIP-8 hex keypad inputs
1 2 3 C
4 5 6 D
7 8 9 E
A 0 B F

ROMs

In the 'ROMs' folder you can find a few public domain Chip8 ROMs.

Screenshots

Alt text

Alt text

Useful References

CHIP-8 Wikipedia entry

Mastering CHIP-8

Chip-8 Technical Reference

How to write an emulator (CHIP-8 interpreter)

License

The license is contained in the "License.txt" file.