hades.models.mips.gui
Class ShowMips
java.lang.Object
hades.models.mips.gui.ShowMips
- All Implemented Interfaces:
- java.awt.event.ActionListener, BreakPointHandler, java.util.EventListener, java.awt.event.ItemListener, java.awt.event.WindowListener
- public class ShowMips
- extends java.lang.Object
- implements BreakPointHandler, java.awt.event.ItemListener, java.awt.event.ActionListener, java.awt.event.WindowListener
ShowMips - Show a frame containing the MIPS processor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
core
protected Core core
resetHandler
protected ResetHandler resetHandler
frame
public java.awt.Frame frame
cycleListener
protected CycleListener cycleListener
regViewHandler
protected MemoryViewHandler regViewHandler
memViewHandler
protected MemoryViewHandler memViewHandler
copro0ViewHandler
protected MemoryViewHandler copro0ViewHandler
showPipe
protected ShowPipe showPipe
miNew
protected java.awt.MenuItem miNew
miOpen
protected java.awt.MenuItem miOpen
miSave
protected java.awt.MenuItem miSave
miClose
protected java.awt.MenuItem miClose
miConfig
protected java.awt.MenuItem miConfig
miVirtual
protected java.awt.MenuItem miVirtual
miPhysical
protected java.awt.MenuItem miPhysical
miInvalidate
protected java.awt.MenuItem miInvalidate
miShowICache
protected java.awt.MenuItem miShowICache
miShowDCache
protected java.awt.MenuItem miShowDCache
miDebugStdOut
public java.awt.CheckboxMenuItem miDebugStdOut
miDebugFile
public java.awt.CheckboxMenuItem miDebugFile
miDebugCore
protected java.awt.CheckboxMenuItem miDebugCore
miDebugInstrFrame
protected java.awt.CheckboxMenuItem miDebugInstrFrame
miDebugDecoder
protected java.awt.CheckboxMenuItem miDebugDecoder
miDebugCopro0
protected java.awt.CheckboxMenuItem miDebugCopro0
miDebugException
protected java.awt.CheckboxMenuItem miDebugException
miDebugAccessMemory
protected java.awt.CheckboxMenuItem miDebugAccessMemory
miDebugMemoryDispatcher
protected java.awt.CheckboxMenuItem miDebugMemoryDispatcher
miDebugHadesInterface
protected java.awt.CheckboxMenuItem miDebugHadesInterface
miDebugInstrCache
protected java.awt.CheckboxMenuItem miDebugInstrCache
miDebugDataCache
protected java.awt.CheckboxMenuItem miDebugDataCache
statisticButton
protected java.awt.Button statisticButton
ShowMips
public ShowMips(Core newCore,
ResetHandler newResetHandler)
prepareMainWindow
public void prepareMainWindow()
- prepare main window, part of the constructor
hide
public void hide()
show
public void show()
update
public void update()
setCycleListener
public void setCycleListener(CycleListener newCycleListener)
handleBreakPoint
public void handleBreakPoint(BreakPointMemory bpMem,
int adr,
int reason)
- Description copied from interface:
BreakPointHandler
- handle the breakpoint with info about the memory, the bp-address and
the reason of the bp (see BreakPointMemory for constants)
- Specified by:
handleBreakPoint
in interface BreakPointHandler
main
public static void main(java.lang.String[] argv)
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent e)
- Specified by:
itemStateChanged
in interface java.awt.event.ItemListener
clearMemory
public void clearMemory(Memory mem)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
windowActivated
public void windowActivated(java.awt.event.WindowEvent e)
- Specified by:
windowActivated
in interface java.awt.event.WindowListener
windowClosed
public void windowClosed(java.awt.event.WindowEvent e)
- Specified by:
windowClosed
in interface java.awt.event.WindowListener
windowClosing
public void windowClosing(java.awt.event.WindowEvent e)
- Specified by:
windowClosing
in interface java.awt.event.WindowListener
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent e)
- Specified by:
windowDeactivated
in interface java.awt.event.WindowListener
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent e)
- Specified by:
windowDeiconified
in interface java.awt.event.WindowListener
windowIconified
public void windowIconified(java.awt.event.WindowEvent e)
- Specified by:
windowIconified
in interface java.awt.event.WindowListener
windowOpened
public void windowOpened(java.awt.event.WindowEvent e)
- Specified by:
windowOpened
in interface java.awt.event.WindowListener