Skip to content

ravener/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8

A CHIP-8 emulator written in Go.

screenshot

Install

This package depends on:

You can use the go install command to easily fetch the code and automatically build it alongside the dependencies and add it to your $GOPATH/bin

go install github.com/ravener/chip8

Usage

chip8 <file.rom>

Controls:

Keypad             Keyboard
+-+-+-+-+          +-+-+-+-+
|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|
+-+-+-+-+          +-+-+-+-+
  • ESC to close the window.
  • Space to pause the emulator.
  • F11 to take a screenshot in the current directory.

Resources

TODO

  • Fix timing. (Currently I cheated by relying on V-Sync)
  • Audio output.

License

MIT License

About

A CHIP-8 interpreter written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages