Skip to content

JohnBee/chip8-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip-8 C++ Emulator

A Chip-8 Interpreter/Emulator Written in C++.

Demo

Breakout

Breakout

Snake

Snake

Flight Runner

FlightRunner

Building

  1. Install SDL2 for your Target.
  2. Setup CMake Cache using CLI or CMake-GUI to point to your SDL2 install library and headers location.
  3. Create a Build Folder e.g.
    > mkdir build && cd ./build
    
  4. Run CMake to generate your desired Solution e.g.
    > cmake .. -G"MingGW Makefiles"
    
  5. Run Make/ Build of choice.
    > make
    

Running

  1. Navigate to cd ./build
  2. Place SDL2.dll Next to chip8-emulator.exe
  3. Execute the Emulator ./chip8-emulator.exe <path-to-game.ch8>

Testing

Testing of accuracy was accomplished using an assortment of Test Roms:

  1. https://github.com/corax89/chip8-test-rom
  2. https://github.com/Timendus/chip8-test-suite

Requirements

CMAKE
SDL2

About

chip8 Emulator built in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published