nenechi-fan-club / CHIP-8-emu

2 stars 0 forks source link
chip-8 chip8 chip8-emulator cpp emulator sdl2

CHIP-8-emu

Another CHIP-8 emulator, this time in C++. The goal of this project is to provide a stable and robustly-featured CHIP-8 emulator with good performance.

How to run

Currently to run the emulator, you need to invoke it from the command line. You can either drag your ROMs beside the application and invoke like so.
"chip8 [ROM]"
Or if your folder structure is similar to the source's, or something like this:

/chip-8-emu
--/bin
------/chip8.exe
--/roms
------/pong

Then you can invoke chip8 like so,
"chip8 ../[path to ROM]"

"../" Will take you up a directory, and from there the path to the ROM can be specified.

How to play

CHIP-8 has a hexidecimal keypad, meaning it as 16 keys that look like so;

1 2 3 C
4 5 6 D
7 8 9 E
A 0 B F

For now, these keys have been mapped to this;

1 2 3 4
Q W E R
A S D F
Z X C V

In the future, we may add rebindable keys, however I for the life of me could not find a more sensible place to bind these.