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

FileCore_MiscOp 1

Programmer's Reference Manuals
» Part 15 – SWI Calls
» FileCore
» FileCore_MiscOp
» FileCore_MiscOp 1

FileCore_MiscOp 1

(SWI &40549)
Entry
R0 1
R1 Drive number
R2 Sequence number
R8 Pointer to Filecore instance private word
Exit
R0 Preserved ?
R1 Preserved ?
R2 Sequence number
R3 Result flag
R8 Preserved ?

Use

The purpose of this call is to return information on the drive to see if a change has occurred.

Notes

The sequence number is to ensure no changes are lost due to reset being pressed. Both the given filing system and the FileCore incarnation should start with a sequence number of 0 for each drive. The filing system increments the sequence number with each change of state. If the filing system finds the entry sequence number doesn’t match its copy it should return changed/maybe changed, depending on whether the disc changed line works/doesn’t work.

See also

  • FileCore
  • FileCore_MiscOp
  • FileCore_MiscOp 1 Result Flags
Created on December 6, 2009 18:00:53 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: FileCore_MiscOp, FileCore_MiscOp 1 Result Flags

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