gameboy

package
v0.0.0-...-e0ac686 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RomFilename        string
	DisableVideoOutput bool
	DisableAudioOutput bool
	DebugCPU           bool
	DebugLCD           bool
	SerialWriter       io.Writer
}

Config control emulator behaviour

type Gameboy

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

Gameboy represents the Gameboy itself

func New

func New(config Config) *Gameboy

NewGameboy returns a new Gameboy

func (*Gameboy) Cleanup

func (gb *Gameboy) Cleanup()

func (*Gameboy) Run

func (gb *Gameboy) Run(ctx context.Context)

Run the Gameboy

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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