Fully functional emulator for CHIP-8 roms built with C++17 and SDL2.
All opcodes are implemented with the exception of 0NNN
, the opcode for calling RCA 1802 programs.
- cmake
- g++
- libsdl2-devel
$ mkdir build
$ cd build
$ cmake -G "CodeBlocks - Unix Makefiles" ..
$ make
$ ./chip8 <rom file>
Links I used to learn about CHIP-8.
- https://en.wikipedia.org/wiki/CHIP-8
- http://www.multigesture.net/articles/how-to-write-an-emulator-chip-8-interpreter/
- https://austinmorlan.com/posts/chip8_emulator/
- http://www.emulator101.com/introduction-to-chip-8.html
- http://mattmik.com/files/chip8/mastering/chip8.html
- http://devernay.free.fr/hacks/chip8/C8TECH10.HTM
- https://cgmathprog.home.blog/2021/05/20/chip-8-and-emulator-overview/
See also the next few videos in the series for more CHIP-8.