Skip to content

MaxandreOgeret/chip8_interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP8 Interpreter

CHIP8 Interpreter written in C++.
Issues and suggestions are welcome !

USAGE: 

   ./CHIP8  [-f <value>] [-1] [-2] [-3] [-4] [--] [--version] [-h] <Path>


Where: 

   -f <value>,  --Frequency <value>
     CPU Frequency (Default: 500Hz)

   -1,  --1
     Shift instructions 8xy6 and 8xyE will also set xv to the value of xy.

   -2,  --2
     Jump with offset Bnnn becomes Bxnn and add x offset to the jump.

   -3,  --3
     Store/Load Fx55/Fx65 will increment i.

   -4,  --4
     OR/AND/XOR 8xy1/8xy2/8xy3 will reset vf to 0.

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   --version
     Displays version information and exits.

   -h,  --help
     Displays usage information and exits.

   <Path>
     (required)  Path to CHIP8 rom.

How to build

  • Clone repo and navigate to the cloned directory.
  • Create build directory and navigate to it.
    mkdir build && cd build
    
  • Build project.
    cmake .. -DCMAKE_BUILD_TYPE=Release
    
  • Compile
    cmake --build . --target CHIP8 
    
  • Running tests
    cmake --build . --target TESTS 
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published