CHIP-8 is an interpreted programming language, developed by Joseph Weisbecker made on his 1802 Microprocessor. The simplicity of CHIP-8, and its long history and popularity, has ensured that CHIP-8 emulators and programs are still being made to this day.
This Chip-8 emulator was implemented in C++, with SDL as the graphics library to draw graphics to the screen, and read keypresses. All of the instruction sets have been implemented along with audio output.
- SDL graphics library
- MinGW (for windows)
- CMake for (Unix)
-
- Clone the project in a directory:
git clone https://github.com/ahmadadil950/Chip8-Emulator.git
- Go in to project directory:
cd chip8
- Run the project with the makefile, if you have mingw-make:
make or mingw32-make.exe
- Then using the following the command to run a ROM
.\chip8.exe C:(Project Download Location)\chip8\ROMS\TETRIS
- Clone the project in a directory:
-
-
Since this requires CMake and SDL2 run:
$ sudo apt-get install cmake libsdl2-dev
-
Clone the project in a directory:
git clone https://github.com/ahmadadil950/Chip8-Emulator.git
-
Go in to project directory:
cd chip8
-
Compile:
mkdir build cd build cmake .. make
-
Run:
./chip8 <ROM file>
-