Skip to content

Skosulor/c8int

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c8int

A chip-8 interpreter written in C.

Requires SDL2 and CMake.

To compile and run:

mkdir build && cd build
cmake ..
make
./c8int ROM_FILE

In “test” there is a test ROM which test most of the chip8’s instructions.

Flags:

  • -h [pixels] : horizontal window size (integer)
  • -w [pixels] : vertical window size (integer)
  • -hz [frequency] : op code execution frequency (integer)

Default op code execution frequency is 714 Hz. Default resolution is 800X400

Example running c8int with pong rom at 2000 Hz and resolution 1920X1080

./c8int roms/pong -hz 2000 -w 1920 -h 1080

About

A chip-8 interpreter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published