Back to Projects
simple-chip8

simple-chip8

A CHIP8 interpreter in C++. Built to be as reasonably modular as possible.

Mar 2025 - Mar 2025 Less than a month

Tech Stack

C++SDL3Meson

Simple Chip-8

CHIP-8 Emulator (Interpreter) written in C++ with SDL3.
Built to be as reasonably modular as possible.
This time actually complete (hopefully).

Build

Requires SDL3 Libraries to be installed on the system

Using Meson

#From Root Directory
meson setup build
cd build
meson compile

Compile using g++

g++ -std=c++20 -O2 -lSDL3 src/*.cpp -o chip8

(not tested with -O3, but should work)

Usage

chip8 --rom <path_to_rom>

TODOs

Additional Features

Test ROMs

Planning to add SUPER CHIP-8 capabilites after adding bells and whistles.

References

  1. Website IconCowgod’s Chip-8 Technical Reference
  2. How to write an emulator (CHIP-8 interpreter) - Multigesture.net
  3. Website IconIntroduction to Emulation: Build your own CHIP-8 emulator in just 1 hour! - Iridescence
View All Projects