Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xnathanw/chip-8

A Chip8 emulator built in Go.
https://github.com/0xnathanw/chip-8

chip-8 chip8 emulator go golang tcell terminal tui

Last synced: about 2 hours ago
JSON representation

A Chip8 emulator built in Go.

Awesome Lists containing this project

README

        

# **Chip-8** #
Chip-8 is a very basic interpreted programming language written for computers in the 1970's, mainly for writing games.

This is an implementation of a virtual machine for Chip-8 written in Go. It loads and runs programs, and allows users to pause and step through individual opcodes. Users can also set their own colour configs.

## Demo ##
[![asciicast](https://asciinema.org/a/GCeqUwVQ1ZU8Q4uppy2bi1AsE.svg)](https://asciinema.org/a/GCeqUwVQ1ZU8Q4uppy2bi1AsE)

## Installation ##
To install, clone the repository with git, and build with `go build`.

ROMs can be added by adding them to the 'ROMs' folder. Note this folder is required for the program to read from.

## Usage ##
Run the program, with optional flags -fg and -bg for foreground and background colours. A list of available colours are in colours.txt.

`./chip8 -fg=green -bg=black`

Programs can be paused and unpaused by pressing `p`. While paused the program can be exited by pressing `escape` or a new ROM can be loaded into memory by pressing `r`.