Skip to content

Klairm/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f5dfb51 · Jul 10, 2022

History

63 Commits
Oct 23, 2019
Jul 1, 2022
Oct 14, 2019
Oct 25, 2019
Jul 12, 2020
Feb 22, 2020

Repository files navigation

chip8

Chip8 interpreter in C

A simple Chip8 interpreter written in C for educational purposes

Building

cd chip8/
chmod +x install.sh 
./install.sh

Note: You can manually build the program just using:

cd chip8/
make

Usage

./chip8 <ROM>

F1 - Reload ROM

F2 - Increase speed

F3 - Decrease speed

ESC - Exit

Keyboard

Original keyboard Equivalent
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

Documentation used:

http://mattmik.com/files/chip8/mastering/chip8.html

http://devernay.free.fr/hacks/chip8/C8TECH10.HTM

https://slack-files.com/T3CH37TNX-F3RKEUKL4-b05ab4930d

Thanks to EmuDev discord server for help me! Feel free to join discord link