This is a CHIP-8 emulator made with C++ and SDL2 . CMake is used to compile the project. A learning project.
GCC (C++ compiler), SDL2 (a graphics library), CMake (a build file generator)
Clone the project and type following commands to build the project
mkdir build && cd build
cmake ..
make
You should have an executable named mainBinary .
Run it like this
./mainBinary <chip8_rom_path>
Some games that can be run on this emulator:
Also used chip8 test suite to test the emulator
- https://tobiasvl.github.io/blog/write-a-chip-8-emulator
- Used it as the main refrence for the project, it tells everything you need to know about CHIP-8 emulator.
- http://devernay.free.fr/hacks/chip8/C8TECH10.HTM
- Used it as second reference.
- https://wiki.libsdl.org/SDL2
- Used to refer to SDL2 API.
- https://chip-8.github.io/extensions
- Used to differentiate between original and modern version, helpful in correcting ambiguous instructions.
- https://github.com/Timendus/chip8-test-suite
- Used to test CHIP-8 emulator, very helpul in getting the expected behaviour from instructions.