6.3.36 ATA CARD INFORMATION ACQUIRE COMMAND

[ESC] WI

Function

Format

Term

Explanation

Sends information regarding the use of the ATA card to the host.

[ESC] WI; a, b [LF] [NUL]

a:Drive

1:

Slot 1

ATA card

2:

Slot 2

ATA card

b:Information to be acquired

A:Free space

B:Writable character list

C:Stored PC command save file

(1)The format of information to be returned to the host is as follows: A: Free space

SOH

STX

“A”

Slot

 

Free space (Kbyte)

 

ETX

EOT

CR

LF

01H

02H

41H

xxH

3xH

3xH

3xH

3xH

3xH

3xH

03H

04H

0DH

0AH

Slot:

Free space (in units of Kbytes): 000000 (KB) to 999999 (KB)

“1” (31H): Slot 1

“2” (32H): Slot 2

When the ATA card is not inserted into a specified slot, “00H, 00H, 00H, 00H, 00H, 00H” is returned for free space.

B: Writable character list

SOH

STX

“B”

Slot

Storage information of writable character

ETX

EOT

CR

LF

 

(55 bytes)

 

 

 

 

 

 

 

 

 

01H

02H

42H

xxH

“0”/“1”

“0”/“1”

········

“0”/“1”

“0”/“1”

03H

04H

0DH

0AH

Writable character No. 55

Stored/Not stored

Writable character No. 54

Stored/Not stored

Writable character No. 02

Stored/Not stored

Writable character No. 01

Stored/Not stored

Slot

“0” (30H): Not stored

“1” (31H): Slot 1

“1” (31H): Stored

“2” (32H): Slot 2

 

If only one writable character is stored, information of the writable character No. is set to “1” (Stored). The storage information of a specified character code can be acquired by using the ATA Card Writable Character Information Acquire Command ([ESC] WG).

The storage information of the writable character has a total of 55 bytes. The writable character No. is assigned from 01 to 44, and from 51 to 55. Therefore, bytes to which Nos. 45 to 50 are assigned are sure to be set to “0” (30H). When the ATA card is not inserted in the specified slot, “00H” for the storage information of the writable character is returned.

- 230 -

Page 234
Image 234
Toshiba B-SX4T-GS20-QM-R manual ATA Card Information Acquire Command ESC WI