class

PPU

Inherits Reference / Object

Constants

SIZE_OF_LINE = 2
SIZE_OF_TILE = 16

Constructors

new(window : SF::RenderWindow)
Source

Instance methods

bgp=(bgp : UInt8)
Source
canSpriteBeDrawn(priority, framebufferIndex)
Source
changeMode(mode : PPUModes)
Source
compareLYC
Source
getColorFromPalette(color, palette)
Source
lcdc
Source
lcdc=(lcdc : UInt8)
Source
ly=(ly : UInt8)
Source
lyc=(lyc : UInt8)
Source
oam=(oam : Array(UInt8))
Source
obp0
Source
obp0=(obp0 : UInt8)
Source
obp1
Source
obp1=(obp1 : UInt8)
Source
readVRAM(addr : UInt16)
Source
readVRAM16(addr : UInt16)
Source
renderBG
Source
renderBuffer
Source
renderOBJs
Source
renderScanline
Source
scx=(scx : UInt8)
Source
scy=(scy : UInt8)
Source
set_color(color, framebufferIndex)
Source
stat
Source
stat=(stat : UInt8)
Source
statIRQRequest
Source
statIRQRequest=(statIRQRequest : Bool)
Source
step(cycles)
Source
vBlankIRQRequest
Source
vBlankIRQRequest=(vBlankIRQRequest : Bool)
Source
vram
Source
vram=(vram : Array(UInt8))
Source
writeLCDC(value : UInt8)
Source
wx=(wx : UInt8)
Source
wy=(wy : UInt8)
Source