|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mythsim.core.MythSim | +--org.mythsim.swing.MythSimSwing
Swing interface to the simulator.
Field Summary | |
static int |
EXIT_ACTION
|
static int |
LAST_ACTION
|
static int |
MINUS1_ACTION
|
static int |
MINUS10_ACTION
|
static int |
MINUS100_ACTION
|
static int |
NEXT_ACTION
|
static int |
OPEN_ACTION
|
static int |
PLUS1_ACTION
|
static int |
PLUS10_ACTION
|
static int |
PLUS100_ACTION
|
static int |
RELOAD_ACTION
|
static int |
RESET_ACTION
|
static int |
RUN_ACTION
|
Constructor Summary | |
MythSimSwing(org.mythsim.swing.MainJFrame _f)
|
Method Summary | |
void |
boot()
Boot comptuer. |
JButton |
createJButton(int index)
|
JMenuItem |
createJMenuItem(int index)
|
void |
exit_app()
EXIT_ACTION |
Action |
getAction(int index)
|
int |
getMode()
|
JMenu |
getPluginJMenu()
|
void |
last()
LAST_ACTION |
void |
next()
NEXT_ACTION |
void |
open()
OPEN_ACTION |
void |
reload()
RELOAD_ACTION |
void |
reset()
RESET_ACTION |
void |
run()
RUN_ACTION |
void |
setMode(int _mode)
Freezes buttons and menus based on a current mode value. |
void |
setupPlugins()
Setup each of the plugins. |
void |
step(int x)
MINUS100_ACTION, MINUS10_ACTION, MINUS1_ACTION, PLUS1_ACTION, PLUS10_ACTION, PLUS100_ACTION |
void |
stepPlugins()
Step each of the plugins. |
Methods inherited from class org.mythsim.core.MythSim |
AND, and, bit2int, carry, carry, empty, fix, funcName, getMemory, getMemoryFile, getMemoryFileName, getMemoryFilePath, getMemorySource, getMicrocodeFile, getMicrocodeFileName, getMicrocodeFilePath, getMicrocodeSource, getPreviousStatus, getRegA, getRegB, getStatus, getStatus, getUcode, getUstore, int2bit, lownibble, m7, name, normal, normal2tc, NOT, not, opcode, OR, or, overflow, parse, ri, rj, rk, setFileMemory, setFileMicrocode, step, tc2normal, ucodeZero, XOR, xor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int OPEN_ACTION
public static final int RELOAD_ACTION
public static final int RESET_ACTION
public static final int LAST_ACTION
public static final int MINUS100_ACTION
public static final int MINUS10_ACTION
public static final int MINUS1_ACTION
public static final int PLUS1_ACTION
public static final int PLUS10_ACTION
public static final int PLUS100_ACTION
public static final int NEXT_ACTION
public static final int RUN_ACTION
public static final int EXIT_ACTION
Constructor Detail |
public MythSimSwing(org.mythsim.swing.MainJFrame _f)
Method Detail |
public void open() throws Exception
Exception
public void reload() throws Exception
Exception
public void reset() throws Exception
Exception
public void last() throws MythError
last
in class MythSim
MythError
public void step(int x) throws MythError
step
in class MythSim
MythError
public void next() throws MythError
next
in class MythSim
MythError
public void run() throws MythError
run
in class MythSim
MythError
public void exit_app()
public void setMode(int _mode)
public int getMode()
public Action getAction(int index)
public JMenuItem createJMenuItem(int index)
public JButton createJButton(int index)
public JMenu getPluginJMenu()
public void setupPlugins()
public void stepPlugins()
public void boot() throws MythError
boot
in class MythSim
MythError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |