Documentation ¶
Index ¶
- Constants
- type Address
- func (r *Address) Get() uint16
- func (r *Address) Increment(inc byte)
- func (r *Address) IncrementX()
- func (r *Address) IncrementY()
- func (r *Address) LoadX(other Address)
- func (r *Address) LoadY(other Address)
- func (r *Address) Set(data uint16)
- func (r *Address) WriteHi(data byte)
- func (r *Address) WriteLo(data byte)
- func (r *Address) WriteScrollX(data byte)
- func (r *Address) WriteScrollY(data byte)
- type Control
- type Mask
- type Status
Constants ¶
View Source
const ( CtrlNametableX = 1 << iota CtrlNametableY CtrlIncrementMode CtrlSpriteTileSelect CtrlBgTileSelect CtrlSpriteHeight CtrlMasterSlaveSelect CtrlEnableNMI )
View Source
const ( MaskGrayscale = 1 << iota MaskBgLeftColEnable MaskSpriteLeftColEnable MaskBackgroundEnable MaskSpriteEnable MaskEmphasizeRed MaskEmphasizeGreen MaskEmphasizeBlue )
View Source
const ( StatusSpriteOverflow = 1 << (iota + 5) StatusSpriteZeroHit StatusVblank )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
func (*Address) IncrementX ¶
func (r *Address) IncrementX()
func (*Address) IncrementY ¶
func (r *Address) IncrementY()
func (*Address) WriteScrollX ¶
func (*Address) WriteScrollY ¶
type Control ¶
type Control struct { NametableX bool NametableY bool IncrementMode bool SpriteTileSelect bool BgTileSelect bool SpriteHeight bool MasterSlaveSelect bool EnableNMI bool }
func (Control) BgTileAddr ¶
func (Control) SpriteSize ¶
func (Control) SpriteTileAddr ¶
Click to show internal directories.
Click to hide internal directories.