Important: The information in this document is obsolete and should not be used for new development.
GetSysPPtr
You can use theGetSysPPtrfunction to obtain a pointer to the low-memory copy of parameter RAM.
FUNCTION GetSysPPtr: SysPPtr;DESCRIPTION
TheGetSysPPtrfunction 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
WriteParamfunction 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 theGetSysPPtrfunction to change the values in parameter RAM. Instead use the appropriate Toolbox routines to modify values in parameter RAM.ASSEMBLY-LANGUAGE INFORMATION
The global variableSysParamcontains 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 lettersSPand 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. TheWriteParamfunction is described next.