Skip to content

sakofficialcode/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published