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 19

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

OS_ Module 19

(SWI &1E)
Entry
R0 19 (&13)
R1 Module number, or 0 to start
R2 ROM section
Exit
R0 Preserved
R1 Module number of found module +1
R2 ROM section
R3 Pointer to module name
R4 Status
R5 Chunk number of expansion card module

Use

The purpose of this call is to enumerate ROM modules.

Notes

This call returns information on one module that is currently in ROM along with its status. The module found is the given number of modules on from start of the given ROM section. If there are insufficient modules in the ROM section then the search continues with the next section; so the fifth module in a four module section would in fact be the first module of the next section. The ROM sections are scanned in order. The values in R0-R2 are the correct ones to use this call to enumerate the next module; hence repeated calls will give a full enumeration of all ROM modules.

OS_Module 20 is provides the same functionality, but in addition returns the version information (in R6).

See also

  • OS_Module
  • OS_Module 20
  • OS_Module Status
  • ROM Sections
Created on November 29, 2009 18:32:18 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: BCD Version Number, ROM Sections, OS_Module Status, OS_Module 20, OS_Module

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