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 2 (Rev #4, changes)

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

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

OS_DynamicArea 2

» OS_DynamicArea
» OS_DynamicArea 2

OS_ DynamicArea 2

(SWI &66)
Entry
R0 2 (reason code)
R1 Area number Area number
Exit
R0 Preserved
R1 Preserved
R2 Current size of area, in bytes
R3 Base logical address of area
R4 Area flags
R5 Maximum size of area in bytes
R6 Pointer to dynamic area handler routine, or 0 if no routine
R7 Pointer to workspace for handler
R8 Pointer to name of area

Use

The purpose of this call is to return information relating to a dynamic area.

Notes

For doubly-mapped areas, R3 on exit from this call returns the address of the boundary between the first and second copies of the area, whereas OS_ReadDynamicArea returns the start address of the first copy (i.e. the lowest valid address in the area).

See also

  • Dynamic Area Flags
  • Dynamic Area Handler Code
  • OS_DynamicArea
  • OS_DynamicArea 8
  • Sparse Dynamic Areas
Revision from May 16, 2014 13:50:38 by Jeffrey Lee (213)
Forward in time (to current) | Back in time (3 more) | See current | Hide changes | History | Rollback | Linked from: Sparse Dynamic Areas, OS_ReadDynamicArea, OS_DynamicArea, Dynamic Area Handler Code, 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