Skip to content

jabra11/chip8EMU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake Language grade: C/C++

chip8EMU

The goal of this project is to implement a Chip-8 interpreter. This is a starter project for me to get into low-level programming and emulations. It's using C++17 features so you will need a more or less up-to-date compiler to build it. Build instructions are below. First some clips of it being in use in it's current state.

The game selector

chip8EMU1

Playing WIPEOFF

chip8EMU2

Changing the clockspeed while playing

chip8EMU3

Stepping through the clockcycles

chip8EMU4

Red clockspeed means the emulator can't go faster

chip8EMU5

Dependencies

Build Instructions

Linux

Install the dependencies and then run

$ mkdir build
$ cd build/
$ cmake ..
$ cmake --build .
$ ./Chip8EMU

Windows

Install the dependencies and then run

$ mkdir build
$ cd build/
$ cmake ..
$ cmake --build .
// copy SFML dll's into the build directory
$ ./Chip8EMU

Running

The emulator expects to find the roms and resources folders in it's parent directory. So make sure to run it from the correct working directory.