Skip to content

migam830/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My attempt at creating an emulator for the CHIP-8 language. It is written in C and uses the SDL3 library for graphics.

I have not fully implemented every feature yet so it won't run every program. Some programs might also not run correctly due how I implemented some ambiguous instructions (sometimes called 'quirks').

Build and Run

Build:

make

Run:

./chip8 [PROGRAM]

The program should be a .ch8 file.

I have only tested it on Linux but should work on other platforms as well, as long as the size of an unsigned short int is at least 2 bytes and the size of an unsigned char is exactly 1 byte.

I have followed Tobias V. Langhoff's guide to build this and have used the chip8-test-suite for testing. These are both amazing resources for making a CHIP-8 emulator.

About

A CHIP-8 emulator written in C using the SDL3 graphics library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors