-----------------------------------------------------------------------------
--  A Western Digital 30 GB Disk's answer to the IDENTIFY DEVICE command.  --
--                                   by					   --
--                            Daniel B. Sedory                             --
-----------------------------------------------------------------------------

:0100  7A 42 FF 3F 00 00 10 00-00 E1 58 02 3F 00 10 00   zB.?......X.?...
:0110  00 00 0E 00 44 57 57 2D-41 4D 57 36 31 32 32 31   ....DWW-AMW61221
:0120  31 33 00 30 00 00 00 00-03 00 00 10 28 00 38 31   13.0........(.81
:0130  32 2E 44 30 38 31 44 57-20 43 44 57 30 33 42 30   2.D081DW CDW03B0
:0140  2D 42 32 33 55 41 31 41-20 20 20 20 20 20 20 20   -B23UA1A
:0150  20 20 20 20 20 20 20 20-20 20 20 20 20 20 10 80                 ..
:0160  00 00 00 2F 01 40 80 02-00 00 07 00 43 44 0F 00   .../.@......CD..
:0170  3F 00 53 FB FB 00 08 01-80 AC 7E 03 00 00 07 00   ?.S.......~.....
:0180  03 00 78 00 78 00 78 00-78 00 00 00 00 00 00 00   ..x.x.x.x.......
:0190  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:01A0  3E 00 00 00 6B 34 01 43-00 40 69 34 01 00 00 40   >...k4.C.@i4...@
:01B0  3F 04 00 00 00 00 00 00-00 00 4B 60 FE 80 00 00   ?.........K`....
:01C0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:01D0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:01E0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:01F0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:0200  01 00 00 00 00 00 00 00-00 00 25 00 00 00 00 00   ..........%.....
:0210  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:0220  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:0230  00 00 00 00 00 00 00 00-00 00 00 00 00 00 1F 00   ................
:0240  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:0250  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:0260  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:0270  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:0280  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:0290  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:02A0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:02B0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:02C0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:02D0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:02E0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................
:02F0  00 00 00 00 00 00 00 00-00 00 00 00 00 00 03 A5   ................


[ NOTE: ATA specs often count the number of Hex WORDs (2 bytes per WORD)
        in the data above using the DECIMAL system, so the data is presented
        below in the same manner:  in groups of EIGHT Hex WORDs for each
        16-byte line (Line 1 is comprised of Words 0-7, Line 2 of Words
        8-15, Line 3 of Words 16-23, Line 4 of Words 24-31, etc.)

        The Hex Offsets of these Words were added in parentheses to make
        the location of the bytes much clearer! ]



Word 0: General Configuration. (100-101)

        427A h = 0100 0010 0111 1010 b
                 |         ||_ Not removable device (true)
                 |         |__ Removable device (false)
                 |____________ ATA device (42xx h); not ATAPI.

        [See file, "ATA-IOports.txt" for more details!]


Word 1: Number of logical cylinders. (102-103)
        3FFF h = 16383 d
        Expected value when words 60-61 exceed 16515072 d

Word 2: ? (104-105) = 0000h.


Word 3: Number of logical heads. (106-107)
        0010 h = 16 d
        Expected value when words 60-61 exceed 16515072 d

Words 4-5: ? (108-10B)  [raw: 00 E1 58 02 ].


Word 6: Number of logical sectors per logical track. (10C-10D)
        003F h = 63 d
        Expected value when words 60-61 exceed 16515072 d

Words 7-9: ? (10E-113)  [raw: 10 00 00 00 0E 00 ].


Words 10-19: Serial Number. (114-127)
             Raw:  DWW-AMW6122113.0....  -->  WD-WMA6W2112310.....

Words 20-21: ? (128-12B)  [raw: 03 00 00 10].

Word 22: Number of vendor specific bytes on
         READ/WRITE LONG commands. (12C-12D)
         0028 h = 40 d

Words 23-26: Firmware revision; often abbrev. as F/W. (12E-135)
             Raw: 812.D081 --> 18.20D18

Words 27-46: Model number. (136-15D) Data is enclosed in quote marks:
             Raw: "DW CDW03B0-B23UA1A                      "
              --> "WDC WD300BB-32AUA1                      "

Word 47: READ/WRITE MULTIPLE support. (15E-15F)

       8010 h = 1000 0000 0001 0000 b
                |         \_______/
                |             |_ Max number of sectors to be transferred
                |                per interrupt on R/W MULTIPLE commands: 16
                |
                |_______________ Vendor specific

Word 48: ? (160-161) = 0000h.

Word 49: Capabilities. (162-163)

         002F h = 0000 0000 0010 1111 b
                    |  ||   \_______/
                    |  ||       |_ Vendor specific
                    |  ||
                    |  ||_ IORDY can be disabled (false)
                    |  |
                    |  |__ IORDY may be supported
                    |
                    |_____ Standby timer values are vendor specific

Word 50: ? (164-165)  [raw: 01 40].

Word 51: PIO data transfer cycle timing mode. (166-167)

         0280 h
         \/\/
          | |_ Vendor specific.
          |
          |___ Highest original PIO mode it can support: Mode 2.

Word 52: ? (168-169) = 0000h.

Word 53: Field validity. (16A-16B)

         0007 h = 0000 0000 0000 0111 b
                                   ||_ Fields in words 64-70 are valid
                                   |__ Fields in words 54-58 are valid


Word 54: Number of current logical cylinders. (16C-16D)
         4443 h = 17,475 d

Word 55: Number of current logical heads. (16E-16F)
         000F h = 15 d
        
Word 56: Number of current logical sectors per logical track. (170-171)
         003F h = 63 d

Word 57-58: Current capacity in sectors. (172-175)   DOUBLE WORD !
            [Raw disk data: 53 FB FB 00]

            00FB FB53 h = 16,513,875 d = 17,475 * 15 * 63


Word 59: Multiple sector setting. (176-177)

        0108 h = 0000 0001 0000 1000 b
                         | \_______/
                         |     |_ Sectors to transfer in a R/W MULT command
                         |
                         |_______ The above is valid when this bit set


Words 60-61: Total number of user addressable sectors. (178-17B)
             [Raw disk data: 80 AC 7E 03]  Another  DOUBLE-WORD !

             037E AC80 h = 58,633,344 d


Word 62: ? (17C-17D) = 0000h.

Word 63: Multiword DMA transfer. (17E-17F)

         0007 h = 0000 0000 0000 0111 b
                  \_______/       |||_ Mode 0 supported
                      |           ||__ Mode 1 supported
                      |           |___ Mode 2 supported
                      |_______________ None is active


Word 64: Flow control PIO transfer modes supported. (180-181)

         0003 h = 0000 0000 0000 0011 b
                                   ||_ PIO mode 3 supported
                                   |__ PIO mode 4 supported


Word 65: Minimum multiword DMA transfer cycle time per word. (182-183)
         0078 h = 120 d (nanoseconds)

Word 66: Device recommended multiword DMA cycle time. (184-185)
         0078 h = 120 d (nanoseconds)

Word 67: Minimum PIO transfer cycle time without flow control. (186-187)
         0078 h = 120 d (nanoseconds)

Word 68: Minimum PIO transfer cycle time with IORDY. (188-189)
         0078 h = 120 d (nanoseconds)


Words 69-79: ?? (18A-19F)  All zeros.


Word 80: Major version number. (1A0-1A1)
         003E h

Word 81: Minor version number. (1A2-1A3)
         0000 h




Word 128: Security status. (200-201)

          0001 h = 0000 0000 0000 0001 b
                                     |
                                     |_ Security supported (yes)



