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

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

OS_DynamicArea
ยป OS_DynamicArea 27

OS_DynamicArea 27

(SWI &66)
Entry
R0 27 (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 (pages)

Use

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

This call supersedes OS_DynamicArea 5, which returns a 32-bit byte count of free free space, thus preventing it from returning an accurate value if there are many gigabytes of free RAM.

See also

  • OS_DynamicArea
  • OS_DynamicArea 5
  • Shrinkable Dynamic Areas
Created on November 25, 2019 23:34:03 by Jeffrey Lee (213) (109.152.28.242)
Edit | Views: Print | Source | Linked from: OS_DynamicArea 5, OS_DynamicArea

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