CopyIn
Description: | Copies data from an absolute RAM address and returns a buffer. |
Returns: | Buffer |
Usage: ![]() |
Script Only. |
Function Groups: | Memory I/O |
Related to: | CopyOut | MemIn | MemOut |
Format: ![]() |
CopyIn(Address, Length) |
Parameters: |
Address |
Required. Any numeric expression giving the absolute RAM address to start to copy. Typically the address is specified using the colon ( : ) operator. |
Length |
Required. 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).