|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All memory type parts (caches, registers) are accessable with Memory, this gives advantages in displaying each with the same gui-element. The read and write methods override all limitations like write-protection, bit masking or bank switching
Method Summary | |
boolean |
getLog()
Get debug mode |
int |
getMemorySize()
Capacity of the memory in words |
int |
getWordWidth()
Witdh of one word in bits |
void |
installEntryHandler(EntryHandler entryHandler)
setEntry() calles this EntryHandler |
int |
readMemory(int address)
Read a word from the memory |
void |
setEntry(int entry,
int globalPointer)
Set the entry address and the global pointer if memory contains a executable program |
void |
setLog(boolean newLog)
Enable or disable logging output |
void |
writeMemory(int address,
int word)
Write a word into the memory |
Method Detail |
public int getWordWidth()
public int getMemorySize()
public int readMemory(int address)
public void writeMemory(int address, int word)
public void setEntry(int entry, int globalPointer)
public void installEntryHandler(EntryHandler entryHandler)
public void setLog(boolean newLog)
public boolean getLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |