C emulator that executes Chip 8 ROMs.
Chip8 is a programming languages that provides a simple instruction set to make simple video games.
This emulator is written in C and is able to run Chip8 programs, managing I/O operations with the keyboard and output on a 64x32 display.
First, make sure you have installed SDL2 running the following command.
sudo apt-get install libsdl2-2.0-0After that, you can compile the source code with your favourite compiler.
gcc chip-8.h chip-8.h chip-8.c -o chip-8Finally, you can run the emulator calling the executable file and passing the path to the ROM you want to play.
./chip-8 ./roms/PATH_TO_ROMI took inspiration from https://github.com/Klairm/chip8
ROMs folder is a submodule of this repository