Skip to content

codemicro/chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Chip-8 emulator written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages