Documentation ¶
Index ¶
Constants ¶
View Source
const ( Carry = 0x01 Zero = 0x02 Irq = 0x04 Decimal = 0x08 Break = 0x10 Reserved = 0x20 Overflow = 0x40 Negative = 0x80 )
View Source
const HeaderSize = 0x0010
Variables ¶
View Source
var ( UpLeft = image.Point{X: 0, Y: 0} DownRight = image.Point{X: 256, Y: 240} )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) SetButton ¶
func (c *Controller) SetButton(b [8]bool)
type Cpu ¶
type Cpu struct { A byte X byte Y byte S byte P byte PC word // contains filtered or unexported fields }
func (*Cpu) InterruptNmi ¶
func (c *Cpu) InterruptNmi()
type Ines ¶
func NewCassette ¶
type Instruction ¶
type Instruction struct {
// contains filtered or unexported fields
}
type Mapper0 ¶
type Mapper0 struct {
// contains filtered or unexported fields
}
func (*Mapper0) IsHorizontalMirror ¶
type Ppu ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
func NewRenderer() *Renderer
Click to show internal directories.
Click to hide internal directories.