Reference Manual - Table of Contents Direct Memory Access
Command Summary:
Poke memoryAddress, byteValue
PokeInt memoryAddress, intValue
PokeLong memoryAddress, longValueFunction Summary:
var = Peek( memoryAddress )
var = PeekInt( memoryAddress )
var = PeekLong( memoryAddress )
var = VarAddr( variable )
Poke memoryAddress, byteValue
This command sets a single byte pointed to by the specified memory address to the byte represented by byteValue.
memoryAddress - This argument should be a numeric value representing the desired memory address.
byteValue - This should be a numeric value representing the value that wil be placed in memory.
PokeInt memoryAddress, intValue
This command sets two bytes pointed to by the specified memory address to the integer represented by intValue.
memoryAddress - This argument should be a numeric value representing the desired memory address.
byteValue - This should be a numeric value representing the value that wil be placed in memory.
PokeLong memoryAddress, longValue
This command sets a four bytes pointed to by the specified memory address address to the integer represented by longValue.
memoryAddress - This argument should be a numeric value representing the desired memory address.
byteValue - This should be a numeric value representing the value that wil be placed in memory.
var = Peek( memoryAddress )
This function returns the character (1 byte) value from the specified memory address.
memoryAddress - This argument should be a numeric value representing the desired memory address.
var = PeekInt( memoryAddress )
This function returns the integer (2 byte) value from the specified memory address.
memoryAddress - This argument should be a numeric value representing the desired memory address.
var = PeekLong( memoryAddress )
This function returns the long (4 byte) value from the specified memory address.
memoryAddress - This argument should be a numeric value representing the desired memory address.
var = VarAddr( variable )
This function returns the memory address of the specified memory variable.
variable - This argument can be any valid numeric or string variable, including arrays.