beautypg.com

6 get media status (x'da') – FUJITSU MCE3130AP User Manual

Page 98

background image

4 - 30

C156-E142-02EN

abnormally and the ODD makes OR-operation to its self-diagnostics results of unit 0 (Device 0)
with X'80' and sets it in the Error register. If device 1 ends abnormally, the ODD sets the CHECK
bit of the Status register.

When the ODD is device 1

The ODD asserts the PDIAG- signal within five seconds. It sets X'01' in the Error register and
ends the command.

Table 4.26 Self-diagnosis detailed code

Detailed code

Meaning

01h

Normally end

02h-7Fh

Hardware error
(For power-on and hardware reset only)

8xh

Device 1 ended abnormally. (For device 0 only)

4.5.6

GET MEDIA STATUS (X'DA')

Table 4.27 GET MEDIA STATUS command

Bit

7

6

5

4

3

2

1

0

CM

1

1

0

1

1

0

1

0

DH

X

X

X

DRV

X

X

X

X

CH

X

X

X

X

X

X

X

X

CL

X

X

X

X

X

X

X

X

SN

X

X

X

X

X

X

X

X

SC

X

X

X

X

X

X

X

X

FR

X

X

X

X

X

X

X

X

The GET MEDIA STATUS command respond with the ODD status.

The command ends abnormally in either of the conditions given below and sets the value shown in
Table 4.28 in the Error register.

! When no media is inserted
! When media is exchanged
! When the Eject switch is pressed
! When media is write-protected

This manual is related to the following products: