Skip to content

rossw01/chip8-emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chip8-emu

This project emulates the functionality of the Chip8 using C++. Graphics and inputs are handled using SDL2.

From Wikipedia: CHIP-8 is an interpreted programming language, developed by Joseph Weisbecker on his 1802 microprocessor. It was initially used on the COSMAC VIP and Telmac 1800, which were 8-bit microcomputers made in the mid-1970s.

Requirements

Installation

Build from source

  • Clone the repo git clone https://github.com/rossw01/chip8-emu.git
  • Create build directory and cd into it cd chip8-emu && mkdir build && cd build
  • Build and run cmake .. && make && chip8-emu /path/to/rom

Usage

  • chip8-emu <ROM_PATH> [options] launches the emulator.
  • chip8-emu --help outputs a list of all arguments you can use.

All CPU Instructions function as expected.

Breakout being played on the emulator.

Demonstration of the built-in hex-viewer.