A Chip8 Emulator in Go

GitHub go.mod Go version

chip8.go is a simple Chip8 emulator, compliant with the technical standard laid out in the
Cowgod’s Manual. Graphics and sound are both
powered by Faiface’s Beep and Pixel libraries.


For Linux distrobutions, you will need libasound2-dev package. Your go version should be 17+

git clone https://github.com/ambertide/chip8
cd chip8
make all

The built file can be accessed in the build/chip8 directory. If you have added the chip8 to the path, simply

chip8 -rom myrom.ch8

to play a rom.

You can also specify the speed using -speed flag, by default, the speed is 500MHz


View Github