C# Class Z80, ZXSpectrum

Mostrar archivo Open project: EngstromJimmy/ZXSpectrum Class Usage Examples

Public Methods

Method Description
ADDADC8 ( int a, int b, bool Carry, int tStates ) : int
AND8 ( int a, int b, int tStates ) : int
BIT ( int bit, int regvalue, int tStates ) : void
BITixyd ( int bit, int regvalue, int ixyd, int tStates ) : void
CALL ( bool argument ) : void
CALLnn ( ) : void
CCF ( ) : void

Compement Carry flag

CP2 ( int s, int tStates ) : void
CPD ( ) : void
CPDR ( ) : void

Block compare with decrement

CPI ( ) : void
CPIR ( ) : void
CPL ( ) : void

Complement Accumulator (4 tStates)

DAA ( ) : void

Deciaml Adjust accumulator (4 tstates)

DNJZ ( ) : void
EXX ( ) : void
Halt ( ) : void
INBC ( int tstates ) : int
IND ( int tstates ) : void
INDR ( ) : void
INI ( int tstates ) : void
INIR ( ) : void
JP ( bool argument, int position, int tstates ) : void
JR ( bool argument, int position, int tstates ) : void
LDAI ( ) : void
LDD ( ) : void
LDDR ( ) : void
LDI ( ) : void
LDIR ( ) : void
NEG ( ) : void
NOP ( ) : void
OR ( int b, int tstates ) : void
OTDR ( ) : void
OTIR ( ) : void
OUTD ( ) : void
OUTI ( ) : void
POP ( ) : int
PUSH ( int word ) : void
RET ( bool condition, int tstates, int notmettstates ) : void
RL ( int value, int tstates ) : int
RLA ( ) : void
RLC ( int value, int tstates ) : int
RLCA ( ) : void
RLD ( ) : void
RR ( int value, int tstates ) : int
RRA ( ) : void
RRC ( int value, int tstates ) : int
RRCA ( ) : void
RRD ( ) : void
RST ( int position ) : void
Refresh ( ) : void
SLA ( int value, int tstates ) : int
SRA ( int value, int tstates ) : int
SUB ( int b, int tStates ) : void
XOR ( int value, int tstates ) : void
interruptTriggered ( int tstates ) : bool

Private Methods

Method Description
ADDADC16 ( int a, int b, bool Carry, int tStates ) : int
CP ( int value, int tstates ) : void

Compare operand s to ackumulator

DEC16 ( int value, int tStates ) : int

Decrement for 16 bit regiter

DEC8 ( int value, int tStates ) : int

Decrement for 8bit register

DEC8NoFlags ( int a ) : int
INC16 ( int value, int tStates ) : int
INC8 ( int value, int tStates ) : int
INC8NoFlags ( int a ) : int
LDAR ( ) : void
RES ( int bit, int value, int tstates ) : int
SBC16 ( int a, int b, int tstates ) : int
SBC8 ( int b, int tstates ) : int
SET ( int bit, int value, int tstates ) : int
SLL ( int value, int tstates ) : int
SRL ( int value, int tstates ) : int
Sign ( int nn ) : int

Method Details

ADDADC8() public method

public ADDADC8 ( int a, int b, bool Carry, int tStates ) : int
a int
b int
Carry bool
tStates int
return int

AND8() public method

public AND8 ( int a, int b, int tStates ) : int
a int
b int
tStates int
return int

BIT() public method

public BIT ( int bit, int regvalue, int tStates ) : void
bit int
regvalue int
tStates int
return void

BITixyd() public method

public BITixyd ( int bit, int regvalue, int ixyd, int tStates ) : void
bit int
regvalue int
ixyd int
tStates int
return void

CALL() public method

public CALL ( bool argument ) : void
argument bool
return void

CALLnn() public method

public CALLnn ( ) : void
return void

CCF() public method

Compement Carry flag
public CCF ( ) : void
return void

CP2() public method

public CP2 ( int s, int tStates ) : void
s int
tStates int
return void

CPD() public method

public CPD ( ) : void
return void

CPDR() public method

Block compare with decrement
public CPDR ( ) : void
return void

CPI() public method

public CPI ( ) : void
return void

CPIR() public method

public CPIR ( ) : void
return void

CPL() public method

Complement Accumulator (4 tStates)
public CPL ( ) : void
return void

DAA() public method

Deciaml Adjust accumulator (4 tstates)
public DAA ( ) : void
return void

DNJZ() public method

public DNJZ ( ) : void
return void

EXX() public method

public EXX ( ) : void
return void

Halt() public method

public Halt ( ) : void
return void

INBC() public method

public INBC ( int tstates ) : int
tstates int
return int

IND() public method

public IND ( int tstates ) : void
tstates int
return void

INDR() public method

public INDR ( ) : void
return void

INI() public method

public INI ( int tstates ) : void
tstates int
return void

INIR() public method

public INIR ( ) : void
return void

JP() public method

public JP ( bool argument, int position, int tstates ) : void
argument bool
position int
tstates int
return void

JR() public method

public JR ( bool argument, int position, int tstates ) : void
argument bool
position int
tstates int
return void

LDAI() public method

public LDAI ( ) : void
return void

LDD() public method

public LDD ( ) : void
return void

LDDR() public method

public LDDR ( ) : void
return void

LDI() public method

public LDI ( ) : void
return void

LDIR() public method

public LDIR ( ) : void
return void

NEG() public method

public NEG ( ) : void
return void

NOP() public method

public NOP ( ) : void
return void

OR() public method

public OR ( int b, int tstates ) : void
b int
tstates int
return void

OTDR() public method

public OTDR ( ) : void
return void

OTIR() public method

public OTIR ( ) : void
return void

OUTD() public method

public OUTD ( ) : void
return void

OUTI() public method

public OUTI ( ) : void
return void

POP() public method

public POP ( ) : int
return int

PUSH() public method

public PUSH ( int word ) : void
word int
return void

RET() public method

public RET ( bool condition, int tstates, int notmettstates ) : void
condition bool
tstates int
notmettstates int
return void

RL() public method

public RL ( int value, int tstates ) : int
value int
tstates int
return int

RLA() public method

public RLA ( ) : void
return void

RLC() public method

public RLC ( int value, int tstates ) : int
value int
tstates int
return int

RLCA() public method

public RLCA ( ) : void
return void

RLD() public method

public RLD ( ) : void
return void

RR() public method

public RR ( int value, int tstates ) : int
value int
tstates int
return int

RRA() public method

public RRA ( ) : void
return void

RRC() public method

public RRC ( int value, int tstates ) : int
value int
tstates int
return int

RRCA() public method

public RRCA ( ) : void
return void

RRD() public method

public RRD ( ) : void
return void

RST() public method

public RST ( int position ) : void
position int
return void

Refresh() public method

public Refresh ( ) : void
return void

SLA() public method

public SLA ( int value, int tstates ) : int
value int
tstates int
return int

SRA() public method

public SRA ( int value, int tstates ) : int
value int
tstates int
return int

SUB() public method

public SUB ( int b, int tStates ) : void
b int
tStates int
return void

XOR() public method

public XOR ( int value, int tstates ) : void
value int
tstates int
return void

interruptTriggered() public method

public interruptTriggered ( int tstates ) : bool
tstates int
return bool