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.
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
In the 'ROMs' folder you can find a few public domain Chip8 ROMs.
How to write an emulator (CHIP-8 interpreter)
The license is contained in the "License.txt" file.