Skip to content

arash28134/chip-8-emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 Emulator

CHIP-8 is an interpretted programming language developed by Joseph Weisbecker in the mid 70s and was initally used on the COSMAC VIP and Telmac 1800 8-bit microcomputers to make game programming easier. CHIP-8 programs are run using a CHIP-8 virtual machine.

This is a fairly complete implementation of a CHIP-8 virtual machine however currently the sound seems to behave weird in some ROMs.

$ ./chip8 roms/PONG2 20 500

image

$ ./chip8 roms/INVADERS 20 500

image

Compiling and running

Requires SDL2:

$ sudo apt-get install libsdl2-dev

Compile:

$ make

Run:

$ ./chip8 <rom file> <video scale> <clock rate>

Public domain ROMs/Test ROMs I found and used for developing the emulator are included in roms/ and test_roms/.

References

Some helpful resources I used:

About

CHIP-8 emulator written in C for Linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published