Skip to content
CHIP-8/SuperChip/XO-Chip Emulator written in C++ using SDL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Roms
modules
src
.coveralls.yml
.gitignore
.gitmodules
.travis.yml
LICENSE
Makefile
README.md
appveyor.yml
cpp_chip8.sln

README.md

#cpp_chip8

Build Status Build status Coverity Scan Build Status Codacy Badge Coverage Status

CHIP-8, SuperChip and XO-Chip Emulator written in C++

Uses SDL2 to provide graphics and audio processing.

The game loop is strongly related to the way MonoGame/XNA works.

Compiling

Prerequisites

  • SDL
  • boost

Linux

make

Windows

Compile with Visual Studio 2017 (via the solution)

Running

Arguments

  • processor-type (schip) - Processor type. Can be one of chip, schip or xochip
  • allow-misaligned-opcodes (false) - Allow instuctions to be loaded from odd addresses
  • rom - ROM to use
  • graphics-count-row-hits - Graphics: count row hits
  • graphics-count-exceeded-rows - Graphics: count exceeded rows
  • graphics-clip (true) - Graphics: clip
  • cycles-per-frame - cycles per frame

examples

Linux

./cpp_chip8 Roms/SGAMES/ANT

Windows

cpp_chip8 Roms\SGAMES\ANT

You can’t perform that action at this time.