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

Service_ResourceFSStarting

Programmer's Reference Manuals
» Part 16 – Service Calls
» Service_ResourceFSStarting

Service_ResourceFSStarting

(Service &60)
Entry
R1 96 (&60)
R2 Address to call
R3 Workspace for ResourceFS?
Exit
R1-R3 Preserved to pass on (do not claim)

Use

This service is issued by ResourceFS? when it reinitialises

Notes

This service call must not be claimed.

As it is not linked into the module chain at this point, its SWIs cannot be called, so programs should call the code addressed by R2 directly:

STMFD sp!, {r0, lr} ; stack actual return address 
ADR r0, files ; pointer to resource file block 
MOV lr, pc ; emulate BL 
MOV pc, r2 ; call ResourceFS code 
LDMFD sp!, {r0, pc} ; and return 

Unlike ResourceFS_RegisterFiles?, the routine addressed by R2 does not issue Service_ResourceFSStarted for each block registered. Instead it issues one Service_ResourceFSStarted after all modules have received this service call.

See also

  • ResourceFS?
  • ResourceFS File Block?
  • ResourceFS_RegisterFiles?
  • Service_ResourceFSStarted
  • Service Calls
Created on December 11, 2009 21:35:53 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Service Calls, Service_DeviceFSStarting

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