Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FreeScreen ¶
func FreeScreen(img *ScreenImage)
Types ¶
type PPU ¶
type PPU struct {
// contains filtered or unexported fields
}
func New ¶
func New(mmu mmu.MMU, screen chan<- *ScreenImage, exitChan <-chan struct{}) *PPU
New creates a new ppu and connects it to the given mmu
func (*PPU) PrintPalettes ¶
func (p *PPU) PrintPalettes()
type ScreenImage ¶
type ScreenImage [consts.DisplayHeight * consts.DisplayWidth]RGB
func (*ScreenImage) Bounds ¶
func (s *ScreenImage) Bounds() image.Rectangle
func (*ScreenImage) ColorModel ¶
func (s *ScreenImage) ColorModel() color.Model
Click to show internal directories.
Click to hide internal directories.