beautypg.com

Read position (group 1, op. code 34) – Quantum Audio Travan 40 Tape Drive STT3401A User Manual

Page 79

background image

ATAPI Interface

Chapter 5

Seagate Travan 40 Product Manual

Page 71

READ POSITION (Group 1, Op. Code 34)

The READ POSITION command reports the current position of the logical unit and
any data blocks in the buffer. No tape movement shall occur as a result of the
command. The drive may disconnect during this command.

CDB for READ POSITION Command

Data Bits

Byte

7

6

5

4

3

2

1

0

Hex

0

0

0

1

1

0

1

0

0

34

1

0

0

0

0

0

0

0

BT

0X

2

0

0

0

0

0

0

0

0

00

3

0

0

0

0

0

0

0

0

00

4

0

0

0

0

0

0

0

0

00

5

0

0

0

0

0

0

0

0

00

6

0

0

0

0

0

0

0

0

00

7

0

0

0

0

0

0

0

0

00

8

0

0

0

0

0

0

0

0

00

9

0

0

0

0

0

0

0

0

00

BT: The Block Address Type bit determines the reporting method of the block
location field. If 0, the logical addresses are returned for current block and the last
block in the data buffer. If set to 1, the physical block address is returned for the first
block location and the last block in the data buffer. Information is returned to the host
in the format shown below.

READ POSITION Data Format

Data Bits

Byte

7

6

5

4

3

2

1

0

Hex

0

BOP

EOP

0

0

0

BPU

0

0

XX

1

Partition Number

XX

2

0

0

0

0

0

0

0

0

00

3

0

0

0

0

0

0

0

0

00

4
5
6
7

MSB

First Block Location

LSB

XX
XX
XX
XX

8
9

0A
0B

MSB

Last Block Location

LSB

XX
XX
XX
XX

0C

0

0

0

0

0

0

0

0

00

0D
0E

0F

MSB

Number of Blocks in Buffer

LSB

XX
XX
XX

10
11
12
13

MSB

Number of Bytes in Buffer

LSB

XX
XX
XX
XX

This manual is related to the following products: