C# Class GbcEmulator.Cpu.Z80

Show file Open project: CRogers/GbcEmulator Class Usage Examples

Public Methods

Method Description
RunCode ( ushort address ) : void
Z80 ( ReadOnlyArray rom, IMemoryManagementUnit mmu ) : System

Private Methods

Method Description
Adc ( byte b ) : void
Add ( byte b ) : void
Add ( ushort u ) : void
And ( byte b ) : void
Bit ( int bit, byte register ) : void
Call ( ushort address ) : void
Cp ( byte b ) : void
Dec ( byte b ) : byte
FlagSZHSet ( byte value, byte initial, byte operand ) : void
FlagSZSet ( byte value ) : void
Inc ( byte b ) : byte
InitOpcodes ( ) : void
Or ( byte b ) : void
ReadByte ( ) : byte
ReadUShort ( ) : ushort
Res ( int bit, byte register ) : byte
Ret ( ) : void
Rl ( byte register ) : byte
RlFlags ( byte result ) : void
Rlc ( byte register ) : byte
Rr ( byte register ) : byte
Rrc ( byte register ) : byte
Sbc ( byte b ) : void
Set ( int bit, byte register ) : byte
Sla ( byte register ) : byte
Sra ( byte register ) : byte
Srl ( byte register ) : byte
Sub ( byte b ) : void
Swap ( byte register ) : byte
Xor ( byte b ) : void

Method Details

RunCode() public method

public RunCode ( ushort address ) : void
address ushort
return void

Z80() public method

public Z80 ( ReadOnlyArray rom, IMemoryManagementUnit mmu ) : System
rom ReadOnlyArray
mmu IMemoryManagementUnit
return System