Skip to content
/ chip8 Public

A CHIP-8 emulator written in C++

Notifications You must be signed in to change notification settings

PPTGamer/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 Interpreter

This is a CHIP-8 interpreter, written in C++17, using SFML. Thanks to Tobias Langhoff's guide.

The interpreter accepts any CHIP-8 program (.c8), which can be obtained from the following archives:

Current features

All CHIP-8 instructions are implemented. When instructions are ambiguous, the variant used in modern interpreters is used.

The CHIP-8 specification specifies that the input device must be a 4x4 keypad with the following hexadecimal keys.

123C
456D
789E
A0BF

By convention, the following keyboard keys are used for the corresponding inputs.

1234
QWER
ASDF
ZXCV

To-do (in no particular order)

  • Proper GUI using Dear ImGUI
  • Configurable instruction sets
  • Customizable display and sound
  • Savestates
  • Debugger and memory viewer
  • Use CMake instead of a custom Makefile. Currently, the Makefile only supports building on Windows.

Dependencies

About

A CHIP-8 emulator written in C++

Resources

Stars

Watchers

Forks

Packages

No packages published