emulator

package
v0.0.0-...-7fee067 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emulator

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

func New

func New(fp fontProcessingUnit, clock clock, dsp dsp, frameBuffer frameBuffer, tileMemory tileMemory, rp renderPipeline) *Emulator

func (Emulator) AddToRenderPipeline

func (e Emulator) AddToRenderPipeline(t *texture.Texture)

func (Emulator) ClearRenderPipeline

func (e Emulator) ClearRenderPipeline()

func (*Emulator) FillDisplay

func (e *Emulator) FillDisplay(c uint8)

func (Emulator) GetRenderPipeline

func (e Emulator) GetRenderPipeline() []*texture.Texture

func (*Emulator) LoadCart

func (e *Emulator) LoadCart(c cart)

func (Emulator) Render

func (e Emulator) Render()

func (*Emulator) ResetFB

func (e *Emulator) ResetFB()

func (*Emulator) SetScreenHeight

func (e *Emulator) SetScreenHeight(v int)

func (*Emulator) SetScreenWidth

func (e *Emulator) SetScreenWidth(v int)

func (Emulator) Update

func (e Emulator) Update()

Directories

Path Synopsis
devices
dsp

Jump to

Keyboard shortcuts

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