oam

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAM

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

OAM captures the current state of sprite memory

func New

func New() *OAM

New OAM

func (*OAM) Corrupt

func (m *OAM) Corrupt()

func (*OAM) EnterMode2

func (m *OAM) EnterMode2()

func (*OAM) ExitMode2

func (m *OAM) ExitMode2()

func (*OAM) PPURead

func (m *OAM) PPURead(addr uint16) uint8

func (*OAM) Read

func (m *OAM) Read(addr uint16) uint8

func (*OAM) ReadDMA

func (m *OAM) ReadDMA() uint8

func (*OAM) TickDMA

func (m *OAM) TickDMA(read func(uint16) uint8)

func (*OAM) TriggerWriteCorruption

func (m *OAM) TriggerWriteCorruption(u16 uint16)

func (*OAM) Write

func (m *OAM) Write(addr uint16, value uint8)

func (*OAM) WriteDMA

func (m *OAM) WriteDMA(value uint8)

Jump to

Keyboard shortcuts

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