CopyIn

Description:              This function copies data from an absolute RAM address and returns a buffer.

Returns:                    Buffer

Usage:                       Script

Format:                      CopyIn(Address, Length)

Parameters:             Address    { numeric }  { required }  { no default: }

                                                Any numeric expression giving the absolute RAM address to start to copy. Typically the address is specified using the colon ( : ) operator.

                                    Length    { numeric }  { required }  { no default: }

                                                Any numeric expression giving the number of bytes to copy.

Comments:               This function requires that the VTSIO driver be installed. Please refer to the topic, Communicating Directly With Hardware for more details.

                                    A buffer is returned that is a copy of RAM at Address.

Example:

buff = CopyIn(0x1859@0x0000, 256);

This creates a 256 byte text buffer which is a copy of the real-mode RAM bytes at segment 1859 (hex), offset 0 to offset FF (hex).

See Also:

CopyOut | MemIn | MemOut