C# 클래스 NesHd.Core.PPU.Ppu

파일 보기 프로젝트 열기: afonsof/nes-hd 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

DoScanline() 공개 메소드

True when NMI is needed
public DoScanline ( ) : bool
리턴 bool

GetX() 공개 메소드

public GetX ( int offset, int desl, int multi ) : int
offset int
desl int
multi int
리턴 int

GetY() 공개 메소드

public GetY ( int offset, int w, int multi ) : int
offset int
w int
multi int
리턴 int

Ppu() 공개 메소드

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
리턴 System.Drawing

Read2002() 공개 메소드

public Read2002 ( ) : byte
리턴 byte

Read2004() 공개 메소드

public Read2004 ( ) : byte
리턴 byte

Read2007() 공개 메소드

public Read2007 ( ) : byte
리턴 byte

SetTvFormat() 공개 메소드

public SetTvFormat ( TvFormat format, PaletteFormat plFormat ) : void
format TvFormat
plFormat PaletteFormat
리턴 void

Write2000() 공개 메소드

public Write2000 ( byte value ) : void
value byte
리턴 void

Write2001() 공개 메소드

public Write2001 ( byte value ) : void
value byte
리턴 void

Write2003() 공개 메소드

public Write2003 ( byte value ) : void
value byte
리턴 void

Write2004() 공개 메소드

public Write2004 ( byte value ) : void
value byte
리턴 void

Write2005() 공개 메소드

public Write2005 ( byte value ) : void
value byte
리턴 void

Write2006() 공개 메소드

public Write2006 ( byte value ) : void
value byte
리턴 void

Write2007() 공개 메소드

public Write2007 ( byte value ) : void
value byte
리턴 void

Write4014() 공개 메소드

public Write4014 ( byte value ) : void
value byte
리턴 void

프로퍼티 상세

BackgroundClipping 공개적으로 프로퍼티

public bool BackgroundClipping
리턴 bool

BackgroundVisibility 공개적으로 프로퍼티

public bool BackgroundVisibility
리턴 bool

CheckZapperHit 공개적으로 프로퍼티

public bool CheckZapperHit
리턴 bool

ColorEmphasis 공개적으로 프로퍼티

public ushort ColorEmphasis
리턴 ushort

CurrentScanLine 공개적으로 프로퍼티

public int CurrentScanLine
리턴 int

ExecuteNMIonVBlank 공개적으로 프로퍼티

public bool ExecuteNMIonVBlank
리턴 bool

FixScroll 공개적으로 프로퍼티

public bool FixScroll
리턴 bool

FixScroll2 공개적으로 프로퍼티

public bool FixScroll2
리턴 bool

FixScroll3 공개적으로 프로퍼티

public bool FixScroll3
리턴 bool

HScroll 공개적으로 프로퍼티

public byte HScroll
리턴 byte

IsMapperMirroring 공개적으로 프로퍼티

public bool IsMapperMirroring
리턴 bool

MonochromeMode 공개적으로 프로퍼티

public bool MonochromeMode
리턴 bool

Palette 공개적으로 프로퍼티

public int[] Palette
리턴 int[]

PatternTableAddress8X8Sprites 공개적으로 프로퍼티

public int PatternTableAddress8X8Sprites
리턴 int

PatternTableAddressBackground 공개적으로 프로퍼티

public int PatternTableAddressBackground
리턴 int

PpuToggle 공개적으로 프로퍼티

public bool PpuToggle
리턴 bool

ReloadBits2000 공개적으로 프로퍼티

public byte ReloadBits2000
리턴 byte

ScanlineOfVblank 공개적으로 프로퍼티

public int ScanlineOfVblank
리턴 int

ScanlinesPerFrame 공개적으로 프로퍼티

public int ScanlinesPerFrame
리턴 int

SprRam 공개적으로 프로퍼티

public byte[] SprRam
리턴 byte[]

Sprite0Hit 공개적으로 프로퍼티

public bool Sprite0Hit
리턴 bool

SpriteClipping 공개적으로 프로퍼티

public bool SpriteClipping
리턴 bool

SpriteCrossed 공개적으로 프로퍼티

public int SpriteCrossed
리턴 int

SpriteRamAddress 공개적으로 프로퍼티

public byte SpriteRamAddress
리턴 byte

SpriteSize 공개적으로 프로퍼티

public bool SpriteSize
리턴 bool

SpriteVisibility 공개적으로 프로퍼티

public bool SpriteVisibility
리턴 bool

TileY 공개적으로 프로퍼티

public int TileY
리턴 int

VBits 공개적으로 프로퍼티

public int VBits
리턴 int

VBlank 공개적으로 프로퍼티

public bool VBlank
리턴 bool

VRam 공개적으로 프로퍼티

public byte[] VRam
리턴 byte[]

VRamAddress 공개적으로 프로퍼티

public ushort VRamAddress
리턴 ushort

VRamAddressIncrement 공개적으로 프로퍼티

public int VRamAddressIncrement
리턴 int

VRamReadBuffer 공개적으로 프로퍼티

public byte VRamReadBuffer
리턴 byte

VRamTemp 공개적으로 프로퍼티

public ushort VRamTemp
리턴 ushort

VScroll 공개적으로 프로퍼티

public int VScroll
리턴 int

ZapperFrame 공개적으로 프로퍼티

public int ZapperFrame
리턴 int

ZapperX 공개적으로 프로퍼티

public int ZapperX
리턴 int

ZapperY 공개적으로 프로퍼티

public int ZapperY
리턴 int