atomheartother / chip8

A simple chip-8 emulator in C++ using SDL2 with desktop & browser support
https://chip8.navennec.net/
10 stars 0 forks source link
chip-8 cmake cpp emscripten emulator wasm

C++ip-8

This is a super simple CHIP-8 emulator weekend project. It uses SDL2 and can be transpiled to WASM using EMScripten to deploy on a website.

Demo: https://chip8.navennec.net/

Fully functional on Linux, Windows, Firefox, not tested on other platforms.

"Brick screenshot"

Installation

EMSCripten build

Same as above but you'll want emcmake from the emsdk. Then:

emcmake cmake .. && cmake --build .

Running

./chip8 <rom file> [instructions per second]

(The default value for instructions per second is 350).

Bugs