software

package
v0.0.0-...-cc98a46 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Z_BD = iota
	Z_BG
	Z_SPR
	Z_MASTER_SPR = 100 // CGBモードでLCDC.0が0のときは必ずスプライトが前面に来る
)

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, oam []uint8, model int) *Software

func (*Software) DrawScanline

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

func (*Software) GetBGPD

func (s *Software) GetBGPD() uint8

func (*Software) GetOBPD

func (s *Software) GetOBPD() uint8

func (*Software) SetBGP

func (s *Software) SetBGP(val uint8)

func (*Software) SetBGPD

func (s *Software) SetBGPD(val uint8) uint8

func (*Software) SetBGPI

func (s *Software) SetBGPI(val uint8)

func (*Software) SetLCDC

func (s *Software) SetLCDC(val uint8)

func (*Software) SetOBP0

func (s *Software) SetOBP0(val uint8)

func (*Software) SetOBP1

func (s *Software) SetOBP1(val uint8)

func (*Software) SetOBPD

func (s *Software) SetOBPD(val uint8) uint8

func (*Software) SetOBPI

func (s *Software) SetOBPI(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