READ TOC (CD-ROM mode)

43h

READ TOC transfers the Table of Contents data to the host.

Pre-execution checks:

Illegal Field

Fixed Bit

Flag Link

Bad LUN

Reservation

Deferred Error

Unit Attention

Media Access

Diagnostic Status

If the drive is not in CD-ROM mode, the request will return CHECK CONDITION status with a sense key Illegal Command.

The Track/Session Number must be set to 0 or 1. Any other value will result in CHECK CONDITION status with sense data as described in Illegal Field Checks.

Command descriptor block:

 

 

7

6

5

 

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Operation

Code (43h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

Logical Unit Number

 

 

 

Reserved (0)

 

MSF

RelAdr(0)

 

 

 

 

 

 

 

 

 

 

 

 

2

 

Reserved (0)

 

 

 

 

Format (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

(MSB)

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

 

Track/Session Number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

(MSB)

 

 

 

Allocation Length

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CDB fields:

MSF

This flag is ignored.

 

 

Track/Session Number

This may be set to 0 or 1. It does not affect the data returned.

 

 

Allocation Length

The maximum number of data bytes that may be returned.

 

 

Commands

READ TOC (CD-ROM mode) 43h 131