software

package
v0.0.0-...-1fe299f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const KB = 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type Software

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

func New

func New(vram []uint8, palette []rgb555, oam []uint8, isCGB func() bool) *Software

func (*Software) DrawScanline

func (s *Software) DrawScanline(y int, scanline []color.NRGBA)

func (*Software) SetBGP

func (s *Software) SetBGP(val uint8)

func (*Software) SetLCDC

func (s *Software) SetLCDC(val uint8)

func (*Software) SetOBP

func (s *Software) SetOBP(bank, val uint8)

func (*Software) SetSCX

func (s *Software) SetSCX(val uint8)

func (*Software) SetSCY

func (s *Software) SetSCY(val uint8)

func (*Software) SetWX

func (s *Software) SetWX(val uint8)

func (*Software) SetWY

func (s *Software) SetWY(val uint8)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