Chip8emulator
A Chip-8 emulator written in C with raylib
Install / Use
/learn @nathhB/Chip8emulatorREADME
Chip-8 emulator
A Chip-8 emulator written in C with raylib.

Controls
Chip-8 uses a 16 keys keyboard mapped as such:
1 2 3 4
A Z E R
Q S D F
W X C V
Actual controls depend on the ROM itself.
Building
cmake -DRAYLIB_LIBRARY_PATH=<PATH TO RAYLIB LIBRARY FILE> -DRAYLIB_INCLUDE_PATH=<PATH TO RAYLIB HEADER>
make
ctest # run unit tests
If you want to use the built in ROM picker, you need to provide a path to a directory containing your Chip-8 roms to the cmake command:
-DROMS_DIR=<PATH TO ROMS DIR>
The emulator can be compiled with emscripten to run in a web browser.
Running
./emulator [ROM_PATH]
If ROM_PATH is provided, the emulator will run the specified ROM, otherwise it will let you pick a ROM from the provided directory (see Building section).
Test ROMS and resources
Related Skills
node-connect
348.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
