CHIP-8 emulator written in C++
- SDL2 - https://www.libsdl.org/
The program can be built with any C++ compiler. Here is an example using MSVC:
cl.exe -EHsc Source/*.cpp -I Include/ -I SDL2/include/ -Fo:Build/ -Fe:Build/Chip-8-Emulator.exe /link /LIBPATH:SDL2/lib/x64/ SDL2main.lib SDL2.lib Shell32.lib -SUBSYSTEM:CONSOLE
CHIP-8-Emulator.exe <path-to-rom> <instructions-per-second>
Instructions per second - How many instructions the CPU should fetch/execute each second. The ideal number for this varies between ROMs, but 500 - 1000 seems to be a good range.
1 2 3 4
Q W E R
A S D F
Z X C V