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 =     addressing mode for returned size in
     R1 =     pointer to 8-byte block
     R7 =     pointer to CDFS control block

<=     R0 preserved
     R1 corrupted
     R7 preserved

Returns size of CD currently in drive in block pointed to by R1.
CD_DiscUsed block
For mode 0:
Offset     Contents

0     Size of CD measured in blocks
4     Size of a block on this CD

For mode 1:
Offset     Contents

0     Number of frames
1     Number of seconds
2     Number of minutes
3     0
4     sector size (always 2048, even for audio discs)

Note: (min*60+sec)*75+frames = readable + 151

[sh-index] Back to list of manuals