chip8

module
v0.0.0-...-654b2c4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT

README

chip8

A Chip-8 emulator written in Golang


IBM logo

Slippery slope game

Build

Prerequisites:

git clone https://github.com/codemicro/chip8.git
cd chip8

mage build
# output in ./bin/yourOS-yourPlatform/

Run

Usage: c8run [--verbose] [--scale SCALE] [--frequency FREQUENCY] [--clock CLOCK] [--foreground FOREGROUND] [--background BACKGROUND] INPUTFILE

Positional arguments:
  INPUTFILE

Options:
  --verbose, -v          enable verbose/debug mode
  --scale SCALE, -s SCALE
                         UI scale factor [default: 5]
  --frequency FREQUENCY
                         sound timer tone frequency [default: 350]
  --clock CLOCK, -c CLOCK
                         approximate clock speed in hertz [default: 500]
  --foreground FOREGROUND, -f FOREGROUND
                         foreground hex colour [default: 3D8026]
  --background BACKGROUND, -b BACKGROUND
                         background hex colour [default: F9FFB3]
  --help, -h             display this help and exit

To-do

  • Full unit tests for VM

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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