Skip to content

shivamanipatil/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chip 8

CHIP - 8 emulator written in golang

Installing and running

Download sdl drivers for your operating system.

  • clone this repo
git clone https://github.com/shivamanipatil/chip8.git
  • Running
go run main.go <modifier> <rom path>

Modifier is used to set logical size to pixel.Default chip8 resolution was 64x32 so e.g modifier of 10 will make window size 640x320

  • example running
go run main.go 10 ~/roms/pong.c8

Bindings

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

Todo

  • Compile to WebAssembly or js

Sources

About

chip 8 emulator written in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages