CHIP-8 emulator
In the summer of 2020, I wrote a CHIP-8 emulator in C. Inspired by Mathew Zaleski's disseration "YETI: a graduallY Extensible Trace Interpreter," I wrote the main emulation loop in a threaded-interpreter style, which reduces function call overhead in the host machine. The result is efficient, typically O(1) dispatch of virtual instructions. The emulator requires only the SDL2 library to build and is fully cross-platform compatible.