C# Class NES.PPU

ファイルを表示 Open project: mrmikey/nes Class Usage Examples

Public Properties

Property Type Description
AttributeLocationTable byte[]
AttributeShiftTable byte[]
CHRCache byte[]
CPUScaling decimal
CurrentScaline int
CurrentSprite int
Cycle int
CycleCarry float
EndScanline int
Flags PPUFlags
Palette int[]
VBlankAt int
VBlankTime int

Public Methods

Method Description
PPU ( Engine engine ) : System
ReadMemory16 ( ushort addr ) : ushort
ReadMemory8 ( ushort addr ) : byte
Run ( int cpuCycles ) : void
SpriteDMA ( byte val ) : void
VRAMRead ( ) : byte
WriteMemory8 ( ushort addr, byte val ) : void
dumpNametable ( ) : void
dumpSpriteSmall ( int i ) : void
dumpSpriteTall ( int i ) : void

Method Details

PPU() public method

public PPU ( Engine engine ) : System
engine Engine
return System

ReadMemory16() public method

public ReadMemory16 ( ushort addr ) : ushort
addr ushort
return ushort

ReadMemory8() public method

public ReadMemory8 ( ushort addr ) : byte
addr ushort
return byte

Run() public method

public Run ( int cpuCycles ) : void
cpuCycles int
return void

SpriteDMA() public method

public SpriteDMA ( byte val ) : void
val byte
return void

VRAMRead() public method

public VRAMRead ( ) : byte
return byte

WriteMemory8() public method

public WriteMemory8 ( ushort addr, byte val ) : void
addr ushort
val byte
return void

dumpNametable() public method

public dumpNametable ( ) : void
return void

dumpSpriteSmall() public method

public dumpSpriteSmall ( int i ) : void
i int
return void

dumpSpriteTall() public method

public dumpSpriteTall ( int i ) : void
i int
return void

Property Details

AttributeLocationTable public_oe property

public byte[] AttributeLocationTable
return byte[]

AttributeShiftTable public_oe property

public byte[] AttributeShiftTable
return byte[]

CHRCache public_oe property

public byte[] CHRCache
return byte[]

CPUScaling public_oe property

public decimal CPUScaling
return decimal

CurrentScaline public_oe property

public int CurrentScaline
return int

CurrentSprite public_oe property

public int CurrentSprite
return int

Cycle public_oe property

public int Cycle
return int

CycleCarry public_oe property

public float CycleCarry
return float

EndScanline public_oe property

public int EndScanline
return int

Flags public_oe property

public PPUFlags,NES Flags
return PPUFlags

Palette public_oe property

public int[] Palette
return int[]

VBlankAt public_oe property

public int VBlankAt
return int

VBlankTime public_oe property

public int VBlankTime
return int