C# Class NesHd.Core.PPU.Ppu

Afficher le fichier Open project: afonsof/nes-hd Class Usage Examples

Méthodes publiques

Свойство Type Description
BackgroundClipping bool
BackgroundVisibility bool
CheckZapperHit bool
ColorEmphasis ushort
CurrentScanLine int
ExecuteNMIonVBlank bool
FixScroll bool
FixScroll2 bool
FixScroll3 bool
HScroll byte
IsMapperMirroring bool
MonochromeMode bool
Palette int[]
PatternTableAddress8X8Sprites int
PatternTableAddressBackground int
PpuToggle bool
ReloadBits2000 byte
ScanlineOfVblank int
ScanlinesPerFrame int
SprRam byte[]
Sprite0Hit bool
SpriteClipping bool
SpriteCrossed int
SpriteRamAddress byte
SpriteSize bool
SpriteVisibility bool
TileY int
VBits int
VBlank bool
VRam byte[]
VRamAddress ushort
VRamAddressIncrement int
VRamReadBuffer byte
VRamTemp ushort
VScroll int
ZapperFrame int
ZapperX int
ZapperY int

Méthodes publiques

Méthode Description
DoScanline ( ) : bool

True when NMI is needed

GetX ( int offset, int desl, int multi ) : int
GetY ( int offset, int w, int multi ) : int
Ppu ( TvFormat tv, PaletteFormat paletteFormat, NesEngine engine ) : System.Drawing

The picture unit

Read2002 ( ) : byte
Read2004 ( ) : byte
Read2007 ( ) : byte
SetTvFormat ( TvFormat format, PaletteFormat plFormat ) : void
Write2000 ( byte value ) : void
Write2001 ( byte value ) : void
Write2003 ( byte value ) : void
Write2004 ( byte value ) : void
Write2005 ( byte value ) : void
Write2006 ( byte value ) : void
Write2007 ( byte value ) : void
Write4014 ( byte value ) : void

Private Methods

Méthode Description
Draw8X16Sprite ( int i, byte yCoordinate ) : void
Draw8X8Sprite ( int i, byte yCoordinate ) : void
DrawHdTile ( int i, int spriteOffset, int lineToDraw ) : bool
RenderBackground ( ) : void
RenderSprites ( int behind ) : void

Method Details

DoScanline() public méthode

True when NMI is needed
public DoScanline ( ) : bool
Résultat bool

GetX() public méthode

public GetX ( int offset, int desl, int multi ) : int
offset int
desl int
multi int
Résultat int

GetY() public méthode

public GetY ( int offset, int w, int multi ) : int
offset int
w int
multi int
Résultat int

Ppu() public méthode

The picture unit
public Ppu ( TvFormat tv, PaletteFormat paletteFormat, NesEngine engine ) : System.Drawing
tv TvFormat The tv format
paletteFormat PaletteFormat Palette Format
engine NesEngine Engine NES
Résultat System.Drawing

Read2002() public méthode

public Read2002 ( ) : byte
Résultat byte

Read2004() public méthode

public Read2004 ( ) : byte
Résultat byte

Read2007() public méthode

public Read2007 ( ) : byte
Résultat byte

SetTvFormat() public méthode

public SetTvFormat ( TvFormat format, PaletteFormat plFormat ) : void
format TvFormat
plFormat PaletteFormat
Résultat void

Write2000() public méthode

public Write2000 ( byte value ) : void
value byte
Résultat void

Write2001() public méthode

public Write2001 ( byte value ) : void
value byte
Résultat void

Write2003() public méthode

public Write2003 ( byte value ) : void
value byte
Résultat void

Write2004() public méthode

public Write2004 ( byte value ) : void
value byte
Résultat void

Write2005() public méthode

public Write2005 ( byte value ) : void
value byte
Résultat void

Write2006() public méthode

public Write2006 ( byte value ) : void
value byte
Résultat void

Write2007() public méthode

public Write2007 ( byte value ) : void
value byte
Résultat void

Write4014() public méthode

public Write4014 ( byte value ) : void
value byte
Résultat void

Property Details

BackgroundClipping public_oe property

public bool BackgroundClipping
Résultat bool

BackgroundVisibility public_oe property

public bool BackgroundVisibility
Résultat bool

CheckZapperHit public_oe property

public bool CheckZapperHit
Résultat bool

ColorEmphasis public_oe property

public ushort ColorEmphasis
Résultat ushort

CurrentScanLine public_oe property

public int CurrentScanLine
Résultat int

ExecuteNMIonVBlank public_oe property

public bool ExecuteNMIonVBlank
Résultat bool

FixScroll public_oe property

public bool FixScroll
Résultat bool

FixScroll2 public_oe property

public bool FixScroll2
Résultat bool

FixScroll3 public_oe property

public bool FixScroll3
Résultat bool

HScroll public_oe property

public byte HScroll
Résultat byte

IsMapperMirroring public_oe property

public bool IsMapperMirroring
Résultat bool

MonochromeMode public_oe property

public bool MonochromeMode
Résultat bool

Palette public_oe property

public int[] Palette
Résultat int[]

PatternTableAddress8X8Sprites public_oe property

public int PatternTableAddress8X8Sprites
Résultat int

PatternTableAddressBackground public_oe property

public int PatternTableAddressBackground
Résultat int

PpuToggle public_oe property

public bool PpuToggle
Résultat bool

ReloadBits2000 public_oe property

public byte ReloadBits2000
Résultat byte

ScanlineOfVblank public_oe property

public int ScanlineOfVblank
Résultat int

ScanlinesPerFrame public_oe property

public int ScanlinesPerFrame
Résultat int

SprRam public_oe property

public byte[] SprRam
Résultat byte[]

Sprite0Hit public_oe property

public bool Sprite0Hit
Résultat bool

SpriteClipping public_oe property

public bool SpriteClipping
Résultat bool

SpriteCrossed public_oe property

public int SpriteCrossed
Résultat int

SpriteRamAddress public_oe property

public byte SpriteRamAddress
Résultat byte

SpriteSize public_oe property

public bool SpriteSize
Résultat bool

SpriteVisibility public_oe property

public bool SpriteVisibility
Résultat bool

TileY public_oe property

public int TileY
Résultat int

VBits public_oe property

public int VBits
Résultat int

VBlank public_oe property

public bool VBlank
Résultat bool

VRam public_oe property

public byte[] VRam
Résultat byte[]

VRamAddress public_oe property

public ushort VRamAddress
Résultat ushort

VRamAddressIncrement public_oe property

public int VRamAddressIncrement
Résultat int

VRamReadBuffer public_oe property

public byte VRamReadBuffer
Résultat byte

VRamTemp public_oe property

public ushort VRamTemp
Résultat ushort

VScroll public_oe property

public int VScroll
Résultat int

ZapperFrame public_oe property

public int ZapperFrame
Résultat int

ZapperX public_oe property

public int ZapperX
Résultat int

ZapperY public_oe property

public int ZapperY
Résultat int