F$CpyMem
From NitrOS-9
Copy External Memory | Reads external memory into the user’s buffer for inspection |
OS9 F$CpyMem 103F 1B |
Entry Conditions | |
D | DAT image pointer |
X | offset in block to begin copy |
Y | byte count |
U | caller’s destination buffer |
Error Output | |
CC | carry set on error |
B | error code (if any) |
Additional Information
- You can view any system memory through the use of the Copy External Memory call. The call assumes Register X is the address of the 64K address space described by the DAT image given.
- If you pass the entire DAT image of a process, place a value in Register X that equals the address in the process space. If you pass a partial DAT image (the upper half), place a value in Register X that equals the offset from the beginning of the DAT image ($8000).
krn