/chip8-emulator

My simple Chip8 emulator

Primary LanguageC++

Chip8 emulator

Info

Simple Chip8 emulator to learn the basics of emulation.

Dependencies

SDL2 (graphics)

Debian based (including Ubuntu):

# library
sudo apt install libsdl2
# everything necessary to build programs that use SDL
sudo apt install libsdl2-dev

Red Hat based (including Fedora):

# library
sudo dnf install SDL2
# everything necessary to build programs that use SDL
sudo dnf install SDL2-devel

Arch:

# everything
sudo pacman -S sdl2

Gentoo:

# everything
sudo emerge libsdl2

Other:

SDL2 Installation guide

How to run

Compile:

make

And run:

./bin/emu SCALE ROM
# example
./bin/emu 10 ./roms/pong.ch8