AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Sets clamps on maximum size for subsequently created dynamic areas
=>     R0 =     8
     R1 =     clamp on maximum size of (non-Sparse) areas created by OS_DynamicArea 0 with r5 = -1, or 0 to read only.
     R2 =     clamp on maximum size of (non-Sparse) areas created by OS_DynamicArea 0 with r5 > 0, or 0 to read only.
     R3 =     clamp on maximum size of Sparse areas created by OS_DynamicArea 0 with r4 bit 10 set, or 0 to read only.
<=     R1 =     previous clamp for OS_DynamicArea 0 with r5 = -1
     R2 =     previous clamp for OS_DynamicArea 0 with r5 > 0
     R3 =     previous clamp for OS_DynamicArea 0 with r4 bit 10 set.

Specifying -1 in R1 or R2 means that the respective clamp is the RAM limit of the machine (default). Specifying a figure larger than the RAM limit is equivalent to specifying -1.

Specifying -1 for R3 is invalid, since there is no concept of RAM limit for Sparse area maximum size. Ergo, the effective limit is then the size of the largest fragment of logical address space free at creation time.

[sh-index] Back to list of manuals