Sign inSign up

atomheartother/chip-8

By atomheartother

•Updated almost 2 years ago

A chip-8 emulator written in C++ running in WASM

Image
0

10K+

atomheartother/chip-8 repository overview

⁠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

  • git clone [email protected]:atomheartother/chip8.git
  • Install cmake
  • mkdir build && cd build && cmake .. && cmake --build .

⁠Running

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

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

⁠Bugs

  • On Windows, the beeping sound is way too low
  • Sometimes the screen disappears or doesn't draw anymore in browser if you keep loading new ROMs.

Tag summary

Content type

Image

Digest

sha256:f78a41fc9…

Size

9.7 MB

Last updated

almost 2 years ago

docker pull atomheartother/chip-8