You are on page 1of 8

89719037 Tech Ref 7/26/99 12:30 PM Page 72

72

Technical Reference

Ta

ROM BIOS Hard Drive Parameters

01h

06h

ROM BIOS Hard Drive Parameters


The following explains the column headings used in Tables 22 to 26.
Type = Drive type number
Cylinders = Total number of cylinders
Heads = Total number of heads
WPC = Write precompensation starting cylinder
65535 = No write precompensation
0 = Write precompensation on all cylinders
Ctrl = Control byte, with values according to the following table.
Bit Number

Hex

Meaning

Bit
Bit
Bit
Bit

01h
02h
04h
08h

Not used (XT = drive step rate)


Not used (XT = drive step rate)
Not used (XT = drive step rate)
More than eight heads

0
1
2
3

89719037 Tech Ref 7/26/99 12:30 PM Page 73

73

ROM BIOS Hard Drive Parameters


Bit Number

Hex

Meaning

Bit
Bit
Bit
Bit

10h
20h
40h
80h

Not used (XT = embedded servo drive)


OEM defect map at (cylinders +1)
Disable ECC retries
Disable disk access retries

4
5
6
7

LZ = Landing-zone cylinder for head parking


S/T = Number of sectors per track
Meg = Drive capacity in megabytes
M = Drive capacity in millions of bytes

Table 22

IBM AT and PS/2 BIOS Hard Disk Table

Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

306
615
615
940
940
615
462
733
900
820
855
855
306
733
0
612
977
977
1024
733
733
733
306
612
306
612
698
976
306
611

4
4
6
8
6
4
8
5
15
3
5
7
8
7
0
4
5
7
7
5
7
5
4
4
4
4
7
5
4
4

128
300
300
512
512
65535
256
65535
65535
65535
65535
65535
128
65535
0
0
300
65535
512
300
300
300
0
305
65535
65535
300
488
0
306

00h
00h
00h
00h
00h
00h
00h
00h
08h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
20h
20h
00h
20h

305
615
615
940
940
615
511
733
901
820
855
855
319
733
0
663
977
977
1023
732
732
733
336
663
340
670
732
977
340
663

17
17
17
17
17
17
17
17
17
17
17
17
17
17
0
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17

10.16
20.42
30.63
62.42
46.82
20.42
30.68
30.42
112.06
20.42
35.49
49.68
20.32
42.59
0
20.32
40.55
56.77
59.50
30.42
42.59
30.42
10.16
20.32
10.16
20.32
40.56
40.51
10.16
20.29

10.65
21.41
32.12
65.45
49.09
21.41
32.17
31.90
117.50
21.41
37.21
52.09
21.31
44.66
0
21.31
42.52
59.53
62.39
31.90
44.66
31.90
10.65
21.31
10.65
21.31
42.53
42.48
10.65
21.27
(continues)

89719037 Tech Ref 7/26/99 12:30 PM Page 74

74

Technical Reference
Table 22

Continued

Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

732
1023
614
775
921
402
580
845
769
531
577
654
923
531
0
0
0

7
5
4
2
2
4
6
2
3
4
2
2
5
8
0
0
0

300
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
0
0
0

20h
20h
20h
20h
20h
20h
20h
20h
20h
20h
20h
20h
20h
20h
00h
00h
00h

732
1023
663
900
1000
460
640
1023
1023
532
1023
674
1023
532
0
0
0

17
17
25
27
33
26
26
36
36
39
36
32
36
39
0
0
0

42.53
42.46
29.98
20.43
29.68
20.41
44.18
29.71
40.55
40.45
20.29
20.44
81.12
80.89
0.00
0.00
0.00

44.60
44.52
31.44
21.43
31.12
21.41
46.33
31.15
42.52
42.41
21.27
21.43
85.06
84.82
0.00
0.00
0.00

