|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.co.javagear.DebugInst
public final class DebugInst
JavaGear Debugger.
| Field Summary | |
|---|---|
private Z80 |
cpu
Pointer to Z80 CPU. |
private javax.swing.JTable |
debugTable
Pointer to Debug Table. |
private javax.swing.JTable |
flagTable
Pointer to Flag Table. |
private int |
lineno
Current Line Number. |
private javax.swing.JTable |
regTable
Pointer to Registers Table. |
private Screen |
screenpanel
Pointer to Java Screenpanel. |
private Vdp |
vdp
Pointer to VDP. |
| Constructor Summary | |
|---|---|
DebugInst(Z80 z,
Vdp v,
Screen s,
javax.swing.JTable regt,
javax.swing.JTable flagt,
javax.swing.JTable debugt)
EmulateLoop Constructor. |
|
| Method Summary | |
|---|---|
void |
execute(int count)
Execute a specific number of Z80 instructions. |
private void |
scrollDebug(int column)
Scroll the debug table upwards. |
private void |
updateDebug()
Update debug table. |
private void |
updateFlags(int row)
Update flag table. |
private void |
updateRegisters(int row)
Update register table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Z80 cpu
private Vdp vdp
private Screen screenpanel
private javax.swing.JTable regTable
private javax.swing.JTable flagTable
private javax.swing.JTable debugTable
private int lineno
| Constructor Detail |
|---|
public DebugInst(Z80 z,
Vdp v,
Screen s,
javax.swing.JTable regt,
javax.swing.JTable flagt,
javax.swing.JTable debugt)
z - Z80v - Vdps - ScreenPanelregt - Register Tableflagt - Flag Tabledebugt - Debug Table| Method Detail |
|---|
public void execute(int count)
count - number of instructions to execute.private void updateRegisters(int row)
row - the tables's row.private void updateFlags(int row)
row - the table's row.private void updateDebug()
private void scrollDebug(int column)
column - the column to scroll upwards.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||