Skip to content

Smelton01/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip8

License: MIT CI

A Chip-8 interpreter written in Go.

Chip-8 is a simple, interpreted, programming language which was first used on some do-it-yourself computer systems in the late 1970s and early 1980s. With only 4KB of memory and 36 instructions it is the perfect system to build when getting into emulator building.

Requirements

Installation

Clone the repository and install on your machine.

git clone https://github.com/Smelton01/chip8
cd chip8 && go install cmd/chip8/main.go
./chip8

Select your favorite game/rom from the menu and start playing.

Keyboard Layout:

The CHIP-8 machine uses a hexadecimal keypad with 16 keys, labelled 0 through F, arranged in a 4x4 grid and mapped to a QWERTY layout keyboard as follows.

Chip8 Keypad:

1 2 3 C
4 5 6 D
7 8 9 E
A 0 B F

Emulator Keyboard Mapping:

1 2 3 4
Q W E R
A S D F
Z X C V

Testing

Run the following command to run the unit tests for the packages.

go test -v ./...

License

This project is open source and available under the MIT License.

About

A go implementation of the Chip8 interpreter.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published