The landing zone (LZ) and sectors per track (S/T) fields are not used in the 10MB (original) controller and contain 00h values for each entry.
Table entry 15 is reserved to act as a pointer that indicates the type is greater than 15. Older IBM
systems do not have every entry in this table. The maximum usable type number varies for each
particular ROM version.
Most IBM PS/2 systems were supplied with hard disk drives that have the defect map written as
data on the cylinder one cylinder beyond the highest reported cylinder. This special data is read
by the IBM PS/2 Advanced Diagnostics low-level format program. This process automates the
entry of the defect list and eliminates the chance of human error, as long as you use only the
IBM PS/2 Advanced Diagnostics for hard disk low-level formatting.
This type of table does not apply to IBM ESDI or SCSI hard disk controllers, host adapters, and
drives. Because the ESDI and SCSI controllers or host adapters query the drive directly for the
required parameters, no table-entry selection is necessary. Note, however, that the table for the
ST-506/412 drives can still be found currently in the ROM BIOS of most of the PS/2 systems, even
if the model came standard with an ESDI or SCSI disk subsystem.

Table 23

Compaq Deskpro 386 Hard Disk Table

Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

1
2
3
4

306
615
615
1024

4
4
6
8

128
128
128
512

00h
00h
00h
00h

305
638
615
1023

17
17
17
17

10.16
20.42
30.63
68.00

10.65
21.41
32.12
71.30

89719037 Tech Ref 7/26/99 12:30 PM Page 75

75

ROM BIOS Hard Drive Parameters


Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

940
697
462
925
900
980
925
925
612
980
0
612
980
966
1023
733
733
805
924
966
966
1023
966
748
805
615
615
905
748
966
966
966
966
611
1023
1023
1023
1023
805
805
748
748
966

6
5
8
5
15
5
7
9
8
4
0
4
5
6
8
5
7
6
8
14
16
14
10
16
6
4
8
9
8
7
8
9
5
16
11
15
15
16
4
2
8
6
5

512
128
256
128
65535
65535
128
128
256
128
0
0
128
128
65535
256
256
65535
65535
65535
65535
65535
65535
65535
65535
128
128
128
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
128

00h
00h
00h
00h
08h
00h
00h
08h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
08h
08h
08h
08h
08h
00h
00h
00h
08h
00h
00h
00h
08h
00h
08h
08h
08h
08h
08h
00h
00h
00h
00h
00h

939
696
511
924
899
980
924
924
611
980
0
612
980
966
1023
732
732
805
924
966
966
1023
966
748
805
615
615
905
748
966
966
966
966
611
1023
1023
1023
1023
805
805
748
748
966

17
17
17
17
17
17
17
17
17
17
0
17
17
17
17
17
17
17
17
17
17
17
17
17
26
25
25
25
34
34
34
34
34
63
33
34
33
63
26
26
33
33
25

46.82
28.93
30.68
38.39
112.06
40.67
53.75
69.10
40.64
32.54
0
20.32
40.67
48.11
67.93
30.42
42.59
40.09
61.36
112.26
128.30
118.88
80.19
99.34
61.32
30.03
60.06
99.43
99.34
112.26
128.30
144.33
80.19
300.73
181.32
254.75
247.26
503.51
40.88
20.44
96.42
72.32
58.96

49.09
30.33
32.17
40.26
117.50
42.65
56.36
72.46
42.61
34.12
0
21.31
42.65
50.45
71.23
31.90
44.66
42.04
64.34
117.71
134.53
124.66
84.08
104.17
64.30
31.49
62.98
104.26
104.17
117.71
134.53
151.35
84.08
315.33
190.13
267.13
259.27
527.97
42.86
21.43
101.11
75.83
61.82

89719037 Tech Ref 7/26/99 12:30 PM Page 76

76

Technical Reference
Table 24

AMI ROM BIOS (286 BIOS Version 04/30/89) Hard Disk Table

Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

