Ejemplo n.º 1
0
 static int ReadMemoryInt(int pid, UInt64 address)//example for read int
 {
     vam.WriteInt32(bAddress + offset_pid, pid);
     vam.WriteInt32(bAddress + offset_memSize, 4);
     vam.WriteUInt64(bAddress + offset_memAddress, address);
     vam.WriteInt32(bAddress + offset_typeReq, 2);
     return(vam.ReadInt32(bAddress + offset_retAnswer));
 }