Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1014 Bytes

File metadata and controls

39 lines (25 loc) · 1014 Bytes

Chip-8

Description

Chip-8 interpreter / emulator written in C++ with complete graphics, audio, and keyboard input support using SFML.

Getting Started

Dependencies

  • CMake
  • SMFL - Installed w/ CMake

Build Steps

cmake -B build
cmake --build build

Executing program

Call the executable from the terminal with the following args:

  • Path to .ch8 ROM file encased in quotes
  • Config bits - Use 000 for default behavior
    • 0x8XY6 and 0x8XYE: Copy VY into VX - xx1
    • 0xBNNN: Use V[0] instead of VX - x1x
    • 0xFX55 and 0xFX65: Change index ptr when storing and loading memory - 1xx
  • Cycles Per Frame - Depends on game, typically 8-20. Use 11 for default.
./build/bin/debug/main.exe "//Path//To//ROM//File" <Configuration #> <Cycles Per Frame>

Acknowledgments