home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / SCSIDOSV3.0UPDATE.DMS / in.adf / FmtData / Omti-3520.fmt < prev    next >
Encoding:
Text File  |  1989-01-12  |  10.9 KB  |  235 lines

  1. /* ------------------------------------------------------------------- *
  2.  * Format Configuration For:   Omti 3520 ST506 to SCSI Adapter         *
  3.  *                                                                     *
  4.  * Created: 11-11-88           Author: Wayne E. Miller                 *
  5.  *                                                                     *
  6.  * Copyright (C) 1988,  Wayne E. Miller - All Rights Reserved          *
  7.  *                                                                     *
  8.  *   Date     Who  Description                                         *
  9.  * ---------  ---  --------------------------------------------------- *
  10.  * 11-11-88   WEM  First Version                                       *
  11.  *                                                                     *
  12.  * ------------------------------------------------------------------- */
  13.  
  14. /* --- Configuration Parameters -------------------------------------- */
  15.  
  16. : PrgRelease   1                   /* Program Release Level            */
  17. : CstRelease   1                   /* Omti Specific Relese Level       */
  18.  
  19. : SenseType    1                   /* Sense Info Format                */
  20.  
  21. /* --- Media Verification Patterns - (Lenght In Words, Data) --------- */
  22.  
  23. : Pattern
  24.  
  25.    3   %0110110110110110   %1101101101101101   %1011011011011011
  26.    3   %1011011011011011   %0110110110110110   %1101101101101101
  27.    3   %1101101101101101   %1011011011011011   %0110110110110110
  28.  
  29.    1   %0111011101110111
  30.    1   %1011101110111011
  31.    1   %1101110111011101
  32.    1   %1110111011101110
  33.  
  34. : End Pattern
  35.  
  36. /* Page */
  37.  
  38. /*      Length    Value    Key Word / Description                      */
  39. /*      ------  ---------  ------------------------------------------- */
  40.  
  41. : ModeCmdStart > 8
  42.  
  43.            1    $15                        /* Set Mode Command         */
  44.            1    %00010000  = LUN           /* Logical Unit Number      */
  45.            2    $0000                      /* Reserved                 */
  46.            1    60                         /* Number Of Bytes          */
  47.            1    $00                        /* Reserved                 */
  48.  
  49. : ModeDataStart > 64
  50.  
  51.            1    $00                        /* Reserved                 */
  52.            1    $00                        /* Default Medium           */
  53.            1    $00                        /* Reserved                 */
  54.            1    $08                        /* Descriptor List Length   */
  55.            1    $00                        /* Density Code             */
  56.            4    $00000000                  /* Reserved                 */
  57.            3    0          = BlockSize     /* Block Size               */
  58.  
  59.            1    $01                        /* Page 1 Indicator         */
  60.            1    $02                        /* Length Of Page           */
  61.            1    %00000001                  /* Error Recovery Parameters*/
  62.            1    16                         /* Retry Count              */
  63.  
  64.            1    $03                        /* Page 3 Indicator         */
  65.            1    $16                        /* Page Length              */
  66.            2    $0000      = HeadCount     /* Tracks / Zone            */
  67.            2    $0001                      /* Alternate Sectors / Zone */
  68.            2    $0000                      /* Reserved                 */
  69.            2    $0000                      /* Alternate Tracks / Volume*/
  70.            2    0          = BlksPerTrk    /* Sectors Per Track        */
  71.            2    0          = BlockSize     /* Sector Size              */
  72.            2    1                          /* Interleave               */
  73.            4    $00000000                  /* Reserved                 */
  74.            1    %10000000                  /* Flags                    */
  75.            3    $000000                    /* Reserved                 */
  76.  
  77.  
  78.            1    $04                        /* Page 4 Indicator         */
  79.            1    $12                        /* Length                   */
  80.            3    $000000    = CylCount      /* Cylinder Count           */
  81.            1    $00        = HeadCount     /* Head Count               */
  82.            3    250                        /* Write PreComp Cylinder   */
  83.            3    $000000                    /* Reduced Write Current Cyl*/
  84.            2    $00                        /* Step Rate                */
  85.            4    $00000000                  /* Reserved                 */
  86.            2    $0000                      /* Reserved                 */
  87.  
  88. : End ModeStart
  89.  
  90. /* Page */
  91.  
  92. /*      Length    Value    Key Word / Description                      */
  93. /*      ------  ---------  ------------------------------------------- */
  94.  
  95. : FormatCmdStart > 12
  96.  
  97.            1    $04                        /* Format Command           */
  98.            1    %00011100  = LUN           /* Logical Unit Nubmer      */
  99.            1    $00                        /* Reserved                 */
  100.            2    $01                        /* Interleave               */
  101.            1    $00                        /* Reserved                 */
  102.  
  103. : FormatDataStart > 8
  104.  
  105.            1    $00                        /* Reserved                 */
  106.            1    %11100000                  /* Flags                    */
  107.            2    $0000                      /* Defect List Length       */
  108.  
  109. : End FormatStart
  110.  
  111. /* Page */
  112.  
  113. /*      Length    Value    Key Word / Description                      */
  114. /*      ------  ---------  ------------------------------------------- */
  115.  
  116. : ModeCmdFinal > 8
  117.  
  118.            1    $15                        /* Set Mode Command         */
  119.            1    %00010001  = LUN           /* Logical Unit Number      */
  120.            2    $0000                      /* Reserved                 */
  121.            1    60                         /* Number Of Bytes          */
  122.            1    $00                        /* Reserved                 */
  123.  
  124. : ModeDataFinal > 64
  125.  
  126.            1    $00                        /* Reserved                 */
  127.            1    $00                        /* Default Medium           */
  128.            1    $00                        /* Reserved                 */
  129.            1    $08                        /* Descriptor List Length   */
  130.            1    $00                        /* Density Code             */
  131.            4    $00000000                  /* Reserved                 */
  132.            3    0          = BlockSize     /* Block Size               */
  133.  
  134.            1    $01                        /* Page 1 Indicator         */
  135.            1    $02                        /* Length Of Page           */
  136.            1    %00000000                  /* Error Recovery Parameters*/
  137.            1    16                         /* Retry Count              */
  138.  
  139.            1    $03                        /* Page 3 Indicator         */
  140.            1    $16                        /* Page Length              */
  141.            2    $0000      = HeadCount     /* Tracks / Zone            */
  142.            2    $0001                      /* Alternate Sectors / Zone */
  143.            2    $0000                      /* Reserved                 */
  144.            2    $0000                      /* Alternate Tracks / Volume*/
  145.            2    0          = BlksPerTrk    /* Sectors Per Track        */
  146.            2    0          = BlockSize     /* Sector Size              */
  147.            2    1                          /* Interleave               */
  148.            4    $00000000                  /* Reserved                 */
  149.            1    %10000000                  /* Flags                    */
  150.            3    $000000                    /* Reserved                 */
  151.  
  152.            1    $04                        /* Page 4 Indicator         */
  153.            1    $12                        /* Length                   */
  154.            3    $000000    = CylCount      /* Cylinder Count           */
  155.            1    $00        = HeadCount     /* Head Count               */
  156.            3    250                        /* Write PreComp Cylinder   */
  157.            3    $000000                    /* Reduced Write Current Cyl*/
  158.            2    $00                        /* Step Rate                */
  159.            4    $00000000                  /* Reserved                 */
  160.            2    $0000                      /* Reserved                 */
  161.  
  162. : End ModeFinal
  163.  
  164. /* Page */
  165.  
  166. /*      Length    Value    Key Word / Description                      */
  167. /*      ------  ---------  ------------------------------------------- */
  168.  
  169. : FormatCmdFinal > 12
  170.  
  171.            1    $04                        /* Format Command           */
  172.            1    %00011100  = LUN           /* Logical Unit Nubmer      */
  173.            1    $00                        /* Reserved                 */
  174.            2    $01                        /* Interleave               */
  175.            1    $00                        /* Reserved                 */
  176.  
  177. : FormatDataFinal > 3044
  178.  
  179.            1    $00                        /* Reserved                 */
  180.            1    %11100000                  /* Flags                    */
  181.            2    $0000                      /* Defect List Length       */
  182.  
  183. : End FormatFinal
  184.  
  185. /* Page */
  186.  
  187. /* Error   Description                                                 */
  188. /* -----   ----------------------------------------------------------- */
  189.  
  190. : Errors
  191.  
  192.    $01     01h - No index or sector signal found during rd, wr, or format.
  193.    $02     02h - Seek complete signal missing.
  194.    $03     03h - Drive detected failure which disallows writes.
  195.    $04     04h - Drive not ready.
  196.    $05     05h - Drive not selected.
  197.    $06     06h - Track zero not found.
  198.    $07     07h - Multiple drives selected.
  199.    $0d     0Dh - Operation in progress.
  200.  
  201.    $10     10h - ID field error, unable to correct by retry.
  202.    $11     11h - Uncorrectable read error.
  203.    $12     12h - ID address mark not found.
  204.    $13     13h - Data field address mark not found.
  205.    $14     14h - Record not found - unable to locate sector on cylinder.
  206.    $15     15h - Seek Error - Unable to locate track with correct ID.
  207.    $17     17h - Recoverable read error occurred, corrected with retries.
  208.    $19     19h - Error reading defect list.
  209.    $1A     1Ah - Parameter Overrun - parameter list too long.
  210.    $1C     1Ch - Unable to locate primary defect list.
  211.  
  212.    $20     20h - Invalid SCSI command.
  213.    $21     21h - Invalid block address (too high).
  214.    $22     22h - Illegal function for device type.
  215.    $24     24h - SCSI command argument error.
  216.    $25     25h - Invalid logical unit number.
  217.    $26     26h - Invalid field in parameter list.
  218.    $27     27h - Write protect set.
  219.    $28     28h - Media has been changed.
  220.    $29     29h - Controller reset occurred.
  221.    $2A     2Ah - Mode select has been changed.
  222.  
  223.    $32     32h - Spare sector not available on current cylinder.
  224.  
  225.    $40     40h - RAM failure.
  226.    $43     43h - Message reject failure.
  227.    $44     44h - Internal controller error.
  228.    $45     45h - Select/reselect failed.
  229.    $47     47h - SCSI bus out parity check.
  230.    $48     48h - Host system detected error.
  231.    $49     49h - Inappropriate / Illegal message detected.
  232.  
  233. : End Errors
  234.  
  235.