Menu

WriteMemory

Dilshan R Jayakody

Function

procedure WriteMemory(MLoc : Word; WData : byte);

Availability

  • In Revision 0 and newer versions

Description

This function write byte to the specified memory address.

Example

var
    memory_address : Integer;
begin    
    for memory_address := 3 to GetRAMSize() do 
    begin            
        WriteMemory(memory_address, $FF);                
    end;
end;

Related

Documentation: Virtual Machine Simulator Scripting Functions