RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_Module

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

OS_Module

(SWI &1E)
Entry
R0 Reason code
All other registers are dependent on reason code
Exit
R0 Preserved
All other registers dependent on reason code

Use

The purpose of this call is to perform a module operation.

Notes

The action performed depends on the reason code value in R0.

Reason Codes

# Hex # Action
00 &00 Run
01 &01 Load
02 &02 Enter
03 &03 ReInit
04 &04 Delete
05 &05 Describe RMA
06 &06 Claim
07 &07 Free
08 &08 Tidy
09 &09 Clear
10 &0A Insert module from memory
11 &0B Insert module from memory and move RMA
12 &0C Extract module information
13 &0D Extend block
14 &0E Create new instantiation
15 &0F Rename instantiation
16 &10 Make preferred instantiation
17 &11 Add expansion card module
18 &12 Lookup module name
19 &13 Enumerate ROM modules
20 &14 Enumerate ROM modules with version
21 &15 Find end of ROM module chain
22 &16 Enumerate modules with private word pointer
23 &17 Unplug or insert modules

See also

  • Service Calls
  • Module Format?
Revised on August 11, 2011 13:32:12 by Jeffrey Lee (213) (195.72.173.130)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: OS_Module 21, OS_Module 22, OS_Module 23, Error Generators, Currently Active Object Pointer, OS SWI Calls, OS_Module 1, OS_Module 2, OS_Module 3, OS_Module 4, OS_Module 5, OS_Module 6, OS_Module 7, OS_Module 8, OS_Module 9, OS_Module 10, OS_Module 11, OS_Module 13, OS_Module 14, OS_Module 15, OS_Module 16, OS_Module 17, OS_Module 18, BCD Version Number, ROM Sections, OS_Module Status, OS_Module 20, OS_Module 19, OS_Module 12, *Modules, *RMClear, *RMEnsure, *RMFaster, *RMInsert, *RMKill, *RMLoad, *RMReInit, *RMRun, *RMTidy, *ROMModules, *Unplug, OS_Module 0

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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