AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry
R0 = pointer to a block
     Offset     Meaning
     0     Information word for CDFSDriver module :
           Bits     Meaning
           0-5     The number of CD commands recognised, currently 31, maximum 63
           6     If set then use the SCSI 1 read data command
           7     If set then use the SCSI 1 seek command
           9-31     Reserved (must be zero)
     4     Number of times registered (should be set to zero and will be updated by CDFSDriver)
     8     Number of drive types recognised by this driver
     12     Unused (must be zero)
     16     Unused (must be zero)
R1 = pointer to a 1-word special tag (&EE5OEE50), followed by handler code
R2 = pointer to workspace for the soft-loadable module (passed in R12 to the handler)

Exit
Offset     Meaning
12     A pointer to a routine to convert logical blocks to minutes, seconds, frames
16     A pointer to a routine to convert minutes, seconds, frames to logical blocks

This call registers the soft-loadable driver with the CDFSDriver module.  The block pointed to by R0 on entry must be in RAM, whereas anything else, i.e. the code for each CD _SWI, can be in ROM.  The block must stay put in the memory so that CDFSDriver can check it when detecting drive types.

[sh-index] Back to list of manuals