[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 13 Fn 06  - Future Domain Scsi BIOS - Format Drive With Bad Sector Ma  [d]

   AH = 06h
   AL = interleave
        (0 = default, 1 = consecutive sectors, 2 - 255 = vendor unique)
   DL = hard drive ID
   DH = bits 7-5 drive LUN
        bit 4    defect list is available
        bit 3    defect list is complete (erase drive's defect list)
        bits 2-0 defect table format
             (000=use defect table A, 100=use defect table B,
             101=use defect table C)
   ES:BX ->  defect table A, B or C (see below)

Return: CF set on error
   AH = status code (see AH=01h)

Notes: block addresses must be in ascending order (for table B, cylinder is
     most significant, byte from index least significant; for table C,
     cylinder is most significant, sector number least significant)
   table B defect bytes from index of FFFFFFFFh indicates that the entire
     track shall be reassigned
   table C defect sector number of FFFFFFFFh indicates that the entire
     track shall be reassigned
   the TMC-950 does not support any Future Domain BIOS calls; instead,
     it provides a full CAM implementation (see INT 4F/AX=8100h)

See Also: AH=05h"SCSI",AH=06h"FIXED",AH=07h"SCSI"

Format of defect table A:
Offset Size    Description
 00h   WORD    number of bytes remaining in table
 02h   BYTE    reserved (0)
 03h   BYTE    reserved (0)
 04h   WORD    (big-endian) defect list length (4*number of defects)
 06h  4 DWORDs (big-endian) defect block addresses

Format of defect table B:
Offset Size    Description
 00h   WORD    number of bytes remaining in table
 02h   BYTE    reserved (0)
 03h   BYTE    reserved (0)
 04h   WORD    (big-endian) defect list length (8*number of defects)
 06h 8N BYTEs  defect list [array] (see below)

Format of defect table C:
Offset Size    Description
 00h   WORD    number of bytes remaining in table
 02h   BYTE    reserved (0)
 03h   BYTE    reserved (0)
 04h   WORD    (big-endian) defect list length (8*number of defects)
 06h 8N BYTEs  defect list [array] (see below)

Format of defect list entry:
Offset Size    Description
 00h  3 BYTEs  (big-endian) cylinder number of defect
 03h   BYTE    head number of defect
 04h   DWORD   (big-endian) defect bytes from index

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson