GitHub

A modern, multithreaded chip-8 emulator written in portable C++11.

Emulator playing tetris

Check out my blog series documenting the creation of this emulator!

macOS/Linux builds

  1. brew install sdl2 sdl2_image sdl2_mixer sdl2_net sdl2_ttf
  2. Makefile: set SDL2CFLAGS to output of sdl2-config --cflags
  3. Makefile: set LDFLAGS to output of sdl2-config --libs
  4. make chip8
  5. ./chip8

Windows builds (Visual C++)

Follow these instructions. Note: Alter the SDL2 include folder structure to place all headers in a dir called SDL2. This is to match the distribution of SDL2 for non-Windows systems.

Read the original on github.com ↗