h6. [[CDFSDriver]] h6(. » [[CDFSDriver SWI Calls|SWI Calls]] h6((. » CD_DiscUsed h2. CD_DiscUsed h5. (SWI &41253) |_<^{width:4em}. Entry | | |<^. R0 |<^. "Addressing mode":CDFS%20Technical%20Details#addressingmode for returned size | |<^. R1 |<^. Pointer to "8-byte block":#blockmode0 | |<^. R7 |<^. Pointer to [[CDFS Control Block]] | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Corrupted | |<^. R7 |<^. Preserved | h4. 8-byte block details: |_<^{width:4em}. Offset |_<^. Contents | |<^. 0 |<^. Size of CD | |<^. 4 |<^. Size of blocks on CD | h4. Use The purpose of this call is to return the size of CD currently in drive. h4. Notes The size of a CD is calculated based on (((min * 60) + sec) * 75) + 151 frames. h4. See also * [[CDFS Technical Details]]