beautypg.com

Read toc (cd-rom mode) 43h, Pre-execution checks, Command descriptor block – HP Q153090901 User Manual

Page 131: Cdb fields, Read toc, Command descriptor block: cdb fields

background image

READ TOC (CD-ROM mode) 43h

C

omm

an

ds

131

READ TOC

(CD-ROM mode)

43h

R

EAD TOC

transfers the Table of Contents data to the host.

Pre-execution checks:

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:

CDB fields:

Illegal Field

Fixed Bit

Flag Link

Bad LUN

Reservation

Deferred Error

Unit Attention

Media Access

Diagnostic Status

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

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.