Versions in this module Expand all Collapse all v1 v1.0.0 Jan 26, 2024 Changes in this version + var Colors [64]color.RGBA + type CtrlFlags = uint8 + const CtrlIncrementMode + const CtrlNMI + const CtrlPatternTableSelect + const CtrlSlaveMode + const CtrlSpritePatternAddr + const CtrlSpriteSize + type MaskFlags = uint8 + const MaskEmphasizeBlue + const MaskEmphasizeGreen + const MaskEmphasizeRed + const MaskGrayscale + const MaskShowBackground + const MaskShowLeftSprites + const MaskShowLeftTiles + const MaskShowSprites + type PPU struct + FastForward bool + Frame [256][240]color.RGBA + NoSpriteLimit bool + func New(cart ines.Cartridge) *PPU + func (p *PPU) DisableFastForward() + func (p *PPU) EnableFastForward() + func (p *PPU) FrameComplete() (v bool) + func (p *PPU) LoadState(r *binario.Reader) error + func (p *PPU) PendingNMI() (v bool) + func (p *PPU) Read(addr uint16) uint8 + func (p *PPU) Reset() + func (p *PPU) SaveState(w *binario.Writer) error + func (p *PPU) ScanlineComplete() (v bool) + func (p *PPU) SetDMACallback(callback dmaFunc) + func (p *PPU) Tick() + func (p *PPU) TransferOAM(pageAddr uint8) + func (p *PPU) Write(addr uint16, data uint8) + type Sprite struct + Behind bool + FlipX bool + FlipY bool + Index int + PaletteID uint8 + Pixels [8][16]uint8 + X uint8 + Y uint8 + type StatusFlags = uint8 + const StatusSpriteOverflow + const StatusSpriteZeroHit + const StatusVBlank + type Tile struct + PaletteID uint8 + Pixels [8][8]uint8