Skip to content

jlofti/Chip8Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8 Emulator

CHIP-8 emulator written in C++ using SDL2

Features

  • Support for all 36 original CHIP-8 instructions
  • Adjustable instructions per second through command line
  • Functional sound emulation 🔊!
  • Cross platform

Screenshots

Logo Logo Logo

Installation and Running

Cloning:

git clone https://github.com/jlofti/Chip8Emulator.git
git submodule init
cd Chip8Emulator
git submodule update --init --recursive

Note: be sure SDL2 is installed!

Build and Run:

cd Chip8Emulator
cd build
make -j4
./Chip8Emulator -ROM {path} -FPS {FPS}

Command line inputs are only partially validated so don't go too crazy 😬. Place your roms in the rom folder. I think 540 is accurate for FPS

Example:

/Chip8Emulator -ROM pong.ch8 -FPS 540



About

Chip 8 Emulator in C++ for Mac using SDL2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published