A CHIP-8 emulator is a program that simulates the behavior of the CHIP-8, an interpreted programming language used in simple 8-bit computers, allowing the execution of classic games and applications designed for the CHIP-8 platform.
go get -u github.com/veandco/go-sdl2/sdl
Note: Read the installation instructions for sdl2 library from go-sdl2 for your os platform.
go get -u github.com/shariqali-dev/chip8-emulator
Sample roms can be used to test the installation.
go mod tidy
go run ./cmd/chip8 <path/to/rom>
or
make build
./bin/chip8 ./roms/filter.ch8
Chip8 keypad Keyboard mapping
1 | 2 | 3 | C 1 | 2 | 3 | 4
4 | 5 | 6 | D => Q | W | E | R
7 | 8 | 9 | E => A | S | D | F
A | 0 | B | F Z | X | C | V
