My attempt at creating an emulator for the CHIP-8 language. It is written in C and uses the SDL3 library for graphics.
I have not fully implemented every feature yet so it won't run every program. Some programs might also not run correctly due how I implemented some ambiguous instructions (sometimes called 'quirks').
Build:
make
Run:
./chip8 [PROGRAM]
The program should be a .ch8 file.
I have only tested it on Linux but should work on other platforms as well, as long as the size of an unsigned short int is at least 2 bytes and the size of an unsigned char is exactly 1 byte.
I have followed Tobias V. Langhoff's guide to build this and have used the chip8-test-suite for testing. These are both amazing resources for making a CHIP-8 emulator.