No description
  • C++ 98%
  • CMake 2%
Find a file
2026-09-22 14:15:25 +05:00
rom chore(rom-folder): created a folder where ROMs will be placed to be loaded 2026-09-21 14:26:43 +05:00
src feat(keybinds): added keymap and key press functionality 2026-09-22 04:15:50 +05:00
.gitignore chore(.gitignore): fixed file name in gitignore: cache/ -> .cache 2026-09-21 14:28:05 +05:00
CMakeLists.txt feat(sdl3): added sdl3 support for rendering 2026-09-21 23:29:39 +05:00
README.md chore(readme): updated to have information on how to run it 2026-09-22 14:15:25 +05:00

Chip 8 Emulator

Note

This was not vibecoded

Details

A simple CHIP 8 Emulator.

There might be bugs in this, or may not follow the best practices, was made as a learning project

Following resources were used

How To Compile and Run

This can be manually compiled through gcc, but I used cmake/make.

First create build/ dir and cd into it

mkdir build
cd build

After that use cmake and make. We use nproc to list CPU Cores for make, which helps it run parallel build jobs according to our CPU cores available

cmake ..
make -j$(nproc)

It will create an executable chip8 in build/ directory.

The command requires the path of the ROM to load

./chip8 'Pong (1 player).ch8'

I personally kept the roms in the dedicated rom folder of the project, but you're free to place them anywhere, the program only cares about the path to load it in.