|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.disassembly.invaders.I8080
public abstract class I8080
Interpreting I8080 CPU emulator.
| Field Summary | |
|---|---|
int |
A
|
int |
A1
|
int |
B
|
int |
B1
|
int |
C
|
int |
C1
|
int |
cycles_left
|
int |
D
|
int |
D1
|
boolean |
debugDisabled
|
int |
debugFrom
|
int |
debugLevel
|
int |
debugMemLoc
|
int |
debugMemVal
|
boolean |
debugSelectMemEqVal
|
boolean |
debugSelectStart
|
int |
debugSkipped
|
int |
debugUntil
|
int |
E
|
int |
E1
|
int |
error
|
int |
F
|
int |
F1
|
int |
H
|
int |
H1
|
int |
I
|
int |
I_Vector
|
boolean |
IFF0
|
boolean |
IFF1
|
int |
ignoreBreakpoint
|
int |
IM
|
boolean |
IRQ
|
int |
L
|
int |
L1
|
java.lang.String |
logFile
|
boolean |
NMI
|
int |
PC
|
int |
R
|
int |
SP
|
boolean |
state_HALT
|
| Constructor Summary | |
|---|---|
I8080()
Default constructor debugging disabled Use this constructor for use in applets |
|
| Method Summary | |
|---|---|
void |
exec(int num_cycles)
Execute a number of clock cycles |
int |
getCyclesLeft()
|
int |
getDebug()
|
long |
getInstruction()
returns the currently excecuted instruction |
java.lang.String |
getTag()
|
protected abstract int |
inPort(int port)
|
void |
interrupt(int type,
boolean irq)
|
protected abstract void |
outPort(int port,
int value)
|
protected int |
read16(int address)
|
protected int |
read16arg(int address)
|
protected abstract int |
read8(int address)
|
protected int |
read8arg(int address)
|
protected int |
read8opc(int address)
|
void |
reset()
Reset CPU - Only resets the registers |
void |
setDebug(int debugLevel)
Sets the required debuglevel (if enabled): |
void |
setProperty(int property,
int value)
|
void |
setTag(java.lang.String tag)
|
protected void |
write16(int address,
int value)
|
protected void |
write16fast(int address,
int value)
|
protected void |
write8fast(int address,
int value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int A
public int F
public int B
public int C
public int D
public int E
public int H
public int L
public int I
public int R
public int A1
public int F1
public int B1
public int C1
public int D1
public int E1
public int H1
public int L1
public int PC
public int SP
public boolean state_HALT
public int IM
public boolean IFF0
public boolean IFF1
public int I_Vector
public boolean IRQ
public boolean NMI
public int cycles_left
public java.lang.String logFile
public int debugLevel
public int debugFrom
public int debugSkipped
public int debugUntil
public int debugMemLoc
public int debugMemVal
public int ignoreBreakpoint
public boolean debugDisabled
public boolean debugSelectMemEqVal
public boolean debugSelectStart
public int error
| Constructor Detail |
|---|
public I8080()
| Method Detail |
|---|
public void setTag(java.lang.String tag)
public java.lang.String getTag()
public final long getInstruction()
public final void interrupt(int type,
boolean irq)
public final void reset()
public final void exec(int num_cycles)
cycles - number of cycles to be excecutedpublic final void setDebug(int debugLevel)
public final int getDebug()
public final void setProperty(int property,
int value)
public int getCyclesLeft()
protected int read16(int address)
protected void write16(int address,
int value)
protected void write8fast(int address,
int value)
protected int read16arg(int address)
protected int read8opc(int address)
protected int read8arg(int address)
protected void write16fast(int address,
int value)
protected abstract int read8(int address)
protected abstract void outPort(int port,
int value)
protected abstract int inPort(int port)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||