Important: The information in this document is obsolete and should not be used for new development.
GetSysPPtr
You can use theGetSysPPtr
function to obtain a pointer to the low-memory copy of parameter RAM.
FUNCTION GetSysPPtr: SysPPtr;DESCRIPTION
TheGetSysPPtr
function returns a pointer to the low-memory copy of parameter RAM. The copied parameter RAM values are accessible through the system parameters record.You can examine the values stored in the various fields of this record, or you can change them and call the
WriteParam
function to copy your changes back into parameter RAM.SPECIAL CONSIDERATIONS
Because of the organization of parameter RAM is subject to change, you should not use theGetSysPPtr
function to change the values in parameter RAM. Instead use the appropriate Toolbox routines to modify values in parameter RAM.ASSEMBLY-LANGUAGE INFORMATION
The global variableSysParam
contains the address of the start of the system parameters record. Other global variables allow you to access individual fields of the system parameters record directly. These global variables all begin with the lettersSP
and point directly into the system parameters record stored in low memory. Other global variables referencing memory locations outside of the system parameters record are used to store copies of individual fields of the system parameters record.SEE ALSO
For information about the system parameters record, see page 7-31. For a list of global variables associated with the system parameters record, see "Global Variables" on page 7-38. TheWriteParam
function is described next.