ppu

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PPU

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

func New

func New(ppuBus *PPUBus) *PPU

func (*PPU) DMA

func (p *PPU) DMA(data []uint8)

func (*PPU) ReadRegister

func (p *PPU) ReadRegister(addr uint16) uint8

func (*PPU) Run

func (p *PPU) Run(cycle uint) *screen

func (*PPU) WriteRegister

func (p *PPU) WriteRegister(addr uint16, data uint8)

type PPUBus

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

func NewBus

func NewBus(characterROM []uint8) *PPUBus

func (*PPUBus) Read

func (b *PPUBus) Read(addr uint16) uint8

func (*PPUBus) Write

func (b *PPUBus) Write(addr uint16, data uint8)

Jump to

Keyboard shortcuts

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