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 = 0 to return track range, or a valid track number
R1 = pointer to 5 byte block
R7 = pointer to CDFS control block

Exit
R0, R1, R7 preserved

This call returns the track range of a CD, or information on a specified track. The information is returned in the block pointed to by R1.

If R0 = 0 on entry, the track range is returned in the block as follows :

Byte     Contents
0     First track on CD (1-99)
1     Last track on CD (1-99)
2-4     Corrupted

Track numbers do not necessarily start at 1.

If R0 is a valid track number on entry, then information about that track is returned in the block :

Byte     Contents
0-3     Logical block address of track start (ie Mode 0 address)
4     Audio control bits specifying the type of information the track holds :
     Bits     Meaning
     0     0 -> audio information, 1 -> data information
     1     0 -> 4 channel sound, 1 -> 2 channel sound
     2-7     Reserved

[sh-index] Back to list of manuals