chip8

package module
v0.0.0-...-88458b9 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 2 Imported by: 0

README

CHIP-8 Interpreter

A CHIP-8 interpreter written in Go and compiled to WebAssembly so that it can be run in the browser. Based on Colin Eberhardt's implementation of the project [1], which was originally done in Rust.

GUI

Usage

Build chip8.wasm using the Makefile:

make build

Start server.py to run locally:

python3 server.py

Finally, head to localhost:12345, choose a ROM, and press "Start" to play.

References

[1] https://blog.scottlogic.com/2017/12/13/chip8-emulator-webassembly-rust.html
[2] http://devernay.free.fr/hacks/chip8/C8TECH10.HTM
[3] http://www.multigesture.net/articles/how-to-write-an-emulator-chip-8-interpreter/
[4] https://blog.gopheracademy.com/advent-2018/go-in-the-browser/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chip8

type Chip8 struct {
	// contains filtered or unexported fields
}

func New

func New() *Chip8

func (*Chip8) Start

func (c *Chip8) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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