C# Class UnityGB.X80

Mostrar archivo Open project: Takohi-Jona/unity-gb Class Usage Examples

Public Properties

Property Type Description
SoundChip SoundChip
aButtonPressed bool
bButtonPressed bool
backgroundAndWindowTileDataSelect bool
backgroundBuffer ].uint[
backgroundDisplayed bool
backgroundPalette uint[]
backgroundTileMapDisplaySelect bool
cartridge ICartridge
downKeyPressed bool
emulator UnityGB.Emulator
halted bool
interruptsEnabled bool
keyP14 bool
keyPressedInterruptEnabled bool
keyPressedInterruptRequested bool
largeSprites bool
lcdControlOperationEnabled bool
lcdcHBlankInterruptEnabled bool
lcdcInterruptEnabled bool
lcdcInterruptRequested bool
lcdcLycLyCoincidenceInterruptEnabled bool
lcdcMode LcdcModeType
lcdcOamInterruptEnabled bool
lcdcVBlankInterruptEnabled bool
leftKeyPressed bool
lyCompare int
oam byte[]
objectPalette0 uint[]
objectPalette1 uint[]
rightKeyPressed bool
scrollX int
selectButtonPressed bool
serialIOTransferCompleteInterruptEnabled bool
serialIOTransferCompleteInterruptRequested bool
spriteTile uint[,,,]
spritesDisplayed bool
startButtonPressed bool
stopped bool
ticks int
timerCounter int
timerFrequency TimerFrequencyType
timerModulo int
timerOverflowInterruptEnabled bool
timerOverflowInterruptRequested bool
timerRunning bool
upKeyPressed bool
vBlankInterruptEnabled bool
vBlankInterruptRequested bool
windowBuffer ].uint[
windowDisplayed bool
windowTileMapDisplaySelect bool
windowX int

Public Methods

Method Description
CheckForBadState ( ) : void
KeyChanged ( char keyCode, bool pressed ) : void
PowerUp ( ) : void
ReadByte ( int address ) : int
ReadWord ( int address ) : int
Step ( ) : void
ToString ( ) : string
UpdateBackground ( ) : void
UpdateSpriteTiles ( ) : void
UpdateWindow ( ) : void
WriteByte ( int address, int value ) : void
WriteWord ( int address, int value ) : void
X80 ( UnityGB.Emulator emulator ) : System

Private Methods

Method Description
Add ( int b ) : void
Add ( int addressHigh, int addressLow ) : void
Add ( int &ah, int &al, int bh, int bl ) : void
AddImmediate ( ) : void
AddImmediateWithCarry ( ) : void
AddSPToHL ( ) : void
AddWithCarry ( int b ) : void
AddWithCarry ( int addressHigh, int addressLow ) : void
And ( int b ) : void
And ( int addressHigh, int addressLow ) : void
AndImmediate ( ) : void
Call ( ) : void
CallIfCarry ( ) : void
CallIfNotCarry ( ) : void
CallIfNotZero ( ) : void
CallIfZero ( ) : void
Compare ( int b ) : void
Compare ( int ah, int al ) : void
CompareImmediate ( ) : void
ComplementA ( ) : void
ComplementCarryFlag ( ) : void
DecimallyAdjustA ( ) : void
Decrement ( int &r ) : void
Decrement ( int &rh, int &rl ) : void
DecrementMemory ( int ah, int al ) : void
DecrementWord ( int &r ) : void
Halt ( ) : void
Increment ( int &r ) : void
Increment ( int &rh, int &rl ) : void
IncrementMemory ( int ah, int al ) : void
IncrementWord ( int &r ) : void
Interrupt ( int address ) : void
Jump ( ) : void
Jump ( int ah, int al ) : void
JumpIfCarry ( ) : void
JumpIfNotCarry ( ) : void
JumpIfNotZero ( ) : void
JumpIfZero ( ) : void
JumpRelative ( ) : void
JumpRelativeIfCarry ( ) : void
JumpRelativeIfNotCarry ( ) : void
JumpRelativeIfNotZero ( ) : void
JumpRelativeIfZero ( ) : void
Load ( int &a, int b ) : void
LoadAFromC ( ) : void
LoadAFromImmediate ( ) : void
LoadFromImmediateAddress ( int &r ) : void
LoadHLWithSPPlusImmediate ( ) : void
LoadImmediate ( int &r ) : void
LoadImmediate ( int &rh, int &rl ) : void
LoadImmediateIntoMemory ( int ah, int al ) : void
LoadImmediateWord ( int &r ) : void
LoadSPWithHL ( ) : void
NegateA ( ) : void
NoOperation ( ) : void
OffsetStackPointer ( ) : void
Or ( int b ) : void
Or ( int addressHigh, int addressLow ) : void
OrImmediate ( ) : void
Pop ( int &a ) : void
Pop ( int &rh, int &rl ) : void
PopAF ( ) : void
Push ( int value ) : void
Push ( int rh, int rl ) : void
PushAF ( ) : void
ReadByte ( int &r, int ah, int al ) : void
ResetBit ( int bit, int &a ) : void
ResetBit ( int bit, int ah, int al ) : void
Restart ( int address ) : void
Return ( ) : void
ReturnFromInterrupt ( ) : void
ReturnIfCarry ( ) : void
ReturnIfNotCarry ( ) : void
ReturnIfNotZero ( ) : void
ReturnIfZero ( ) : void
RotateALeft ( ) : void
RotateALeftThroughCarry ( ) : void
RotateARight ( ) : void
RotateARightThroughCarry ( ) : void
RotateLeft ( int &a ) : void
RotateLeft ( int ah, int al ) : void
RotateLeftThroughCarry ( int &a ) : void
RotateLeftThroughCarry ( int ah, int al ) : void
RotateRight ( int &a ) : void
RotateRight ( int ah, int al ) : void
RotateRightThroughCarry ( int &a ) : void
RotateRightThroughCarry ( int ah, int al ) : void
SaveA ( ) : void
SaveAToC ( ) : void
SaveAWithOffset ( ) : void
SetBit ( int bit, int &a ) : void
SetBit ( int bit, int ah, int al ) : void
SetCarryFlag ( ) : void
ShiftLeft ( int &a ) : void
ShiftLeft ( int ah, int al ) : void
SignedShiftRight ( int &a ) : void
SignedShiftRight ( int ah, int al ) : void
Sub ( int b ) : void
Sub ( int ah, int al ) : void
SubImmediate ( ) : void
SubImmediateWithBorrow ( ) : void
SubWithBorrow ( int b ) : void
SubWithBorrow ( int ah, int al ) : void
Swap ( int &r ) : void
Swap ( int ah, int al ) : void
TestBit ( int bit, int a ) : void
TestBit ( int bit, int ah, int al ) : void
UnsignedShiftRight ( int &a ) : void
UnsignedShiftRight ( int ah, int al ) : void
WriteByte ( int ah, int al, int value ) : void
WriteWordToImmediateAddress ( int value ) : void
Xor ( int b ) : void
Xor ( int addressHigh, int addressLow ) : void
XorImmediate ( ) : void

Method Details

CheckForBadState() public method

public CheckForBadState ( ) : void
return void

KeyChanged() public method

public KeyChanged ( char keyCode, bool pressed ) : void
keyCode char
pressed bool
return void

PowerUp() public method

public PowerUp ( ) : void
return void

ReadByte() public method

public ReadByte ( int address ) : int
address int
return int

ReadWord() public method

public ReadWord ( int address ) : int
address int
return int

Step() public method

public Step ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

UpdateBackground() public method

public UpdateBackground ( ) : void
return void

UpdateSpriteTiles() public method

public UpdateSpriteTiles ( ) : void
return void

UpdateWindow() public method

public UpdateWindow ( ) : void
return void

WriteByte() public method

public WriteByte ( int address, int value ) : void
address int
value int
return void

WriteWord() public method

public WriteWord ( int address, int value ) : void
address int
value int
return void

X80() public method

public X80 ( UnityGB.Emulator emulator ) : System
emulator UnityGB.Emulator
return System

Property Details

SoundChip public_oe property

public SoundChip,UnityGB SoundChip
return SoundChip

aButtonPressed public_oe property

public bool aButtonPressed
return bool

bButtonPressed public_oe property

public bool bButtonPressed
return bool

backgroundAndWindowTileDataSelect public_oe property

public bool backgroundAndWindowTileDataSelect
return bool

backgroundBuffer public_oe property

public uint[,] backgroundBuffer
return ].uint[

backgroundDisplayed public_oe property

public bool backgroundDisplayed
return bool

backgroundPalette public_oe property

public uint[] backgroundPalette
return uint[]

backgroundTileMapDisplaySelect public_oe property

public bool backgroundTileMapDisplaySelect
return bool

cartridge public_oe property

public ICartridge cartridge
return ICartridge

downKeyPressed public_oe property

public bool downKeyPressed
return bool

emulator public_oe property

public Emulator,UnityGB emulator
return UnityGB.Emulator

halted public_oe property

public bool halted
return bool

interruptsEnabled public_oe property

public bool interruptsEnabled
return bool

keyP14 public_oe property

public bool keyP14
return bool

keyPressedInterruptEnabled public_oe property

public bool keyPressedInterruptEnabled
return bool

keyPressedInterruptRequested public_oe property

public bool keyPressedInterruptRequested
return bool

largeSprites public_oe property

public bool largeSprites
return bool

lcdControlOperationEnabled public_oe property

public bool lcdControlOperationEnabled
return bool

lcdcHBlankInterruptEnabled public_oe property

public bool lcdcHBlankInterruptEnabled
return bool

lcdcInterruptEnabled public_oe property

public bool lcdcInterruptEnabled
return bool

lcdcInterruptRequested public_oe property

public bool lcdcInterruptRequested
return bool

lcdcLycLyCoincidenceInterruptEnabled public_oe property

public bool lcdcLycLyCoincidenceInterruptEnabled
return bool

lcdcMode public_oe property

public LcdcModeType lcdcMode
return LcdcModeType

lcdcOamInterruptEnabled public_oe property

public bool lcdcOamInterruptEnabled
return bool

lcdcVBlankInterruptEnabled public_oe property

public bool lcdcVBlankInterruptEnabled
return bool

leftKeyPressed public_oe property

public bool leftKeyPressed
return bool

lyCompare public_oe property

public int lyCompare
return int

oam public_oe property

public byte[] oam
return byte[]

objectPalette0 public_oe property

public uint[] objectPalette0
return uint[]

objectPalette1 public_oe property

public uint[] objectPalette1
return uint[]

rightKeyPressed public_oe property

public bool rightKeyPressed
return bool

scrollX public_oe property

public int scrollX
return int

selectButtonPressed public_oe property

public bool selectButtonPressed
return bool

serialIOTransferCompleteInterruptEnabled public_oe property

public bool serialIOTransferCompleteInterruptEnabled
return bool

serialIOTransferCompleteInterruptRequested public_oe property

public bool serialIOTransferCompleteInterruptRequested
return bool

spriteTile public_oe property

public uint[,,,] spriteTile
return uint[,,,]

spritesDisplayed public_oe property

public bool spritesDisplayed
return bool

startButtonPressed public_oe property

public bool startButtonPressed
return bool

stopped public_oe property

public bool stopped
return bool

ticks public_oe property

public int ticks
return int

timerCounter public_oe property

public int timerCounter
return int

timerFrequency public_oe property

public TimerFrequencyType timerFrequency
return TimerFrequencyType

timerModulo public_oe property

public int timerModulo
return int

timerOverflowInterruptEnabled public_oe property

public bool timerOverflowInterruptEnabled
return bool

timerOverflowInterruptRequested public_oe property

public bool timerOverflowInterruptRequested
return bool

timerRunning public_oe property

public bool timerRunning
return bool

upKeyPressed public_oe property

public bool upKeyPressed
return bool

vBlankInterruptEnabled public_oe property

public bool vBlankInterruptEnabled
return bool

vBlankInterruptRequested public_oe property

public bool vBlankInterruptRequested
return bool

windowBuffer public_oe property

public uint[,] windowBuffer
return ].uint[

windowDisplayed public_oe property

public bool windowDisplayed
return bool

windowTileMapDisplaySelect public_oe property

public bool windowTileMapDisplaySelect
return bool

windowX public_oe property

public int windowX
return int