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 5 (changes)

Showing changes from revision #3 to #4: Added | Removed | Changed

OS_DynamicArea
ยป OS_DynamicArea 5

OS_DynamicArea 5

(SWI &66)
Entry
R0 5 (reason code)
R1 Number of single shrinkable areas to exclude from sum, or -1 to include all shrinkable areas
Exit
R0 Preserved
R1 Preserved
R2 Total amount of free space (bytes)

Use

The purpose of this call is to return the total free space. space, in bytes.

The returned value will be clamped at 2GB-PageSize in order to try and avoid any issues relating to signed number overflow. To avoid this clamping, useOS_DynamicArea 27.

See also

  • OS_DynamicArea
  • OS_DynamicArea 27
  • Shrinkable Dynamic Areas
Revised on November 25, 2019 23:26:47 by Jeffrey Lee (213) (109.152.28.242)
Edit | Back in time (3 revisions) | Hide changes | History | Views: Print | Source | Linked from: OS_DynamicArea, OS_DynamicArea 27

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