AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     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

<=     R0-R3 preserved

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.

Under RISC OS 3.00 this SWI erroneously had the SWI number &41AC0, do not support this in your code.

See PRM 2, page 329.

[sh-index] Back to list of manuals