306
615
615
940
940
615
462
733
900
820
855
855
306
733
0
612
977
977
1024
733
733
733
306
925
925
754
754
699
823
918
1024
1024
1024
612
1024
1024
615
987
987
820
977
981
830

4
4
6
8
6
4
8
5
15
3
5
7
8
7
0
4
5
7
7
5
7
5
4
7
9
7
11
7
10
7
11
15
5
2
9
8
8
3
7
6
5
5
7

128
300
300
512
512
65535
256
65535
65535
65535
65535
65535
128
65535
0
0
300
65535
512
300
300
300
0
0
65535
526
65535
256
65535
874
65535
65535
1024
128
65535
512
128
805
805
820
815
811
512

00h
00h
00h
00h
00h
00h
00h
00h
08h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
08h
00h
08h
00h
08h
00h
08h
08h
00h
00h
08h
00h
00h
00h
00h
00h
00h
00h
00h

305
615
615
940
940
615
511
733
901
820
855
855
319
733
0
663
977
977
1023
732
732
733
336
925
925
754
754
699
823
918
1024
1024
1024
612
1024
1024
615
987
987
820
977
981
830

17
17
17
17
17
17
17
17
17
17
17
17
17
17
0
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17

10.16
20.42
30.63
62.42
46.82
20.42
30.68
30.42
112.06
20.42
35.49
49.68
20.32
42.59
0
20.32
40.55
56.77
59.50
30.42
42.59
30.42
10.16
53.75
69.10
43.81
68.85
40.62
68.32
53.34
93.50
127.50
42.50
10.16
76.50
68.00
40.84
24.58
57.35
40.84
40.55
40.72
48.23

10.65
21.41
32.12
65.45
49.09
21.41
32.17
31.90
117.50
21.41
37.21
52.09
21.31
44.66
0
21.31
42.52
59.53
62.39
31.90
44.66
31.90
10.65
56.36
72.46
45.94
72.19
42.59
71.63
55.93
98.04
133.69
44.56
10.65
80.22
71.30
42.82
25.77
60.14
42.82
42.52
42.69
50.57

89719037 Tech Ref 7/26/99 12:30 PM Page 77

77

ROM BIOS Hard Drive Parameters


Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

44
45
46
47

830
917
1224
0

10
15
15
0

65535
65535
65535
0

08h
08h
08h
00h

830
918
1223
0

17
17
17
0

68.90
114.18
152.40
0.00

72.24
119.72
159.81
0.00

Table 25 shows the Award ROM BIOS (286 BIOS version 04/30/89) (Modular 286, 386SX, and 386
BIOS version 3.05) hard disk parameters.

Table 25

Award ROM BIOS Version 3.05 Hard Disk Table

Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

306
615
615
940
940
615
462
733
900
820
855
855
306
733
0
612
977
977
1024
733
733
733
306
977
1024
1224
1224
1224
1024
1024
918
925

4
4
6
8
6
4
8
5
15
3
5
7
8
7
0
4
5
7
7
5
7
5
4
5
9
7
11
15
8
11
11
9

128
300
300
512
512
65535
256
65535
65535
65535
65535
65535
128
65535
0
0
300
65535
512
300
300
300
0
65535
65535
65535
65535
65535
65535
65535
65535
65535

00h
00h
00h
00h
00h
00h
00h
00h
08h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
08h
00h
08h
08h
00h
08h
08h
08h

305
615
615
940
940
615
511
733
901
820
855
855
319
733
0
663
977
977
1023
732
732
733
336
976
1023
1223
1223
1223
1023
1023
1023
926

17
17
17
17
17
17
17
17
17
17
17
17
17
17
0
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17
17

10.16
20.42
30.63
62.42
46.82
20.42
30.68
30.42
112.06
20.42
35.49
49.68
20.32
42.59
0
20.32
40.55
56.77
59.50
30.42
42.59
30.42
10.16
40.55
76.50
71.12
111.76
152.40
68.00
93.50
83.82
69.10

