How ROM BIOS Disk Limitation of 1024 Cylinders Affects MS-DOS (39531)



The information in this article applies to:

  • Microsoft MS-DOS operating system 2.11
  • Microsoft MS-DOS operating system 3.1
  • Microsoft MS-DOS operating system 3.2
  • Microsoft MS-DOS operating system 3.21
  • Microsoft MS-DOS operating system 3.3
  • Microsoft MS-DOS operating system 3.3a
  • Microsoft MS-DOS operating system 4.0
  • Microsoft MS-DOS operating system 4.01
  • Microsoft MS-DOS operating system 5.0
  • Microsoft MS-DOS operating system 5.0a
  • Microsoft MS-DOS operating system 6.0
  • Microsoft MS-DOS operating system 6.2
  • Microsoft MS-DOS operating system 6.21
  • Microsoft MS-DOS operating system 6.22

This article was previously published under Q39531

SUMMARY

Systems that have hard disks with more than 1024 cylinders cannot use the entire drive with a standard ROM BIOS or with a generic MS-DOS packaged product or the Microsoft MS-DOS 5 Upgrade and later MS-DOS versions. This is because the default IBM-PC ROM BIOS can only comprehend disks that have 1024 or fewer cylinders. Microsoft MS-DOS relies on an IBM-compatible ROM BIOS to communicate with the system hardware, and thus cannot understand disks that the ROM BIOS cannot understand.

For information on common workarounds for the 1024-cylinder limitation, query on the following words in the Microsoft Knowledge Base:

1024 and cylinder and workarounds

MORE INFORMATION

The design of the IBM ROM BIOS disk interface did not anticipate disks with more than 1024 cylinders. The ROM BIOS Interrupt 13H disk interface has a standard register interface in which the cylinder number of a disk is partly contained in two different registers: the 8-bit CH register contains the low-order 8 bits of the cylinder number, and the 8-bit CL register contains the high-order 2 bits of the cylinder number. When combined, this creates a 10-bit cylinder number, zero based, thus giving the upper limit of 1024 (0 to 1023).

For OEM ROM BIOS extensions, refer to your OEM hardware technical reference manuals.

REFERENCES

"IBM PS/2 and PC BIOS Interface Technical Reference," part number 68X2260, available from IBMB.

"Programmer's Quick Reference Series: IBM ROM BIOS" by Ray Duncan, ISBN 1-55615-135-7, Microsoft Press

Modification Type:MajorLast Reviewed:5/12/2003
Keywords:KB39531