Documentation ¶
Index ¶
Constants ¶
View Source
const ( CYCLES_PER_SCANLINE uint16 = 341 NUM_SCANLINES = 262 POWERUP_SCANLINE = 241 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressFlag ¶
type AddressFlag uint16
const ( CoarseXScroll AddressFlag = 1 << iota CoarseYScroll NametableSelect FineYScroll )
type ControllerFlag ¶
type ControllerFlag uint8
const ( BaseNametableAddress ControllerFlag = 1 << iota VRAMAddressIncrement SpritePatternAddress BackgroundPatternAddress SpriteSize NMIOnVBlank )
type OAM ¶
type OAM struct { *m65go2.BasicMemory Buffer *m65go2.BasicMemory // contains filtered or unexported fields }
type RP2C02 ¶
type RP2C02 struct { Output chan []uint8 Registers Registers Memory *rp2ago3.MappedMemory Interrupt func(state bool) Cycles chan uint16 // contains filtered or unexported fields }
type Registers ¶
type SpriteFlag ¶
type SpriteFlag uint32
const ( // byte 0 YPosition SpriteFlag = 1 << iota // byte 1 TileBank TileNumber // byte 2 SpritePalette Priority FlipHorizontally FlipVertically // byte 3 XPosition )
type StatusFlag ¶
type StatusFlag uint8
const ( SpriteOverflow StatusFlag Sprite0Hit VBlankStarted )
Click to show internal directories.
Click to hide internal directories.