chip8

command module
v0.0.0-...-52261ca Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: MIT Imports: 4 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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