h6. [[CDFSDriver]] h6(. » [[CDFSDriver SWI Calls|SWI Calls]] h6((. » CD_EnquireTrack h2. CD_EnquireTrack h5. (SWI &4124E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 0 to return track range, or a valid track number | |<^. R1 |<^. Pointer to "5 byte track block":#block | |<^. R7 |<^. Pointer to [[CDFS Control Block]] | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Preserved | |<^. R7 |<^. Preserved | h4(#block). 5 Byte Track Block If R0 = 0 on entry, the track range is returned in the block as follows: |_<^{width:4em}. Offset |_<^. Contents | |<^. 0 |<^. First track on CD (1-99) | |<^. 1 |<^. Last track on CD (1-99) | |<^. 2 - 4 |<^. Corrupted | If R0 is a valid track number on entry, then information about that track is returned in the block: |_<^{width:4em}. Offset |_<^. Contents | |<^. 0 |<^. Logical block address of track start (ie Mode 0 address) | |<^. 4 |<^. Audio control bits specifying the type of information the track holds: | |_<^{width:4em}.|_<^{width:4em}. Bit |_<^. Meaning | ||<^. 0 |<^. 0 = audio, 1 = data | ||<^. 1 |<^. 0 = 4 channel sound, 1 = 2 channel sound | ||<^. 2-7 |<^. Reserved | h4. Use The purpose of this call is to return track range, or info on a specified track. h4. Notes Track numbers do not necessarily start at 1. h4. See also * [[CDFS Technical Details]]