Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
W
Z
A
A0CHARS
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
A1CHARS
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
A2CHARS
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
Abbreviations
- Class in
org.zmpp.vm
This class represents a view to the abbreviations table.
Abbreviations(MemoryReadAccess, int)
- Constructor for class org.zmpp.vm.
Abbreviations
Constructor.
AbstractInstruction
- Class in
org.zmpp.vm
This class represents can be considered as a mutable value object, which basically stores an instruction's information in order to restrict the Instruction class's responsibility to executing logic.
AbstractInstruction(Machine, int)
- Constructor for class org.zmpp.vm.
AbstractInstruction
Constructor.
AbstractInstruction.InstructionForm
- Enum in
org.zmpp.vm
The available instruction forms.
AbstractInstruction.OperandCount
- Enum in
org.zmpp.vm
The available operand count types.
actionPerformed(ActionEvent)
- Method in class org.zmpp.debug.
ObjectTreeFrame
actionPerformed(ActionEvent)
- Method in class org.zmpp.debug.
TestFrame
addOperand(Operand)
- Method in class org.zmpp.vm.
AbstractInstruction
Adds an operand to this object.
addTreeModelListener(TreeModelListener)
- Method in class org.zmpp.debug.
ObjectTreeModel
B
branchIfTrue()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns true if this is a branch condition and the branch is executed if the test condition is true, false otherwise.
branchOnTest(boolean)
- Method in class org.zmpp.vm.
AbstractInstruction
Performs a branch, depending on the state of the condition flag.
C
captureMachineState(Machine, int)
- Method in class org.zmpp.vm.
PortableGameState
Makes a snapshot of the current machine state.
CHAR_0
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
CHAR_1
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
CHAR_6
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
Chunk
- Interface in
org.zmpp.iff
The basic data structure for an IFF file, a chunk.
CHUNK_HEADER_LENGTH
- Static variable in interface org.zmpp.iff.
Chunk
The chunk header size.
CHUNK_ID_LENGTH
- Static variable in interface org.zmpp.iff.
Chunk
The length of an IFF chunk id in bytes.
CHUNK_SIZEWORD_LENGTH
- Static variable in interface org.zmpp.iff.
Chunk
The length of an IFF chunk size word in bytes.
clearAttribute(int)
- Method in class org.zmpp.vm.
DefaultZObject
Clears the specified attribute.
clearAttribute(int)
- Method in interface org.zmpp.vm.
ZObject
Clears the specified attribute.
convert(MemoryReadAccess, int)
- Method in class org.zmpp.vmutil.
ZsciiConverter
Performs a ZSCII to Unicode conversion at the specified position of the given memory object.
createObjWrapper()
- Method in class org.zmpp.debug.
ObjectTreeModel
D
decode(ZsciiConverter.Alphabet, short)
- Static method in class org.zmpp.vmutil.
ZsciiConverter
Decodes a printable character to a unicode character.
decodeInstruction(int)
- Method in class org.zmpp.vm.
InstructionDecoder
Decode the instruction at the specified address.
decodeZchar(StringBuilder, ZsciiConverter.Alphabet, byte)
- Static method in class org.zmpp.vmutil.
ZsciiConverter
Decodes the given byte value to the specified buffer using the working alphabet.
DefaultChunk
- Class in
org.zmpp.iff
This is the default implementation of the Chunk interface.
DefaultChunk(MemoryAccess)
- Constructor for class org.zmpp.iff.
DefaultChunk
Constructor.
DefaultDictionary
- Class in
org.zmpp.vm
This class implements a view on the dictionary within a memory map.
DefaultDictionary(MemoryReadAccess, int)
- Constructor for class org.zmpp.vm.
DefaultDictionary
Constructor.
DefaultFormChunk
- Class in
org.zmpp.iff
This class implements the FormChunk interface.
DefaultFormChunk(MemoryAccess)
- Constructor for class org.zmpp.iff.
DefaultFormChunk
Constructor.
DefaultMemoryAccess
- Class in
org.zmpp.base
This class is the default implementation for MemoryAccess.
DefaultMemoryAccess(byte[])
- Constructor for class org.zmpp.base.
DefaultMemoryAccess
Constructor.
DefaultStoryFileHeader
- Class in
org.zmpp.vm
This is the default implementation of the StoryFileHeader interface.
DefaultStoryFileHeader(MemoryReadAccess)
- Constructor for class org.zmpp.vm.
DefaultStoryFileHeader
Constructor.
DefaultZObject
- Class in
org.zmpp.vm
This is the default implementation of a ZObject.
DefaultZObject(MemoryAccess, int)
- Constructor for class org.zmpp.vm.
DefaultZObject
Constructor.
Dictionary
- Interface in
org.zmpp.vm
This is the interface definition for a dictionary.
E
enableOutputStream(int, boolean)
- Method in interface org.zmpp.vm.
Machine
Enables or disables the specified output stream.
enableOutputStream(int, boolean)
- Method in class org.zmpp.vm.
Machine3
Enables or disables the specified output stream.
equals(Object)
- Method in class org.zmpp.vmutil.
ZsciiString
execute()
- Method in interface org.zmpp.vm.
Instruction
Execute the instruction.
execute()
- Method in class org.zmpp.vm.
LongInstruction
Execute the instruction.
execute()
- Method in class org.zmpp.vm.
PrintLiteralInstruction
Execute the instruction.
execute()
- Method in class org.zmpp.vm.
Short0Instruction
Execute the instruction.
execute()
- Method in class org.zmpp.vm.
Short1Instruction
Execute the instruction.
execute()
- Method in class org.zmpp.vm.
VariableInstruction
Execute the instruction.
F
FALSE
- Static variable in class org.zmpp.vm.
AbstractInstruction
The constant for false.
FormChunk
- Interface in
org.zmpp.iff
FormChunk is the wrapper chunk for all other chunks.
G
getAbbreviationsAddress()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the start address of the abbreviations section.
getAbbreviationsAddress()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the start address of the abbreviations section.
getArgs()
- Method in class org.zmpp.vm.
PortableGameState.StackFrame
getBranchOffset()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the branch offset.
getChecksum()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the checksum for the story file.
getChecksum()
- Method in class org.zmpp.vm.
PortableGameState
Returns the game checksum.
getChecksum()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the checksum for the story file.
getChild(Object, int)
- Method in class org.zmpp.debug.
ObjectTreeModel
getChild()
- Method in class org.zmpp.vm.
DefaultZObject
Returns the object number of this object's child object.
getChild()
- Method in interface org.zmpp.vm.
ZObject
Returns the object number of this object's child object.
getChildCount(Object)
- Method in class org.zmpp.debug.
ObjectTreeModel
getColumnCount()
- Method in class org.zmpp.debug.
LocalTableModel
getColumnName(int)
- Method in class org.zmpp.debug.
LocalTableModel
getCurrentRoutineContext()
- Method in interface org.zmpp.vm.
Machine
Returns the current routine context without affecting the state of the machine.
getCurrentRoutineContext()
- Method in class org.zmpp.vm.
Machine3
Returns the current routine context without affecting the state of the machine.
getDeltaBytes()
- Method in class org.zmpp.vm.
PortableGameState
Returns the delta bytes.
getDictionary()
- Method in interface org.zmpp.vm.
Machine
Returns the dictonary.
getDictionary()
- Method in class org.zmpp.vm.
Machine3
Returns the dictonary.
getDictionaryAddress()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the dictionary's start address.
getDictionaryAddress()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the dictionary's start address.
getDynamicMemoryDump()
- Method in class org.zmpp.vm.
PortableGameState
Returns the current dump of dynamic memory captured from a Machine object.
getEntryAddress(int)
- Method in class org.zmpp.vm.
DefaultDictionary
Returns the entry address at the specified position.
getEntryAddress(int)
- Method in interface org.zmpp.vm.
Dictionary
Returns the entry address at the specified position.
getEntryLength()
- Method in class org.zmpp.vm.
DefaultDictionary
Returns the length of a dictionary entry.
getEntryLength()
- Method in interface org.zmpp.vm.
Dictionary
Returns the length of a dictionary entry.
getEvalStack()
- Method in class org.zmpp.vm.
PortableGameState.StackFrame
getFileLength()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns this story file's length.
getFileLength()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns this story file's length.
getFlags1()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the flags1 field.
getFlags1()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the flags1 field.
getFlags2()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the flags2 field.
getFlags2()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the flags2 field.
getGlobalsAddress()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the address of the global variables.
getGlobalsAddress()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the address of the global variables.
getHighMemAddress()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the high memory start address.
getHighMemAddress()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the high memory start address.
getId()
- Method in interface org.zmpp.iff.
Chunk
Returns this IFF chunk's id.
getId()
- Method in class org.zmpp.iff.
DefaultChunk
Returns this IFF chunk's id.
getIndexOfChild(Object, Object)
- Method in class org.zmpp.debug.
ObjectTreeModel
getInitialAlphabet()
- Method in class org.zmpp.vmutil.
ZsciiConverter
Returns the initial alphabet of this converter.
getInstructionForm()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the instruction's form.
getInstructionForm()
- Method in class org.zmpp.vm.
LongInstruction
Returns the instruction's form.
getInstructionForm()
- Method in class org.zmpp.vm.
PrintLiteralInstruction
Returns the instruction's form.
getInstructionForm()
- Method in class org.zmpp.vm.
Short0Instruction
Returns the instruction's form.
getInstructionForm()
- Method in class org.zmpp.vm.
Short1Instruction
Returns the instruction's form.
getInstructionForm()
- Method in class org.zmpp.vm.
VariableInstruction
Returns the instruction's form.
getInterpreter()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the interpreter number.
getInterpreter()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the interpreter number.
getInterpreterVersion()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the interpreter version.
getInterpreterVersion()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the interpreter version.
getInvocationStackPointer()
- Method in class org.zmpp.vm.
RoutineContext
Returns the stack pointer at invocation time.
getLength()
- Method in class org.zmpp.base.
MemorySection
Returns the length of this object in bytes.
getLength()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the instruction's length in bytes.
getLength()
- Method in class org.zmpp.vm.
PrintLiteralInstruction
Returns the instruction's length in bytes.
getLiteralAddress()
- Method in class org.zmpp.vm.
PrintLiteralInstruction
Returns the address of the literal.
getLocals()
- Method in class org.zmpp.vm.
PortableGameState.StackFrame
getLocalVariable(int)
- Method in class org.zmpp.vm.
RoutineContext
Retrieves the value of the specified local variable.
getMachine()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the reference to the machine state.
getMemoryAccess()
- Method in interface org.zmpp.iff.
Chunk
Returns a memory access object to the chunk.
getMemoryAccess()
- Method in class org.zmpp.iff.
DefaultChunk
Returns a memory access object to the chunk.
getMemoryAccess()
- Method in interface org.zmpp.vm.
Machine
Returns the reference to the memory access object.
getMemoryAccess()
- Method in class org.zmpp.vm.
Machine3
Returns the reference to the memory access object.
getMemoryAccess()
- Method in class org.zmpp.vmutil.
ZsciiString
Returns a memory access object.
getNextProperty(int)
- Method in class org.zmpp.vm.
DefaultZObject
Returns the next property in the list.
getNextProperty(int)
- Method in interface org.zmpp.vm.
ZObject
Returns the next property in the list.
getNumArguments()
- Method in class org.zmpp.vm.
RoutineContext
Returns the number of arguments.
getNumberOfEntries()
- Method in class org.zmpp.vm.
DefaultDictionary
Returns the number of dictionary entries.
getNumberOfEntries()
- Method in interface org.zmpp.vm.
Dictionary
Returns the number of dictionary entries.
getNumberOfSeparators()
- Method in class org.zmpp.vm.
DefaultDictionary
Returns the number of separators.
getNumberOfSeparators()
- Method in interface org.zmpp.vm.
Dictionary
Returns the number of separators.
getNumLocalVariables()
- Method in class org.zmpp.vm.
RoutineContext
Returns the number of local variables.
getNumObjects()
- Method in class org.zmpp.vm.
Objects
Returns the total number of objects.
getNumObjects()
- Method in interface org.zmpp.vm.
ObjectTree
Returns the total number of objects.
getNumOperands()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the number of operands.
getNumProperties()
- Method in class org.zmpp.vm.
DefaultZObject
Returns the number of properties.
getNumProperties()
- Method in interface org.zmpp.vm.
ZObject
Returns the number of properties.
getNumWords()
- Method in class org.zmpp.vmutil.
ZsciiString
Returns the total number of Zwords occupied by this ZsciiString.
getObject(int)
- Method in class org.zmpp.vm.
Objects
Returns the Z-object with the specified object number.
getObject(int)
- Method in interface org.zmpp.vm.
ObjectTree
Returns the Z-object with the specified object number.
getObjectTableAddress()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the object table's start address.
getObjectTableAddress()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the object table's start address.
getObjectTree()
- Method in interface org.zmpp.vm.
Machine
Returns the object tree.
getObjectTree()
- Method in class org.zmpp.vm.
Machine3
getOpcode()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the instruction's opcode.
getOperand(int)
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the operand at the specified position.
getOperandCount()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the instruction's operand count type.
getOperandCount()
- Method in class org.zmpp.vm.
LongInstruction
Returns the instruction's operand count type.
getOperandCount()
- Method in class org.zmpp.vm.
PrintLiteralInstruction
Returns the instruction's operand count type.
getOperandCount()
- Method in class org.zmpp.vm.
Short0Instruction
Returns the instruction's operand count type.
getOperandCount()
- Method in class org.zmpp.vm.
Short1Instruction
Returns the instruction's operand count type.
getOperandCount()
- Method in class org.zmpp.vm.
VariableInstruction
Returns the instruction's operand count type.
getParent()
- Method in class org.zmpp.vm.
DefaultZObject
Returns the number of this object's parent object.
getParent()
- Method in interface org.zmpp.vm.
ZObject
Returns the number of this object's parent object.
getProgramCounter()
- Method in interface org.zmpp.vm.
Machine
Returns the current program counter.
getProgramCounter()
- Method in class org.zmpp.vm.
Machine3
Returns the current program counter.
getProgramCounter()
- Method in class org.zmpp.vm.
PortableGameState
Returns the program counter.
getProgramCounter()
- Method in class org.zmpp.vm.
PortableGameState.StackFrame
getProgramStart()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the program counter start address.
getProgramStart()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the program counter start address.
getPropertiesDescriptionAddress()
- Method in class org.zmpp.vm.
DefaultZObject
Returns the properties description address.
getPropertiesDescriptionAddress()
- Method in interface org.zmpp.vm.
ZObject
Returns the properties description address.
getPropertyAddress(int)
- Method in class org.zmpp.vm.
DefaultZObject
Returns the address of the specified property.
getPropertyAddress(int)
- Method in interface org.zmpp.vm.
ZObject
Returns the address of the specified property.
getPropertyByte(int, int)
- Method in class org.zmpp.vm.
DefaultZObject
Returns the the specified property byte.
getPropertyByte(int, int)
- Method in interface org.zmpp.vm.
ZObject
Returns the the specified property byte.
getPropertyDefault(int)
- Method in class org.zmpp.vm.
Objects
Returns the property default value at the specified position in the property defaults table.
getPropertyDefault(int)
- Method in interface org.zmpp.vm.
ObjectTree
Returns the property default value at the specified position in the property defaults table.
getPropertyLength(int)
- Method in class org.zmpp.vm.
Objects
Determines the length of the property at the specified address.
getPropertyLength(int)
- Method in interface org.zmpp.vm.
ObjectTree
Determines the length of the property at the specified address.
getPropertySize(int)
- Method in class org.zmpp.vm.
DefaultZObject
The number of bytes in the specified property.
getPropertySize(int)
- Method in interface org.zmpp.vm.
ZObject
The number of bytes in the specified property.
getPropertyTableAddress()
- Method in class org.zmpp.vm.
DefaultZObject
Returns this object's property table address.
getPropertyTableAddress()
- Method in interface org.zmpp.vm.
ZObject
Returns this object's property table address.
getRelease()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the release number.
getRelease()
- Method in class org.zmpp.vm.
PortableGameState
Returns the game release number.
getRelease()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the release number.
getReturnAddress()
- Method in class org.zmpp.vm.
RoutineContext
Returns the routine's return address.
getReturnVariable()
- Method in class org.zmpp.vm.
PortableGameState.StackFrame
getReturnVariable()
- Method in class org.zmpp.vm.
RoutineContext
Returns the routine's return variable number.
getRevision()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the revision number.
getRevision()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the revision number.
getRoot()
- Method in class org.zmpp.debug.
ObjectTreeModel
getRoutineStackPointer()
- Method in class org.zmpp.vm.
Machine3
getRowCount()
- Method in class org.zmpp.debug.
LocalTableModel
getSeparator(int)
- Method in class org.zmpp.vm.
DefaultDictionary
Returns the separator at position i as a ZSCII character.
getSeparator(int)
- Method in interface org.zmpp.vm.
Dictionary
Returns the separator at position i as a ZSCII character.
getSerialNumber()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns this game's serial number.
getSerialNumber()
- Method in class org.zmpp.vm.
PortableGameState
Returns the game serial number.
getSerialNumber()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns this game's serial number.
getSibling()
- Method in class org.zmpp.vm.
DefaultZObject
Returns the object number of this object's sibling object.
getSibling()
- Method in interface org.zmpp.vm.
ZObject
Returns the object number of this object's sibling object.
getSize()
- Method in interface org.zmpp.iff.
Chunk
The chunk data size, excluding id and size word.
getSize()
- Method in class org.zmpp.iff.
DefaultChunk
The chunk data size, excluding id and size word.
getStackFrames()
- Method in class org.zmpp.vm.
PortableGameState
Returns the list of stack frames.
getStackPointer()
- Method in interface org.zmpp.vm.
Machine
Returns the global stack pointer.
getStackPointer()
- Method in class org.zmpp.vm.
Machine3
Returns the global stack pointer.
getStackTopElement()
- Method in interface org.zmpp.vm.
Machine
Returns the value at the top of the stack without removing it.
getStackTopElement()
- Method in class org.zmpp.vm.
Machine3
Returns the value at the top of the stack without removing it.
getStartAddress()
- Method in class org.zmpp.vm.
RoutineContext
Returns this routine's start address.
getStartAddress()
- Method in class org.zmpp.vmutil.
ZsciiString
Returns the start address within the memory access buffer.
getStaticsAddress()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the static memory start address.
getStaticsAddress()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the static memory start address.
getStoreVariable()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns the instruction's store variable.
getStoryFileHeader()
- Method in interface org.zmpp.vm.
Machine
Returns the story file header.
getStoryFileHeader()
- Method in class org.zmpp.vm.
Machine3
Returns the story file header.
getSubChunk(byte[])
- Method in class org.zmpp.iff.
DefaultFormChunk
Returns the chunk with the specified id.
getSubChunk(byte[])
- Method in interface org.zmpp.iff.
FormChunk
Returns the chunk with the specified id.
getSubChunks()
- Method in class org.zmpp.iff.
DefaultFormChunk
Returns an iterator of chunks contained in this form chunk.
getSubChunks()
- Method in interface org.zmpp.iff.
FormChunk
Returns an iterator of chunks contained in this form chunk.
getSubId()
- Method in class org.zmpp.iff.
DefaultFormChunk
Returns the sub id.
getSubId()
- Method in interface org.zmpp.iff.
FormChunk
Returns the sub id.
getType()
- Method in class org.zmpp.vm.
Operand
Returns this operand's type.
getUnsignedValue(int)
- Method in class org.zmpp.vm.
AbstractInstruction
Retrieves the value of the specified operand as an unsigned 16 bit integer.
getValue(int)
- Method in class org.zmpp.vm.
AbstractInstruction
Converts the specified value into a signed value, depending on the type of the operand.
getValue()
- Method in class org.zmpp.vm.
Operand
The operand value.
getValueAt(int, int)
- Method in class org.zmpp.debug.
LocalTableModel
getVariable(int)
- Method in interface org.zmpp.vm.
Machine
Returns the value of the specified variable.
getVariable(int)
- Method in class org.zmpp.vm.
Machine3
Returns the value of the specified variable.
getVariableType(int)
- Static method in class org.zmpp.vm.
Machine3
Returns the variable type for the given variable number.
getVersion()
- Method in class org.zmpp.vm.
DefaultStoryFileHeader
Returns the story file version.
getVersion()
- Method in interface org.zmpp.vm.
StoryFileHeader
Returns the story file version.
getVersion()
- Method in class org.zmpp.vmutil.
ZsciiConverter
Returns the story file version.
getWordAddress(int)
- Method in class org.zmpp.vm.
Abbreviations
The abbreviation table contains word addresses, so read out the pointer and multiply by two
getWordAddress(int)
- Method in interface org.zmpp.vmutil.
ZsciiConverter.AbbreviationsTable
H
halt(String)
- Method in interface org.zmpp.vm.
Machine
Halts the machine with the specified error message.
halt(String)
- Method in class org.zmpp.vm.
Machine3
Halts the machine with the specified error message.
hasValidChecksum()
- Method in interface org.zmpp.vm.
Machine
Returns true, if the checksum validation was successful.
hasValidChecksum()
- Method in class org.zmpp.vm.
Machine3
Returns true, if the checksum validation was successful.
I
id
- Variable in class org.zmpp.debug.
ObjectTreeModel.ObjWrapper
initialize(MemoryAccess, StoryFileHeader)
- Method in interface org.zmpp.vm.
Machine
Initialization function.
initialize(MemoryAccess, StoryFileHeader)
- Method in class org.zmpp.vm.
Machine3
Initialization function.
InputStream
- Interface in
org.zmpp.vm
This interface defines a Z-machine input stream.
insertObject(int, int)
- Method in class org.zmpp.vm.
Objects
Inserts an object to a new parent.
insertObject(int, int)
- Method in interface org.zmpp.vm.
ObjectTree
Inserts an object to a new parent.
Instruction
- Interface in
org.zmpp.vm
This interface defines an instruction's public methods.
InstructionDecoder
- Class in
org.zmpp.vm
The instruction decoder decodes an instruction at a specified address.
InstructionDecoder(Machine, MemoryReadAccess)
- Constructor for class org.zmpp.vm.
InstructionDecoder
Constructor.
isAttributeSet(int)
- Method in class org.zmpp.vm.
DefaultZObject
Tests if the specified attribute is set.
isAttributeSet(int)
- Method in interface org.zmpp.vm.
ZObject
Tests if the specified attribute is set.
isBranch()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns true, if this instruction is a branch, false, otherwise.
isBranch()
- Method in class org.zmpp.vm.
LongInstruction
Returns true, if this instruction is a branch, false, otherwise.
isBranch()
- Method in class org.zmpp.vm.
Short0Instruction
Returns true, if this instruction is a branch, false, otherwise.
isBranch()
- Method in class org.zmpp.vm.
Short1Instruction
Returns true, if this instruction is a branch, false, otherwise.
isEnabled()
- Method in interface org.zmpp.vm.
OutputStream
Determine, if this stream is enabled.
isLeaf(Object)
- Method in class org.zmpp.debug.
ObjectTreeModel
isPropertyAvailable(int)
- Method in class org.zmpp.vm.
DefaultZObject
Returns true if the specified property is available.
isPropertyAvailable(int)
- Method in interface org.zmpp.vm.
ZObject
Returns true if the specified property is available.
isRunning()
- Method in interface org.zmpp.vm.
Machine
Indicates if the virtual machine is running.
isRunning()
- Method in class org.zmpp.vm.
Machine3
Indicates if the virtual machine is running.
isValid()
- Method in interface org.zmpp.iff.
Chunk
Returns true if this is a valid chunk.
isValid()
- Method in class org.zmpp.iff.
DefaultChunk
Returns true if this is a valid chunk.
isValid()
- Method in class org.zmpp.iff.
DefaultFormChunk
Returns true if this is a valid chunk.
L
LocalTableModel
- Class in
org.zmpp.debug
LocalTableModel(Machine3)
- Constructor for class org.zmpp.debug.
LocalTableModel
LongInstruction
- Class in
org.zmpp.vm
This class represents instructions of type LONG, 2OP.
LongInstruction(Machine, int)
- Constructor for class org.zmpp.vm.
LongInstruction
Constructor.
LongInstruction(Machine, AbstractInstruction.OperandCount, int)
- Constructor for class org.zmpp.vm.
LongInstruction
Constructor.
lookup(String)
- Method in class org.zmpp.vm.
DefaultDictionary
Looks up a string in the dictionary.
lookup(String)
- Method in interface org.zmpp.vm.
Dictionary
Looks up a string in the dictionary.
M
Machine
- Interface in
org.zmpp.vm
This interface gives the instructions an abstract access to the current Z-machine's state.
Machine.VariableType
- Enum in
org.zmpp.vm
The possible variable types.
Machine3
- Class in
org.zmpp.vm
This class implements the state and some services of a Z-machine, version 3.
Machine3()
- Constructor for class org.zmpp.vm.
Machine3
Constructor.
Main
- Class in
org.zmpp.debug
This class is for integration testing only.
Main()
- Constructor for class org.zmpp.debug.
Main
main(String[])
- Static method in class org.zmpp.debug.
Main
MAX_VALUE
- Static variable in interface org.zmpp.vmutil.
RandomGenerator
The maximum generated value.
memaccess
- Variable in class org.zmpp.iff.
DefaultChunk
The memory access object.
MemoryAccess
- Interface in
org.zmpp.base
This class manages read and write access to the byte array which contains the story file data.
MemoryReadAccess
- Interface in
org.zmpp.base
This interface defines an abstract read access to a region of memory.
MemorySection
- Class in
org.zmpp.base
A MemorySection object wraps a reference to a MemoryAccess object, a length and a start to support subsections within memory.
MemorySection(MemoryAccess, int, int)
- Constructor for class org.zmpp.base.
MemorySection
N
newline()
- Method in interface org.zmpp.vm.
Machine
Prints a newline to the active output streams.
newline()
- Method in class org.zmpp.vm.
Machine3
Prints a newline to the active output streams.
newline()
- Method in interface org.zmpp.vm.
OutputStream
Prints a newline.
next()
- Method in class org.zmpp.vmutil.
PredictableRandomGenerator
Returns the next random value between 1 and MAX_VALUE.
next()
- Method in interface org.zmpp.vmutil.
RandomGenerator
Returns the next random value between 1 and MAX_VALUE.
next()
- Method in class org.zmpp.vmutil.
UnpredictableRandomGenerator
Returns the next random value between 1 and MAX_VALUE.
nextInstruction()
- Method in class org.zmpp.vm.
AbstractInstruction
Advances the program counter to the next instruction.
nextStep()
- Method in class org.zmpp.vm.
Machine3
O
obj
- Variable in class org.zmpp.debug.
ObjectTreeModel.ObjWrapper
Objects
- Class in
org.zmpp.vm
This class represents the object table.
Objects(MemoryAccess, int)
- Constructor for class org.zmpp.vm.
Objects
Constructor.
ObjectTree
- Interface in
org.zmpp.vm
This is the interface definition of the object tree.
ObjectTreeFrame
- Class in
org.zmpp.debug
ObjectTreeFrame(Machine3)
- Constructor for class org.zmpp.debug.
ObjectTreeFrame
ObjectTreeModel
- Class in
org.zmpp.debug
ObjectTreeModel(Machine, ObjectTree)
- Constructor for class org.zmpp.debug.
ObjectTreeModel
ObjectTreeModel.ObjWrapper
- Class in
org.zmpp.debug
ObjectTreeModel.ObjWrapper()
- Constructor for class org.zmpp.debug.
ObjectTreeModel.ObjWrapper
OP_ADD
- Static variable in class org.zmpp.vm.
LongInstruction
OP_AND
- Static variable in class org.zmpp.vm.
LongInstruction
OP_CALL
- Static variable in class org.zmpp.vm.
VariableInstruction
List of opcodes.
OP_CLEAR_ATTR
- Static variable in class org.zmpp.vm.
LongInstruction
OP_DEC
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_DEC_CHK
- Static variable in class org.zmpp.vm.
LongInstruction
OP_DIV
- Static variable in class org.zmpp.vm.
LongInstruction
OP_GET_CHILD
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_GET_NEXT_PROP
- Static variable in class org.zmpp.vm.
LongInstruction
OP_GET_PARENT
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_GET_PROP
- Static variable in class org.zmpp.vm.
LongInstruction
OP_GET_PROP_ADDR
- Static variable in class org.zmpp.vm.
LongInstruction
OP_GET_PROP_LEN
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_GET_SIBLING
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_INC
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_INC_CHK
- Static variable in class org.zmpp.vm.
LongInstruction
OP_INPUTSTREAM
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_INSERT_OBJ
- Static variable in class org.zmpp.vm.
LongInstruction
OP_JE
- Static variable in class org.zmpp.vm.
LongInstruction
List of opcodes.
OP_JG
- Static variable in class org.zmpp.vm.
LongInstruction
OP_JIN
- Static variable in class org.zmpp.vm.
LongInstruction
OP_JL
- Static variable in class org.zmpp.vm.
LongInstruction
OP_JUMP
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_JZ
- Static variable in class org.zmpp.vm.
Short1Instruction
List of opcodes.
OP_LOAD
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_LOADB
- Static variable in class org.zmpp.vm.
LongInstruction
OP_LOADW
- Static variable in class org.zmpp.vm.
LongInstruction
OP_MOD
- Static variable in class org.zmpp.vm.
LongInstruction
OP_MUL
- Static variable in class org.zmpp.vm.
LongInstruction
OP_NEW_LINE
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_NOP
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_NOT
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_OR
- Static variable in class org.zmpp.vm.
LongInstruction
OP_OUTPUTSTREAM
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_POP
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_PRINT
- Static variable in class org.zmpp.vm.
PrintLiteralInstruction
OP_PRINT_ADDR
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_PRINT_CHAR
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_PRINT_NUM
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_PRINT_OBJ
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_PRINT_PADDR
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_PRINT_RET
- Static variable in class org.zmpp.vm.
PrintLiteralInstruction
OP_PULL
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_PUSH
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_PUT_PROP
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_QUIT
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_RANDOM
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_REMOVE_OBJ
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_RESTART
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_RESTORE
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_RET
- Static variable in class org.zmpp.vm.
Short1Instruction
OP_RET_POPPED
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_RFALSE
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_RTRUE
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_SAVE
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_SET_ATTR
- Static variable in class org.zmpp.vm.
LongInstruction
OP_SET_WINDOW
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_SHOW_STATUS
- Static variable in class org.zmpp.vm.
Short0Instruction
OP_SOUND_EFFECT
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_SPLIT_WINDOW
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_SREAD
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_STORE
- Static variable in class org.zmpp.vm.
LongInstruction
OP_STOREB
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_STOREW
- Static variable in class org.zmpp.vm.
VariableInstruction
OP_SUB
- Static variable in class org.zmpp.vm.
LongInstruction
OP_TEST
- Static variable in class org.zmpp.vm.
LongInstruction
OP_TEST_ATTR
- Static variable in class org.zmpp.vm.
LongInstruction
OP_VERIFY
- Static variable in class org.zmpp.vm.
Short0Instruction
Operand
- Class in
org.zmpp.vm
This is the definition of an instruction's operand.
Operand(int, short)
- Constructor for class org.zmpp.vm.
Operand
Constructor.
Operand.OperandType
- Enum in
org.zmpp.vm
The available operand types.
org.zmpp.base
- package org.zmpp.base
This package contains some fundamental interfaces and classes.
org.zmpp.debug
- package org.zmpp.debug
This package implements a debugging console for the ZMPP machine.
org.zmpp.iff
- package org.zmpp.iff
This package contains classes for reading and writing IFF files.
org.zmpp.vm
- package org.zmpp.vm
This package contains the base structures for the Z machine, e.g.
org.zmpp.vmutil
- package org.zmpp.vmutil
This package contains the base utilities for the Z machine, e.g.
OutputStream
- Interface in
org.zmpp.vm
This interface defines an output stream in the Z-machine.
P
popRoutineContext(short)
- Method in interface org.zmpp.vm.
Machine
Pops the current routine context from the stack.
popRoutineContext(short)
- Method in class org.zmpp.vm.
Machine3
Pops the current routine context from the stack.
PortableGameState
- Class in
org.zmpp.vm
This class represents the state of the Z machine in an external format, so it can be exchanged using the Quetzal IFF format.
PortableGameState()
- Constructor for class org.zmpp.vm.
PortableGameState
Constructor.
PortableGameState.StackFrame
- Class in
org.zmpp.vm
This class represents a stack frame in the portable game state model.
PortableGameState.StackFrame()
- Constructor for class org.zmpp.vm.
PortableGameState.StackFrame
PredictableRandomGenerator
- Class in
org.zmpp.vmutil
This class implements the predictable random number generator mentioned in the Z machine standards document.
PredictableRandomGenerator(long)
- Constructor for class org.zmpp.vmutil.
PredictableRandomGenerator
Constructor.
print(String)
- Method in interface org.zmpp.vm.
Machine
Prints the specified string to the active output streams.
print(String)
- Method in class org.zmpp.vm.
Machine3
Prints the specified string to the active output streams.
print(String)
- Method in interface org.zmpp.vm.
OutputStream
Prints a Unicode string to the stream.
PrintLiteralInstruction
- Class in
org.zmpp.vm
This class implements the print and print_ret instructions.
PrintLiteralInstruction(Machine, int, MemoryReadAccess, int)
- Constructor for class org.zmpp.vm.
PrintLiteralInstruction
Constructor.
printNumber(short)
- Method in interface org.zmpp.vm.
Machine
Prints the specified signed number.
printNumber(short)
- Method in class org.zmpp.vm.
Machine3
Prints the specified signed number.
printZchar(short)
- Method in interface org.zmpp.vm.
Machine
Prints the specified ZSCII character.
printZchar(short)
- Method in class org.zmpp.vm.
Machine3
Prints the specified ZSCII character.
printZsciiString(int)
- Method in interface org.zmpp.vm.
Machine
Prints the ZSCII string at the specified address to the active output streams.
printZsciiString(int)
- Method in class org.zmpp.vm.
Machine3
Prints the ZSCII string at the specified address to the active output streams.
pushRoutineContext(RoutineContext)
- Method in interface org.zmpp.vm.
Machine
Pushes a new routine context onto the routine context stack.
pushRoutineContext(RoutineContext)
- Method in class org.zmpp.vm.
Machine3
Pushes a new routine context onto the routine context stack.
Q
quit()
- Method in interface org.zmpp.vm.
Machine
Exists the virtual machine.
quit()
- Method in class org.zmpp.vm.
Machine3
Exists the virtual machine.
R
random(short)
- Method in interface org.zmpp.vm.
Machine
Generates a number in the range between 1 and range.
random(short)
- Method in class org.zmpp.vm.
Machine3
Generates a number in the range between 1 and range.
RandomGenerator
- Interface in
org.zmpp.vmutil
This interface defines the functions of a random number generator within the Z machine.
readByte(int)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Returns the signed 8 bit value at specified address.
readByte(int)
- Method in interface org.zmpp.base.
MemoryReadAccess
Returns the signed 8 bit value at specified address.
readByte(int)
- Method in class org.zmpp.base.
MemorySection
Returns the signed 8 bit value at specified address.
readLine(MemoryAccess, int, int)
- Method in class org.zmpp.debug.
TestFrame
readLine(MemoryAccess, int, int)
- Method in interface org.zmpp.vm.
InputStream
Reads a line to the specified target location in memory.
readLine(int, int)
- Method in interface org.zmpp.vm.
Machine
Reads a string from the selected input stream.
readLine(int, int)
- Method in class org.zmpp.vm.
Machine3
Reads a string from the selected input stream.
readSaveGame(FormChunk)
- Method in class org.zmpp.vm.
PortableGameState
Initialize the state from an IFF form.
readShort(int)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Returns the signed 16 bit word at the specified address.
readShort(int)
- Method in interface org.zmpp.base.
MemoryReadAccess
Returns the signed 16 bit word at the specified address.
readShort(int)
- Method in class org.zmpp.base.
MemorySection
Returns the signed 16 bit word at the specified address.
readUnsigned32(int)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Reads the unsigned 32 bit word at the specified address.
readUnsigned32(int)
- Method in interface org.zmpp.base.
MemoryReadAccess
Reads the unsigned 32 bit word at the specified address.
readUnsigned32(int)
- Method in class org.zmpp.base.
MemorySection
Reads the unsigned 32 bit word at the specified address.
readUnsignedByte(int)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Returns the unsigned 8 bit value at the specified address.
readUnsignedByte(int)
- Method in interface org.zmpp.base.
MemoryReadAccess
Returns the unsigned 8 bit value at the specified address.
readUnsignedByte(int)
- Method in class org.zmpp.base.
MemorySection
Returns the unsigned 8 bit value at the specified address.
readUnsignedShort(int)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Reads the unsigned 16 bit word at the specified address.
readUnsignedShort(int)
- Method in interface org.zmpp.base.
MemoryReadAccess
Reads the unsigned 16 bit word at the specified address.
readUnsignedShort(int)
- Method in class org.zmpp.base.
MemorySection
Reads the unsigned 16 bit word at the specified address.
removeObject(int)
- Method in class org.zmpp.vm.
Objects
Removes an object from its parent.
removeObject(int)
- Method in interface org.zmpp.vm.
ObjectTree
Removes an object from its parent.
removeTreeModelListener(TreeModelListener)
- Method in class org.zmpp.debug.
ObjectTreeModel
restart()
- Method in interface org.zmpp.vm.
Machine
Restarts the virtual machine.
restart()
- Method in class org.zmpp.vm.
Machine3
Restarts the virtual machine.
restore()
- Method in interface org.zmpp.vm.
Machine
Restores a previously saved state.
restore()
- Method in class org.zmpp.vm.
Machine3
Restores a previously saved state.
returnFromRoutine(short)
- Method in class org.zmpp.vm.
AbstractInstruction
This function returns from the current routine, setting the return value into the specified return variable.
RoutineContext
- Class in
org.zmpp.vm
This class holds information about a subroutine.
RoutineContext(int, int)
- Constructor for class org.zmpp.vm.
RoutineContext
Constructor.
S
save()
- Method in interface org.zmpp.vm.
Machine
Saves the current state.
save()
- Method in class org.zmpp.vm.
Machine3
Saves the current state.
selectInputStream(int)
- Method in interface org.zmpp.vm.
Machine
Selects an input stream.
selectInputStream(int)
- Method in class org.zmpp.vm.
Machine3
Selects an input stream.
setAttribute(int)
- Method in class org.zmpp.vm.
DefaultZObject
Sets the specified attribute.
setAttribute(int)
- Method in interface org.zmpp.vm.
ZObject
Sets the specified attribute.
setBranchIfTrue(boolean)
- Method in class org.zmpp.vm.
AbstractInstruction
Sets the branch if condition true flag.
setBranchOffset(short)
- Method in class org.zmpp.vm.
AbstractInstruction
Sets the branch offset.
setChild(int)
- Method in class org.zmpp.vm.
DefaultZObject
Assigns a new child to this object.
setChild(int)
- Method in interface org.zmpp.vm.
ZObject
Assigns a new child to this object.
setEnabled(boolean)
- Method in interface org.zmpp.vm.
OutputStream
Enables/disables this output stream.
setInputStream(int, InputStream)
- Method in interface org.zmpp.vm.
Machine
Sets an input stream to the specified number.
setInputStream(int, InputStream)
- Method in class org.zmpp.vm.
Machine3
Sets an input stream to the specified number.
setInvocationStackPointer(int)
- Method in class org.zmpp.vm.
RoutineContext
Sets the stack pointer at invocation time.
setLength(int)
- Method in class org.zmpp.vm.
AbstractInstruction
Sets the instruction's length in bytes.
setLength(int)
- Method in class org.zmpp.vm.
PrintLiteralInstruction
Sets the instruction's length in bytes.
setLocalVariable(int, short)
- Method in class org.zmpp.vm.
RoutineContext
Sets a value to the specified local variable.
setNumArguments(int)
- Method in class org.zmpp.vm.
RoutineContext
Sets the number of arguments.
setOpcode(int)
- Method in class org.zmpp.vm.
AbstractInstruction
Sets the instruction's opcode.
setOutputStream(int, OutputStream)
- Method in interface org.zmpp.vm.
Machine
Sets the output stream to the specified number.
setOutputStream(int, OutputStream)
- Method in class org.zmpp.vm.
Machine3
Sets the output stream to the specified number.
setParent(int)
- Method in class org.zmpp.vm.
DefaultZObject
Assigns a new parent object.
setParent(int)
- Method in interface org.zmpp.vm.
ZObject
Assigns a new parent object.
setProgramCounter(int)
- Method in interface org.zmpp.vm.
Machine
Sets the program counter to a new address.
setProgramCounter(int)
- Method in class org.zmpp.vm.
Machine3
Sets the program counter to a new address.
setPropertyByte(int, int, byte)
- Method in class org.zmpp.vm.
DefaultZObject
Sets the specified property byte to the given value.
setPropertyByte(int, int, byte)
- Method in interface org.zmpp.vm.
ZObject
Sets the specified property byte to the given value.
setReturnAddress(int)
- Method in class org.zmpp.vm.
RoutineContext
Sets the return address.
setReturnVariable(int)
- Method in class org.zmpp.vm.
RoutineContext
Sets the routine's return variable number.
setSibling(int)
- Method in class org.zmpp.vm.
DefaultZObject
Assigns a new sibling to this object.
setSibling(int)
- Method in interface org.zmpp.vm.
ZObject
Assigns a new sibling to this object.
setStackPointer(int)
- Method in interface org.zmpp.vm.
Machine
Sets the global stack pointer to the specified value.
setStackPointer(int)
- Method in class org.zmpp.vm.
Machine3
Sets the global stack pointer to the specified value.
setStackTopElement(short)
- Method in interface org.zmpp.vm.
Machine
Sets the value of the element at the top of the stack without incrementing the stack pointer.
setStackTopElement(short)
- Method in class org.zmpp.vm.
Machine3
setStatusLine(StatusLine)
- Method in interface org.zmpp.vm.
Machine
Sets the Z-machine's status line.
setStatusLine(StatusLine)
- Method in class org.zmpp.vm.
Machine3
Sets the Z-machine's status line.
setStoreVariable(int)
- Method in class org.zmpp.vm.
AbstractInstruction
Sets the store variable.
setToplevelObjects(List<ObjectTreeModel.ObjWrapper>)
- Method in class org.zmpp.debug.
ObjectTreeModel
setVariable(int, short)
- Method in interface org.zmpp.vm.
Machine
Sets the value of the specified variable.
setVariable(int, short)
- Method in class org.zmpp.vm.
Machine3
Sets the value of the specified variable.
setZsciiConverter(ZsciiConverter)
- Static method in class org.zmpp.vmutil.
ZsciiString
Sets the converter object used by the ZsciiString class.
SHIFT_2
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
SHIFT_3
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
SHIFT_4
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
SHIFT_5
- Static variable in class org.zmpp.vmutil.
ZsciiConverter
shiftFrom(ZsciiConverter.Alphabet, byte)
- Static method in class org.zmpp.vmutil.
ZsciiConverter
Returns a new alphabet for a given shift character.
Short0Instruction
- Class in
org.zmpp.vm
This class represents instructions of type SHORT, 0OP.
Short0Instruction(Machine, int)
- Constructor for class org.zmpp.vm.
Short0Instruction
Constructor.
Short1Instruction
- Class in
org.zmpp.vm
This class represents instructions of type SHORT, 1OP.
Short1Instruction(Machine, int)
- Constructor for class org.zmpp.vm.
Short1Instruction
Constructor.
start()
- Method in interface org.zmpp.vm.
Machine
Starts the virtual machine.
start()
- Method in class org.zmpp.vm.
Machine3
Starts the virtual machine.
StatusLine
- Interface in
org.zmpp.vm
This interface defines the Z machine's status line.
storeResult(short)
- Method in class org.zmpp.vm.
AbstractInstruction
Stores the specified value in the result variable.
storesResult()
- Method in class org.zmpp.vm.
AbstractInstruction
Returns true, if this instruction stores a result, false, otherwise.
storesResult()
- Method in class org.zmpp.vm.
LongInstruction
Returns true, if this instruction stores a result, false, otherwise.
storesResult()
- Method in class org.zmpp.vm.
Short1Instruction
Returns true, if this instruction stores a result, false, otherwise.
storesResult()
- Method in class org.zmpp.vm.
VariableInstruction
Returns true, if this instruction stores a result, false, otherwise.
StoryFileHeader
- Interface in
org.zmpp.vm
This interface defines the structure of a story file header in the Z-machine.
T
TestFrame
- Class in
org.zmpp.debug
This is the main frame of the testing ui.
TestFrame(Machine3)
- Constructor for class org.zmpp.debug.
TestFrame
throwInvalidOpcode()
- Method in class org.zmpp.vm.
AbstractInstruction
Halt the virtual machine with an error message about this instruction.
toString()
- Method in class org.zmpp.debug.
ObjectTreeModel.ObjWrapper
toString()
- Method in class org.zmpp.vmutil.
ZsciiString
translatePackedAddress(int)
- Method in interface org.zmpp.vm.
Machine
Translates a packed address into a byte address.
translatePackedAddress(int)
- Method in class org.zmpp.vm.
Machine3
Translates a packed address into a byte address.
TRUE
- Static variable in class org.zmpp.vm.
AbstractInstruction
The constant for true.
TYPENUM_LARGE_CONSTANT
- Static variable in class org.zmpp.vm.
Operand
Type number for a large constant.
TYPENUM_OMITTED
- Static variable in class org.zmpp.vm.
Operand
Type number for omitted.
TYPENUM_SMALL_CONSTANT
- Static variable in class org.zmpp.vm.
Operand
Type number for a small constant.
TYPENUM_VARIABLE
- Static variable in class org.zmpp.vm.
Operand
Type number for a variable.
U
UnpredictableRandomGenerator
- Class in
org.zmpp.vmutil
This class implements the "random" random number generator mentioned in the Z-machine standard document.
UnpredictableRandomGenerator()
- Constructor for class org.zmpp.vmutil.
UnpredictableRandomGenerator
Constructor.
update()
- Method in class org.zmpp.debug.
LocalTableModel
update()
- Method in class org.zmpp.debug.
ObjectTreeFrame
updateStatus(String, int, int)
- Method in interface org.zmpp.vm.
StatusLine
Updates the status of a score game.
updateStatusLine()
- Method in interface org.zmpp.vm.
Machine
Updates the status line.
updateStatusLine()
- Method in class org.zmpp.vm.
Machine3
V
valueForPathChanged(TreePath, Object)
- Method in class org.zmpp.debug.
ObjectTreeModel
valueOf(String)
- Static method in enum org.zmpp.vm.
AbstractInstruction.InstructionForm
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.zmpp.vm.
AbstractInstruction.OperandCount
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.zmpp.vm.
Machine.VariableType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.zmpp.vm.
Operand.OperandType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.zmpp.vmutil.
ZsciiConverter.Alphabet
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.zmpp.vm.
AbstractInstruction.InstructionForm
Returns an array containing the constants of this enum type, in the order they're declared.
values()
- Static method in enum org.zmpp.vm.
AbstractInstruction.OperandCount
Returns an array containing the constants of this enum type, in the order they're declared.
values()
- Static method in enum org.zmpp.vm.
Machine.VariableType
Returns an array containing the constants of this enum type, in the order they're declared.
values()
- Static method in enum org.zmpp.vm.
Operand.OperandType
Returns an array containing the constants of this enum type, in the order they're declared.
values()
- Static method in enum org.zmpp.vmutil.
ZsciiConverter.Alphabet
Returns an array containing the constants of this enum type, in the order they're declared.
VariableInstruction
- Class in
org.zmpp.vm
This class represents instructions of type VARIABLE.
VariableInstruction(Machine, AbstractInstruction.OperandCount, int)
- Constructor for class org.zmpp.vm.
VariableInstruction
Constructor.
W
writeByte(int, byte)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Writes a byte value to the specified address.
writeByte(int, byte)
- Method in interface org.zmpp.base.
MemoryAccess
Writes a byte value to the specified address.
writeByte(int, byte)
- Method in class org.zmpp.base.
MemorySection
Writes a byte value to the specified address.
writeShort(int, short)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Writes a short value to the memory.
writeShort(int, short)
- Method in interface org.zmpp.base.
MemoryAccess
Writes a short value to the memory.
writeShort(int, short)
- Method in class org.zmpp.base.
MemorySection
Writes a short value to the memory.
writeUnsigned32(int, long)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Writes an unsigned 32 bit value to the specified address.
writeUnsigned32(int, long)
- Method in interface org.zmpp.base.
MemoryAccess
Writes an unsigned 32 bit value to the specified address.
writeUnsigned32(int, long)
- Method in class org.zmpp.base.
MemorySection
Writes an unsigned 32 bit value to the specified address.
writeUnsignedByte(int, short)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Writes an unsigned byte value to the specified address.
writeUnsignedByte(int, short)
- Method in interface org.zmpp.base.
MemoryAccess
Writes an unsigned byte value to the specified address.
writeUnsignedByte(int, short)
- Method in class org.zmpp.base.
MemorySection
Writes an unsigned byte value to the specified address.
writeUnsignedShort(int, int)
- Method in class org.zmpp.base.
DefaultMemoryAccess
Writes an unsigned 16 bit value to the specified address.
writeUnsignedShort(int, int)
- Method in interface org.zmpp.base.
MemoryAccess
Writes an unsigned 16 bit value to the specified address.
writeUnsignedShort(int, int)
- Method in class org.zmpp.base.
MemorySection
Writes an unsigned 16 bit value to the specified address.
Z
ZObject
- Interface in
org.zmpp.vm
This is the interface definition for an object in the object tree.
ZsciiConverter
- Class in
org.zmpp.vmutil
This class provides conversion for the ZSCII character encoding into the Java character system.
ZsciiConverter(int, ZsciiConverter.AbbreviationsTable)
- Constructor for class org.zmpp.vmutil.
ZsciiConverter
Constructor.
ZsciiConverter.AbbreviationsTable
- Interface in
org.zmpp.vmutil
This interface defines the abstract access to an abbreviations table in memory, this will be used for decoding if needed.
ZsciiConverter.Alphabet
- Enum in
org.zmpp.vmutil
Defines the possible alphabets here.
ZsciiString
- Class in
org.zmpp.vmutil
This class represents a string of Z characters.
ZsciiString(String)
- Constructor for class org.zmpp.vmutil.
ZsciiString
Constructor.
ZsciiString(MemoryReadAccess, int)
- Constructor for class org.zmpp.vmutil.
ZsciiString
Constructor.
ZsciiString(short)
- Constructor for class org.zmpp.vmutil.
ZsciiString
Creates a ZsciiString from a single zchar.
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
W
Z
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2005 . All Rights Reserved.