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

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

OS_DynamicArea
ยป OS_DynamicArea 20

OS_DynamicArea 20

(SWI &66)
Entry
R0 20 (reason code)
R1 Logical address
Exit
R0 Area type:
0: Dynamic Area
1: System area
Other values: Reserved
R1 Area number

Use

This call can be used to locate the dynamic area or system area that encompasses the given address.

For dynamic areas, the area number returned in R1 will be the dynamic area number. For system areas, the area number will correspond to one of the area numbers recognised by OS_Memory 16.

Notes

If the address is not located in any area then an error will be returned.

This call only checks that the address is within the minimum and maximum bounds of the area. It does not verify that there is valid memory at that address. To check that there is valid memory at an arbitrary address, use a call such as OS_Memory 24 or OS_ValidateAddress.

See also

  • OS_Memory 16
  • OS_Memory 24
  • OS_ValidateAddress
Created on August 9, 2016 14:01:31 by Jeffrey Lee (213) (5.148.5.244)
Edit | Views: Print | Source | Linked from: 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