Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Interrupts & Ports - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

        Format track and set bad sector flags (XT,port)
        (harddisk only)

        Entry:
          AH = 06h
          AL = interleave value (XT only)
          ES:BX = 512-byte format buffer
                  the first 2*(sectors/track) bytes contain F,N for
                  each sector
                     F = 00 for good sector, 80h for bad sector
                     N = sector number
          CH = cylinder number (bits 8,9 in high bits of CL)
          CL = sector number
          DH = head
          DL = drive
        Return:
          AH = status code (see AH=1 above)

        Notes:  AWARD AT BIOS extended to handle more than 1024 cylinders by
                placing bits 10 and 11 of the cylinder number into bits
                6 and 7 of DH apparently, the AMI BIOS also follows this
                convention

See Also: INT 13h, 01h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson