A simple, readable CHIP-8 emulator written in Odin,
using raylib for graphics, input, and audio.
This project is designed for learning, clarity, and extensibility.
- Loads and runs CHIP-8 ROMs (roms in
programs/) - Emulates display, memory, and basic instruction set
- Renders 64x32 monochrome graphics using raylib
- Easily extensible to support more CHIP-8 instructions
-
Clone this repo and enter the directory:
git clone https://github.com/Vaalley/nullspace cd nullspace -
Build and run:
odin run .
main.odin— Emulator entry point, CPU loop, instruction decodingprograms/— Folder for CHIP-8 ROMs
- To add more CHIP-8 instructions, edit the
instructionsarray inmain.odin.
- Odin programming language
- raylib
- CHIP-8 documentation: Cowgod’s CHIP-8 Reference