Skip to content

Skosulor/c8int

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
skosulor
Apr 25, 2024
055f5ab · Apr 25, 2024

History

37 Commits
Apr 25, 2024
Apr 25, 2024
Feb 18, 2021
Apr 22, 2024
Dec 18, 2023
Apr 22, 2024
Feb 7, 2021
Aug 26, 2019

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