chip8

package
v0.0.0-...-58e8fdf Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2016 License: MIT Imports: 4 Imported by: 0

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 NewChip8

func NewChip8(rom []uint8, g *Graphics) (c *Chip8)

func (*Chip8) Tick

func (c *Chip8) Tick() error

Process Instructions

type Graphics

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

func NewGraphics

func NewGraphics() (g *Graphics)

func (*Graphics) ClearScreen

func (g *Graphics) ClearScreen()

Set the screen to black

func (*Graphics) DrawScreen

func (g *Graphics) DrawScreen()

func (*Graphics) DrawSprite

func (g *Graphics) DrawSprite(x, y uint8, sprite [8][]bool) uint8

Jump to

Keyboard shortcuts

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