1 unstable release

0.1.0 Mar 2, 2024

#258 in Emulators


Used in retroboy

MIT/Apache

26KB
512 lines

RetroBoy Chip-8

A Chip-8 emulator

chip8_sdl2_tetris chip8_web_pong

Build

Install Just.

Build with SDL2

# run default rom: Tetris
just chip8
# custom rom
just chip8 "assets/roms/chip8/games/Pong (1 player).ch8"

Build with WebAssembly

cargo install wasm-pack
# build wasm and run
just chip8-web

If you meet failed to download binaryen-version_xxx-xxx error, you can follow this issue to fix it.

Todo

  • Add sound

References

Dependencies

~0.6–3MB
~57K SLoC