10.65
21.41
32.12
65.45
49.09
21.41
32.17
31.90
117.50
21.41
37.21
52.09
21.31
44.66
0
21.31
42.52
59.53
62.39
31.90
44.66
31.90
10.65
42.52
80.22
74.58
117.19
159.81
71.30
98.04
87.89
72.46
(continues)

89719037 Tech Ref 7/26/99 12:30 PM Page 78

78

Technical Reference
Table 25

Continued

Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

1024
1024
1024
1024
1024
1024
918
820
1024
1024
809
820
776
0
0

10
12
13
14
2
16
15
6
5
5
6
6
8
0
0

65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
65535
0
0

08h
08h
08h
08h
00h
08h
08h
00h
00h
00h
00h
00h
00h
00h
00h

1023
1023
1023
1023
1023
1023
1023
820
1023
1023
808
819
775
0
0

17
17
17
17
17
17
17
17
17
26
17
26
33
0
0

85.00
102.00
110.50
119.00
17.00
136.00
114.30
40.84
42.50
65.00
40.29
62.46
100.03
0.00
0.00

89.13
106.95
115.87
124.78
17.83
142.61
119.85
42.82
44.56
68.16
42.25
65.50
104.89
0.00
0.00

Table 26 shows the Phoenix 286 ROM BIOS (80286 ROM BIOS version 3.01, dated 11/01/86) hard
disk parameters.

Table 26

Phoenix 286 (80286 ROM BIOS Version 3.01) Hard Disk Table

Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

306
615
615
940
940
615
462
733
900
820
855
855
306
733
0
612
977
977
1024
733
733

4
4
6
8
6
4
8
5
15
3
5
7
8
7
0
4
5
7
7
5
7

128
300
300
512
512
65535
256
65535
65535
65535
65535
65535
128
65535
0
0
300
65535
512
300
300

00h
00h
00h
00h
00h
00h
00h
00h
08h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h

305
638
615
940
940
615
511
733
901
820
855
855
319
733
0
633
977
977
1023
732
733

17
17
17
17
17
17
17
17
17
17
17
17
17
17
0
17
17
17
17
17
17

10.16
20.42
30.63
62.42
46.82
20.42
30.68
30.42
112.06
20.42
35.49
49.68
20.32
42.59
0.00
20.32
40.55
56.77
59.50
30.42
42.59

10.65
21.41
32.12
65.45
49.09
21.41
32.17
31.90
117.50
21.41
37.21
52.09
21.31
44.66
0.00
21.31
42.52
59.53
62.39
31.90
44.66

89719037 Tech Ref 7/26/99 12:30 PM Page 79

79

Modem Control Codes


Type

Cylinders

Heads

WPC

Ctrl

LZ

S/T

Meg

22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

733
0
0
0
0
0
0
0
0
0
0
0
0
0
1024
830
823
615
615
917
1023
823
820
1024
925
1024

5
0
0
0
0
0
0
0
0
0
0
0
0
0
5
10
10
4
8
15
15
10
6
8
9
5

300
0
0
0
0
0
0
0
0
0
0
0
0
0
512
65535
256
128
128
65535
65535
512
65535
65535
65535
65535

00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
08h
08h
00h
00h
08h
08h
08h
00h
00h
08h
00h

733
0
0
0
0
0
0
0
0
0
0
0
0
0
1024
830
824
664
664
918
1024
823
820
1024
925
1024

17
0
0
0
0
0
0
0
0
0
0
0
0
0
17
17
17
17
17
17
17
17
17
17
17
17

30.42
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
42.50
68.90
68.32
20.42
40.84
114.18
127.38
68.32
40.84
68.00
69.10
42.50

31.90
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
44.56
72.24
71.63
21.41
42.82
119.72
133.56
71.63
42.82
71.30
72.46
44.56

ROM BIOS Hard Drive Parameters