apu

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 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 APU

type APU struct {
	Enabled bool
	// contains filtered or unexported fields
}

func New

func New() *APU

func (*APU) LoadState

func (a *APU) LoadState(r *binario.Reader) error

func (*APU) Output

func (a *APU) Output() float32

func (*APU) PendingIRQ

func (a *APU) PendingIRQ() (v bool)

func (*APU) Read

func (a *APU) Read(addr uint16) (status byte)

func (*APU) Reset

func (a *APU) Reset()

func (*APU) SaveState

func (a *APU) SaveState(w *binario.Writer) error

func (*APU) SetDMACallback

func (a *APU) SetDMACallback(cb func(addr uint16) byte)

func (*APU) Tick

func (a *APU) Tick()

func (*APU) Write

func (a *APU) Write(addr uint16, value byte)

Jump to

Keyboard shortcuts

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