Skip to content

KolbyML/chip8-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8 Interpreter

A Chip8 Interpreter written in C++ using the SDL2 library

img.png

Install

Windows binaries are available for download in the releases section for unix compile instructions will be below

Install packages

Arch-Linux

$ sudo pacman -S sdl2 cmake

Debian

$ sudo apt-get install libsdl2-dev cmake

Mac OS

$ brew install sdl2 cmake

Clone and compile

$ git clone https://github.com/KolbyML/chip8-interpreter.git

$ cd chip8-interpreter

$ cmake --configure .

$ cmake --build .

Congratz 🥳🎉🎉

Usage

Drag and drop a chip8 rom onto chip8-interpreter.exe

or in the terminal run

./chip8-emulator <rom location> <optional args etc (--help, --debug)>

Resources

High-level guide to making a CHIP-8 emulator

CHIP-8 technical reference

CHIP-8 instruction set