h6. [[OS SWI Calls]] h6(. » OS_DynamicArea h2. OS_DynamicArea h5. (SWI &66) |_<^{width:3em}. Entry | | |<^. R0 |<^. "Reason code":#reason | |_<^{width:3em}. Exit | | |<^. R0 |<^. Preserved | h4. Use The purpose of this call is to perform operations on user dynamic areas. h4(#reason). Reason Codes |_<^{width:3em}. Entry |_<^. Action| |<^. 0|<^. [[OS_DynamicArea 0|Creates a new dynamic area]]| |<^. 1|<^. [[OS_DynamicArea 1|Removes a previously created dynamic area]] | |<^. 2|<^. [[OS_DynamicArea 2|Return information on a dynamic area]]| |<^. 3|<^. [[OS_DynamicArea 3|Enumerates dynamic areas]]| |<^. 4|<^. [[OS_DynamicArea 4|Renumbers dynamic areas]]| |<^. 5|<^. [[OS_DynamicArea 5|Return total free space (bytes)]]| |<^. 6|<^. Internal use only| |<^. 7|<^. Internal use only| |<^. 8|<^. [[OS_DynamicArea 8|Set maximum size clamps]]| |<^. 9|<^. [[OS_DynamicArea 9|Ensure sparse area is mapped to valid memory]]| |<^. 10|<^. [[OS_DynamicArea 10|Release a region of a Sparse area]]| |<^. 11|<^. Lock area (RISCOS Ltd LockedDAs)| |<^. 12|<^. Unlock area (RISCOS Ltd LockedDAs)| |<^. 13|<^. Resize locked area (RISCOS Ltd LockedDAs)| |<^. 14|<^. Describe heap area (RISCOS Ltd HeapDAs)| |<^. 15|<^. Claim block in heap area (RISCOS Ltd HeapDAs)| |<^. 16|<^. Release block in heap area (RISCOS Ltd HeapDAs)| |<^. 17|<^. Resize block in heap area (RISCOS Ltd HeapDAs)| |<^. 18|<^. Read size of block in heap area (RISCOS Ltd HeapDAs)| |<^. 19|<^. Change domain state of area (RISCOS Ltd DomainDAs)| |<^. 20|<^. [[OS_DynamicArea 20|Locate area by address]]| |<^. 21|<^. [[OS_DynamicArea 21|PMP physical operation]]| |<^. 22|<^. [[OS_DynamicArea 22|PMP logical operation]]| |<^. 23|<^. [[OS_DynamicArea 23|PMP resize operation]]| |<^. 24|<^. [[OS_DynamicArea 24|Return information on a dynamic area/PMP]]| |<^. 25|<^. [[OS_DynamicArea 25|Examine PMP pages]]| |<^. 26|<^. [[OS_DyanmicArea 26|Adjust application space limit]]| |<^. 27|<^. [[OS_DynamicArea 27|Return total free space (pages)]]| |<^. 28|<^. Internal use only| h4. Notes This call was introduced in RISC OS 3.50. Reason codes 6 to 10 were introduced in RISC OS 3.80. Reason codes 11 to 19 were introduced by RISC OS Select, and are not currently supported by RISC OS 5. Reason codes 20 to 25 were introduced by RISC OS 5.23. Reason codes 26 to 28 were introduced by RISC OS 5.27. h4. See also * [[OS_ChangeDynamicArea]] * [[OS_ReadDynamicArea]] * [[Physical Memory Pool|Physical Memory Pools (PMPs)]]