tia

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	Spec() spec.Spec
	UseAudio() bool
	UseStereo() bool
	SampleRate() (int, bool)
}

type TIA

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

func Create

func Create(ctx Context, g *gui.GUI, riot riot, limiter limiter) *TIA

func (*TIA) Access

func (tia *TIA) Access(write bool, idx uint16, data uint8) (uint8, error)

func (*TIA) AudioBuffer

func (tia *TIA) AudioBuffer() gui.AudioReader

func (*TIA) Insert added in v0.4.2

func (tia *TIA) Insert(c external.CartridgeInsertor, externalChips audio.SoundChipIterator) error

func (*TIA) Label

func (tia *TIA) Label() string

func (*TIA) PortWrite

func (tia *TIA) PortWrite(idx uint16, data uint8, mask uint8) error

func (*TIA) Reset added in v0.7.0

func (tia *TIA) Reset() error

func (*TIA) Status

func (tia *TIA) Status() string

func (*TIA) Tick

func (tia *TIA) Tick()

Directories

Path Synopsis
Package audio implements the audio generation of the TIA.
Package audio implements the audio generation of the TIA.
mix
Package mix is used to combine two distinct sound sources into either a mono or stereo signal.
Package mix is used to combine two distinct sound sources into either a mono or stereo signal.

Jump to

Keyboard shortcuts

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