Skip to content

A program written in C to emulate the CHIP-8 interpreter.

Notifications You must be signed in to change notification settings

guyus15/chip8-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 Emulator

A program written in C to emulate the CHIP-8 interpreter.

Installation

This emulator uses SDL 2 to render graphics to the screen, so you must ensure that this is present on your machine before compiling. On Ubuntu systems, you can do this with the follow:

sudo apt-get install libsdl2-dev

After cloning the repository, you can compile the emulator using make from within the repository's directory.

To compile the test file, run make test from within the cloned repository's directory.

Usage

Before running the emulator, you will need a ROM to use. Many ROMs can be found here.

The emulator can be run with the following (assuming you are on a Linux system):

./main <path to ROM here>

The test file can be run with the following:

./chip8_test


See this technical reference for more information about CHIP-8.

About

A program written in C to emulate the CHIP-8 interpreter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published