|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--NESPictureProcessingUnit
This class only contains all the variables of the NES Picture Processing Unit, also known as PPU.
This code is GPL. :o)
Copyright (c) 2000 Brice Fines.
Field Summary | |
protected boolean |
AddressMode
Indicates if byte is first or second half address. |
protected int |
BackgroundClipping
Indicates if background is visible in the left 8-pixel column. |
protected char |
BackgroundPatternTableAddress
Indicates background pattern table address base which can be 0 or 0x100 (for cache implementation purpose). |
protected boolean |
BackgroundVisibility
Indicates if background is visible. |
protected byte |
ColorIntensity
Indicates which color component (R, G, B) should be intensified. |
protected byte |
FullBackgroundColor
Indicates background color for monochrome display mode. |
protected char |
HalfVRAMAddress
First half of the VRAM address (high byte). |
protected boolean |
IsDisplayTypeColorDisplay
Indicates which display type is used: color or monochrome. |
protected boolean |
IsExecuteNMIOnVBlankEnabled
Indicates if NMI can be executed during VBlank. |
protected boolean |
IsPPUSlave
Indicates the PPU configuration. |
protected boolean |
IsThereMoreThanEightSpritesOnScanline
|
protected char[] |
Memory
Video RAM, also known as VRAM. |
protected char |
NameTable1
Indicates nameTable 1 address according to mirroring (vertical or horizontal, specified in the NES file header). |
protected char |
NameTable2
Indicates nameTable 2 address according to mirroring (vertical or horizontal, specified in the NES file header). |
protected char |
Scanline
Current scanline. |
protected int |
SpriteClipping
Indicates if sprites are visible in the left 8-pixel column. |
protected char |
SpritePatternTableAddress
Indicates sprite pattern table address base which can be 0 or 0x100 (for cache implementation purpose). |
protected char[] |
SpriteRam
Sprite RAM. |
protected byte |
SpriteSize
Indicates sprite size which can be 8 or 16. |
protected boolean |
SpriteVisibility
Indicates if sprites are visible. |
protected char |
TempVRAMAddressRegister
Temp VRam Address register. |
protected char |
VRAMAddress
Complete VRAM address (word). |
protected byte |
VRAMAddressIncrement
Indicates which value should be added to VRAM address: 1 or 32. |
protected char |
VRAMAddressRegister
VRAM address register ($2006). |
protected char |
VRAMDataBuffer
Buffer used to access VRAM data (except for color palette). |
protected boolean |
WasSpriteZeroHit
Indicates if sprite 0 was hit. |
protected int |
XOffset
Used in scroll effects. |
Constructor Summary | |
NESPictureProcessingUnit()
|
Method Summary | |
void |
NESPictureProcessingUnit()
Constructor. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected char[] Memory
protected char[] SpriteRam
protected boolean IsExecuteNMIOnVBlankEnabled
protected boolean IsPPUSlave
protected byte SpriteSize
protected char BackgroundPatternTableAddress
protected char SpritePatternTableAddress
protected byte VRAMAddressIncrement
protected boolean IsDisplayTypeColorDisplay
protected int BackgroundClipping
protected int SpriteClipping
protected boolean BackgroundVisibility
protected boolean SpriteVisibility
protected byte ColorIntensity
protected byte FullBackgroundColor
protected boolean AddressMode
protected boolean WasSpriteZeroHit
protected boolean IsThereMoreThanEightSpritesOnScanline
protected char VRAMDataBuffer
protected char HalfVRAMAddress
protected char VRAMAddress
protected char VRAMAddressRegister
protected char TempVRAMAddressRegister
protected int XOffset
protected char Scanline
protected char NameTable1
protected char NameTable2
Constructor Detail |
public NESPictureProcessingUnit()
Method Detail |
public void NESPictureProcessingUnit()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |