RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_DynamicArea 8 (changes)

Showing changes from revision #1 to #2: Added | Removed | Changed

Programmer's OS_DynamicArea Reference Manuals
» OS_DynamicArea 8Part 15 – SWI Calls
» OS

OS_DynamicArea 8

» OS_DynamicArea
» OS_DynamicArea 8

OS_ DynamicArea 8

(SWI &66)
Entry
R0 8 (reason code)
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
Exit
R0 Preserved
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

Use

The purpose of this call is to set clamps on maximum size for subsequently created dynamic areas.

Notes

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.

See also

  • OS_DynamicArea
  • OS_DynamicArea 0
  • Sparse Dynamic Areas
Revised on May 16, 2014 13:55:09 by Jeffrey Lee (213) (195.72.173.131)
Edit | Back in time (1 revision) | Hide changes | History | Views: Print | Source | Linked from: OS_DynamicArea 0, OS_DynamicArea, OS_DynamicArea 2, OS_DynamicArea 24

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys