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_DiscFormat

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

FileCore_DiscFormat

(SWI &40547)
Entry
R0 Pointer to disc format structure to be filled in
R1 SWI number to call to vet disc format (eg ADFS_VetFormat?)
R2 Parameter in R1 to use when calling vetting SWI
R3 Format specifier
Exit
R0 Preserved
R1 Preserved
R2 Preserved
R3 Preserved

Use

The purpose of this call is to fill in a disc format structure with parameters for the specified format.

Notes

This call fills in the disc format structure pointed to by R0 with the ‘perfect’ parameters for the specified format, taking no account of the abilities of the available hardware that will have to perform the format. Once filled in, this SWI calls the vetting SWI to check the format structure for achievability on the available hardware.

The vetting SWI may generate an error if the format differs widely from what can be achieved; alternatively it may alter the format structure to the closest match that can be achieved. The vetting SWI then returns to this
SWI, which checks whether the format block – as updated by the vetting SWI – is still an adequate match for the desired format. If it is, this SWI returns to its caller; otherwise it generates an error.

See also

  • ADFS_VetFormat?
  • Disc Format Block
  • FileCore
  • Format Specifier
Created on December 5, 2009 19:19:14 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: FileCore SWI Calls, Format Specifier, Disc Format Block

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