Entry | |
---|---|
R0 | 6 |
R1 | 0, or pointer to item list terminated by -1 |
R2 | If R1=0 then Single item to read, else pointer to result buffer |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | If R1=0 on entry, value of item |
If R1<>0 on entry, block pointed to by R2 is updated |
This call is for internal use by the operating system and certain utilities (e.g. SoftLoad, ROMPatch). It should not be used by user programs. The purpose of the call is to return information about the Kernel’s internal variables.
When an item number is unrecognised or the item is no longer used, 0 will be returned as the value of that item.