This project is a simple introduction to emulation.
It follows a virtual CPU architecture, named CHIP-8, and allows you to play CHIP-8 games. The screen is a simple black and white screen, rendering a window of size 64x32 pixels.
It was written in C, using SDL to render the screen.
This project now supports cross-platform CMake builds (You need SDL2 to have the build work).
Requirements:
- C compiler with C11 support
- SDL2 development package
- CMake 3.16+
Build steps:
cmake -S . -B build
cmake --build buildRun:
./build/chip8_emulatorNotes:
- Linux (Debian/Ubuntu): install
libsdl2-dev - Fedora: install
SDL2-devel - macOS (Homebrew):
brew install sdl2 - Windows (vcpkg):
vcpkg install sdl2and configure CMake with your vcpkg toolchain file

