o
odinpkg.dev
packages / tool / nullspace

nullspace

947e707tool archived

CHIP-8 emulator written in Odin

No license · updated 1 year ago

CHIP-8 Emulator (Odin)

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.

Features

  • 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

Requirements

Getting Started

  1. Clone this repo and enter the directory:

    git clone https://github.com/Vaalley/nullspace
    cd nullspace
  2. Build and run:

    odin run .

File Structure

  • main.odin — Emulator entry point, CPU loop, instruction decoding
  • programs/ — Folder for CHIP-8 ROMs

Extending

  • To add more CHIP-8 instructions, edit the instructions array in main.odin.

Credits