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

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

FileCore_MiscOp

(SWI &40549)
Entry  
R0 Reason code
R1 Drive number
R8 Pointer to Filecore instance private word
All other registers dependent on reason code
Exit  
All other registers dependent on reason code

Use

The purpose of this call is to provide a number of miscellaneous low-level functions for accessing drives.

Reason Codes

# Hex # Action
0 &00 Mount
1 &01 Poll changed
2 &02 Lock floppy drive
3 &03 Unlock floppy drive
4 &04 Poll period
5 &05 Eject disc
6 &06 Read processed FileCore_Create block
7 &07 Read drive flags

Notes

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

See also

  • FileCore
  • FileCore_DiscOp64
Revised on December 14, 2009 23:24:22 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: FileCore SWI Calls, FileCore_MiscOp 0, FileCore_MiscOp 1, FileCore_MiscOp 1 Result Flags, FileCore_MiscOp 2, FileCore_MiscOp 3, FileCore_MiscOp 4, FileCore_MiscOp 5, FileCore_MiscOp 6, FileCore_MiscOp 7

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