|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mars.Globals
Collection of globally-available data structures.
Field Summary | |
static java.lang.String |
copyrightHolders
MARS copyright holders |
static java.lang.String |
copyrightYears
MARS copyright years |
static boolean |
debug
Flag to determine whether or not to produce internal debugging information. |
static int |
exitCode
MARS exit code -- useful with SYSCALL 17 when running from command line (not GUI) |
static java.util.ArrayList |
fileExtensions
List of accepted file extensions for MIPS assembly source files. |
static java.lang.String |
helpPath
Path to folder that contains help text |
static java.lang.String |
imagesPath
Path to folder that contains images |
static InstructionSet |
instructionSet
The set of implemented MIPS instructions. |
static int |
maximumBacksteps
Maximum number of back-step operations to buffer |
static int |
maximumMessageCharacters
Maximum length of scrolled message window (MARS Messages and Run I/O) |
static Memory |
memory
Simulated MIPS memory component. |
static java.lang.Object |
memoryAndRegistersLock
Lock variable used at head of synchronized block to guard MIPS memory and registers |
static MIPSprogram |
program
the program currently being worked with. |
static SymbolTable |
symbolTable
Symbol table for file currently being assembled. |
static java.lang.String |
userInputAlert
String to GUI's RunI/O text area when echoing user input from pop-up dialog. |
static java.lang.String |
version
The current MARS version number. |
Constructor Summary | |
Globals()
|
Method Summary | |
static java.util.ArrayList |
getExternalTools()
Get list of MarsTools that reside outside the MARS distribution. |
static VenusUI |
getGui()
|
static java.lang.String |
getPropertyEntry(java.lang.String propertiesFile,
java.lang.String propertyName)
Read and return property file value (if any) for requested property. |
static Settings |
getSettings()
|
java.util.ArrayList |
getSyscallOverrides()
Read any syscall number assignment overrides from config file. |
static void |
initialize()
Method called once upon system initialization to create the global data structures. |
static void |
setGui(VenusUI g)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static InstructionSet instructionSet
public static MIPSprogram program
public static SymbolTable symbolTable
public static Memory memory
public static java.lang.Object memoryAndRegistersLock
public static boolean debug
public static java.lang.String userInputAlert
public static final java.lang.String imagesPath
public static final java.lang.String helpPath
public static final java.lang.String version
public static final java.util.ArrayList fileExtensions
public static final int maximumMessageCharacters
public static final int maximumBacksteps
public static final java.lang.String copyrightYears
public static final java.lang.String copyrightHolders
public static int exitCode
Constructor Detail |
public Globals()
Method Detail |
public static void setGui(VenusUI g)
public static VenusUI getGui()
public static Settings getSettings()
public static void initialize()
public static java.util.ArrayList getExternalTools()
public static java.lang.String getPropertyEntry(java.lang.String propertiesFile, java.lang.String propertyName)
propertiesFile
- name of properties file (do NOT include filename extension,
which is assumed to be ".properties")propertyName
- String containing desired property name
public java.util.ArrayList getSyscallOverrides()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |