|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MemoryAccess
This class manages read and write access to the byte array which contains the story file data. It is the only means to read and manipulate the memory map.
Method Summary | |
---|---|
void |
writeByte(int address,
byte value)
Writes a byte value to the specified address. |
void |
writeShort(int address,
short value)
Writes a short value to the memory. |
void |
writeUnsigned32(int address,
long value)
Writes an unsigned 32 bit value to the specified address. |
void |
writeUnsignedByte(int address,
short value)
Writes an unsigned byte value to the specified address. |
void |
writeUnsignedShort(int address,
int value)
Writes an unsigned 16 bit value to the specified address. |
Methods inherited from interface org.zmpp.base.MemoryReadAccess |
---|
readByte, readShort, readUnsigned32, readUnsignedByte, readUnsignedShort |
Method Detail |
---|
void writeUnsignedShort(int address, int value)
address
- the address to write tovalue
- the value to writevoid writeShort(int address, short value)
address
- the addressvalue
- the valuevoid writeUnsignedByte(int address, short value)
address
- the address to write tovalue
- the value to writevoid writeByte(int address, byte value)
address
- the addressvalue
- the valuevoid writeUnsigned32(int address, long value)
address
- the address to write tovalue
- the value to write
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |