Skip to content

arvganesh/CHIP-8-Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8-Emulator

An interpreter for CHIP-8 written in C++

Dependencies + Compilation

  • Clone the repo git clone
  • Install SDL
    • I used this guide for Mac.
  • Run make game in the project directory to compile the project

Usage

The expected usage is ./play <ROM> <Delay>

  • <ROM> should contain the path to the ROM file.
  • <Delay> is the number of milliseconds between emulation cycles.

Keypad

CHIP-8 Keypad's look like this:

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

Here is the mapping of the above to the modern QWERTY keyboard:

1 2 3 4    ->    1 2 3 C
Q W E R    ->    4 5 6 D
A S D F    ->    7 8 9 E
Z X C V    ->    A 0 B F

Images

Playing Tetris:

Displaying the IBM Logo:

ROMs

Here is a link to a library of CHIP-8 games to play.

References

About

An interpreter for CHIP-8 written in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published