chip8

module
v0.0.0-...-19e7a64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: MIT

README

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.

Installation

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

Directories

Path Synopsis
cmd
pkg
emulator/device
Contains structs and methods for the chip-8 memory.
Contains structs and methods for the chip-8 memory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL