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

Dynamic Area PreShrink (changes)

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

OS_DynamicArea
» Dynamic Area Handler Code
» Dynamic Area PreShrink
Entry
R0 2 (handler reason)
R3 Amount area is shrinking by (bytes), i.e. R2*R5
R4 Current size of area (bytes)
R5 Page size (bytes)
R12 Workspace pointer passed to OS_DynamicArea 0 or base of area
Exit (Success)
R3 Amount to shrink by
All other registers preserved
V clear
Exit (Error)
R0 Pointer to error block, or 0 for a default error to be used
R3 0
All other registers preserved
V set

Use

This call is issued by the kernel prior to shrinking a dynamic area. It allows the owner of the area to limit how much the area is shrunk by, or to reject the request completely.

The returned R3 value must be less than or equal to the input value.

See also

  • Dynamic Area Handler Code
  • OS_DynamicArea
  • OS_DynamicArea 0
Created on August 5, 2017 17:27:17 by Jeffrey Lee (213) (91.84.11.161)
Edit | Views: Print | Source | Linked from: Dynamic Area Handler Code

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