C# Class UnityGB.X80

Afficher le fichier Open project: Takohi-Jona/unity-gb Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CheckForBadState ( ) : void
Résultat void

KeyChanged() public méthode

public KeyChanged ( char keyCode, bool pressed ) : void
keyCode char
pressed bool
Résultat void

PowerUp() public méthode

public PowerUp ( ) : void
Résultat void

ReadByte() public méthode

public ReadByte ( int address ) : int
address int
Résultat int

ReadWord() public méthode

public ReadWord ( int address ) : int
address int
Résultat int

Step() public méthode

public Step ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

UpdateBackground() public méthode

public UpdateBackground ( ) : void
Résultat void

UpdateSpriteTiles() public méthode

public UpdateSpriteTiles ( ) : void
Résultat void

UpdateWindow() public méthode

public UpdateWindow ( ) : void
Résultat void

WriteByte() public méthode

public WriteByte ( int address, int value ) : void
address int
value int
Résultat void

WriteWord() public méthode

public WriteWord ( int address, int value ) : void
address int
value int
Résultat void

X80() public méthode

public X80 ( UnityGB.Emulator emulator ) : System
emulator UnityGB.Emulator
Résultat System

Property Details

SoundChip public_oe property

public SoundChip,UnityGB SoundChip
Résultat SoundChip

aButtonPressed public_oe property

public bool aButtonPressed
Résultat bool

bButtonPressed public_oe property

public bool bButtonPressed
Résultat bool

backgroundAndWindowTileDataSelect public_oe property

public bool backgroundAndWindowTileDataSelect
Résultat bool

backgroundBuffer public_oe property

public uint[,] backgroundBuffer
Résultat ].uint[

backgroundDisplayed public_oe property

public bool backgroundDisplayed
Résultat bool

backgroundPalette public_oe property

public uint[] backgroundPalette
Résultat uint[]

backgroundTileMapDisplaySelect public_oe property

public bool backgroundTileMapDisplaySelect
Résultat bool

cartridge public_oe property

public ICartridge cartridge
Résultat ICartridge

downKeyPressed public_oe property

public bool downKeyPressed
Résultat bool

emulator public_oe property

public Emulator,UnityGB emulator
Résultat UnityGB.Emulator

halted public_oe property

public bool halted
Résultat bool

interruptsEnabled public_oe property

public bool interruptsEnabled
Résultat bool

keyP14 public_oe property

public bool keyP14
Résultat bool

keyPressedInterruptEnabled public_oe property

public bool keyPressedInterruptEnabled
Résultat bool

keyPressedInterruptRequested public_oe property

public bool keyPressedInterruptRequested
Résultat bool

largeSprites public_oe property

public bool largeSprites
Résultat bool

lcdControlOperationEnabled public_oe property

public bool lcdControlOperationEnabled
Résultat bool

lcdcHBlankInterruptEnabled public_oe property

public bool lcdcHBlankInterruptEnabled
Résultat bool

lcdcInterruptEnabled public_oe property

public bool lcdcInterruptEnabled
Résultat bool

lcdcInterruptRequested public_oe property

public bool lcdcInterruptRequested
Résultat bool

lcdcLycLyCoincidenceInterruptEnabled public_oe property

public bool lcdcLycLyCoincidenceInterruptEnabled
Résultat bool

lcdcMode public_oe property

public LcdcModeType lcdcMode
Résultat LcdcModeType

lcdcOamInterruptEnabled public_oe property

public bool lcdcOamInterruptEnabled
Résultat bool

lcdcVBlankInterruptEnabled public_oe property

public bool lcdcVBlankInterruptEnabled
Résultat bool

leftKeyPressed public_oe property

public bool leftKeyPressed
Résultat bool

lyCompare public_oe property

public int lyCompare
Résultat int

oam public_oe property

public byte[] oam
Résultat byte[]

objectPalette0 public_oe property

public uint[] objectPalette0
Résultat uint[]

objectPalette1 public_oe property

public uint[] objectPalette1
Résultat uint[]

rightKeyPressed public_oe property

public bool rightKeyPressed
Résultat bool

scrollX public_oe property

public int scrollX
Résultat int

selectButtonPressed public_oe property

public bool selectButtonPressed
Résultat bool

serialIOTransferCompleteInterruptEnabled public_oe property

public bool serialIOTransferCompleteInterruptEnabled
Résultat bool

serialIOTransferCompleteInterruptRequested public_oe property

public bool serialIOTransferCompleteInterruptRequested
Résultat bool

spriteTile public_oe property

public uint[,,,] spriteTile
Résultat uint[,,,]

spritesDisplayed public_oe property

public bool spritesDisplayed
Résultat bool

startButtonPressed public_oe property

public bool startButtonPressed
Résultat bool

stopped public_oe property

public bool stopped
Résultat bool

ticks public_oe property

public int ticks
Résultat int

timerCounter public_oe property

public int timerCounter
Résultat int

timerFrequency public_oe property

public TimerFrequencyType timerFrequency
Résultat TimerFrequencyType

timerModulo public_oe property

public int timerModulo
Résultat int

timerOverflowInterruptEnabled public_oe property

public bool timerOverflowInterruptEnabled
Résultat bool

timerOverflowInterruptRequested public_oe property

public bool timerOverflowInterruptRequested
Résultat bool

timerRunning public_oe property

public bool timerRunning
Résultat bool

upKeyPressed public_oe property

public bool upKeyPressed
Résultat bool

vBlankInterruptEnabled public_oe property

public bool vBlankInterruptEnabled
Résultat bool

vBlankInterruptRequested public_oe property

public bool vBlankInterruptRequested
Résultat bool

windowBuffer public_oe property

public uint[,] windowBuffer
Résultat ].uint[

windowDisplayed public_oe property

public bool windowDisplayed
Résultat bool

windowTileMapDisplaySelect public_oe property

public bool windowTileMapDisplaySelect
Résultat bool

windowX public_oe property

public int windowX
Résultat int