home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / HARDDISK / IAU19A.ZIP / MANUAL.PRN < prev   
Encoding:
Text File  |  1988-08-11  |  41.6 KB  |  1,397 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                           Interleave Adjustment Utility                          Interleave Adjustment Utility
  16.  
  17.                                    Version 1.8
  18.                                     July, 1988
  19.  
  20.                                (c) 1988  Radio KZ1O
  21.                                    Dave Bushong
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.            First Edition (June 1988)           First Edition (June 1988)
  30.  
  31.            Radio KZ1O provides this manual "as is," without warranty of
  32.            any kind, either expressed or implied,  including,  but  not
  33.            limited  to,  the  particular  purpose.    KZ1O   may   make
  34.            improvements and/or changes in  the  product(s)  and/or  the
  35.            program(s) described in this manual at any time.
  36.  
  37.            This  product  could  include  technical   inaccuracies   or
  38.            typographical errors.  Changes are periodically made to  the
  39.            information herein; these changes will  be  incorporated  in
  40.            new editions of the publication.
  41.  
  42.            All specifications subject to change without notice.
  43.  
  44.            (c) Radio KZ1O 1988
  45.  
  46.            Second Printing July,1988
  47.  
  48.            Manual rev: A
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.                           Interleave Adjustment
  80.                                                                 Utility
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.            Notes:
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.                                  Interleave Adjustment
  139.                                                                 Utility
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.            Preface
  147.  
  148.            This manual describes the operation of the software  program
  149.            IAU.EXE           IAU.EXE.  It describes the technical  details  of  operation
  150.            and includes some general information about fixed disks.
  151.  
  152.            IAU           IAU is a program which changes the physical  arrangement  of
  153.            data on the computer's hard disk in order for the CPU to  be
  154.            able to access (read and write) the data in the least amount
  155.            of time.  This causes the computer system to operate in  the
  156.            fastest possible manner.
  157.  
  158.            This manual describes some basics of  hard  disk  operation.
  159.            Then it explains what the "interleave factor" is, and why it
  160.            might be changed.  A description of the  software  algorithm
  161.            follows.
  162.  
  163.            A section is included containing frequently-asked  questions
  164.            and their answers about the program.
  165.  
  166.            Appendix A contains application notes.    Appendix  B  shows
  167.            some of the display screens that you will see  when  running
  168.            the program.
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.                            Interleave Adjustment
  198.                                                                 Utility
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.            Contents           ____
  206.  
  207.            Page _______                Subject
  208.  
  209.              1       Computer Data Storage
  210.              2       Interleave
  211.              4       Read, Re-format, Write
  212.              5       Question and Answer
  213.              6       Pictorial display
  214.            11        Appendix A- Application notes
  215.            B-1       Appendix B- Figures
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.           Interleave Adjustment
  257.                                                                 Utility
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.            Computer Data Storage           Computer Data Storage
  265.  
  266.            Modern personal computers use rotating  magnetic  media  for
  267.            data storage.  These include floppy disks (3.5, 5.25, 8 inch
  268.            diameter) and fixed (5.25, 8  inch)  disks.    The  data  is
  269.            stored and retrieved on the disk by means of flux changes in
  270.            the magnetic coating of the surface of the media.
  271.  
  272.            Floppy disks are typically made of Mylartm with a coating of
  273.            ferro-magnetic (iron) particles on both  sides.    The  disk
  274.            retains the flexible quality of the  Mylartm.    This  round
  275.            disk is then sealed in a square plastic jacket, which  keeps
  276.            all but a small area of the media exposed.
  277.  
  278.            The data is written  and  read  analogously  to  the  way  a
  279.            musical record is made, and later played.   The  information
  280.            is contained in circular patterns of the disk.  However,  an
  281.            LP has the information recorded in a spiral; the floppy disk
  282.            has its data in concentric rings (like a dart board).    The
  283.            LP spins at 33 R.P.M.; the floppy disk spins at  300  R.P.M.
  284.            (or in some systems, 360 R.P.M.)  The floppy disk, depending
  285.            on several factors, can save from 160 thousand bytes (called
  286.            160K) to over a million (a "megabyte").
  287.  
  288.            An interesting experiment is to take one of  these  floppies
  289.            out of its protective jacket and look at the media.  Be sure
  290.            that  the  disk  that  you  do  this  to  has  no  important
  291.            information on it!  Once you open the protective jacket,  it
  292.            and the disk shouldn't ever be put back into the drive!
  293.  
  294.            Hard disks are very similar to the floppy disk  counterpart.
  295.            They are round, they have a coating of  magnetic  particles,
  296.            and they have data on both sides of  the  media.    However,
  297.            they spin much faster in the drive (3600 R.P.M.), hold  more
  298.            information (20, 30, 40, or  more  megabytes),  and  do  not
  299.            bend.  They are also not designed to  be  removed  from  the
  300.            computer as with floppies.
  301.  
  302.            The early (1980) personal computer hard disks had capacities
  303.            of 5 megabytes.   They  were  single-platter  devices,  with
  304.            their 160  data  tracks  far  apart  by  today's  standards.
  305.            However, progress  in  design  and  manufacturing  has  made
  306.            thousand-track, multi-platter hard disk systems  commonplace
  307.            (and cheaper in today's dollars than the older ones!).
  308.  
  309.            Thus, you can now have at your disposal,  on  your  desk,  a
  310.            computer system with many "K" of RAM,  many  "meg"  of  hard
  311.  
  312.  
  313.  
  314.  
  315.  
  316.                                                   Interleave Adjustment
  317.                                                       Utility -- page 1
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.            disk storage, rivaling the big systems  of  last  decade  in
  325.            performance, cost, and storage.
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.         Interleave Adjustment
  377.                                                       Utility -- page 2
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.            Interleave           Interleave
  385.  
  386.            It helps to understand the following description if you  can
  387.            visualize what the data sectors "look"  like  on  the  disk.
  388.            Imagine a pizza, cut into seventeen slices.   Then,  imagine
  389.            you had some round  cookie  cutters  in  larger  and  larger
  390.            diameters.  When you have cut the pizza, first  into  slices
  391.            (sectors)  and  then  into  cookie  circles  (cylinders,  or
  392.            tracks), you would end up with a bunch of pizza pieces  that
  393.            look like large fingernail clippings.
  394.  
  395.            If you can bear to  continue  this  analogy  just  a  little
  396.            longer, each of those clippings would compare to a sector of
  397.            512 bytes on the hard disk.  You can  easily  determine  the
  398.            capacity of the hard disk using a calculator and the formula
  399.  
  400.                 CAPACITY = 512 x TOTAL SECTORS
  401.  
  402.            If, instead, you had five pizzas stacked up before  you  did
  403.            the cutting, you would have  ended  up  with  more  sectors.
  404.            This is what happens with multi-platter hard disk units.  If
  405.            you had toppings on both sides of the dough on  each  pizza,
  406.            you would have approximated the layout  of  modern  PC  hard
  407.            disks.  Each side with toppings  relates  to  a  data  side,
  408.            which is read by a separate head.
  409.  
  410.            The formula above for disk capacity is, finally,
  411.  
  412.                 CAPACITY = 512 x SECTORS PER TRACK  x  TRACKS  PER
  413.                         PLATTER x TOTAL HEADS
  414.  
  415.            The answer is in bytes.
  416.  
  417.            As the disk spins, the sectors go by  the  read-write  head.
  418.            You can calculate the speed that the bits go by if you  want
  419.            to.  With 17 sectors, 512 bytes  per  sector,  and  at  3600
  420.            R.P.M.,  that's  31,334,400  data  bytes  per   minute,   or
  421.            4,177,920 data bits per second.  Since each sector has  some
  422.            "overhead", that is, extra data in the sector  which  allows
  423.            the controller circuitry to access the data,  the  bits-per-
  424.            second is a little higher than that.  Typically you will see
  425.            this parameter as 5 megabits per second.
  426.  
  427.            4,177,920 bits per second means 522,240  bytes  per  second.
  428.            If you attempted to read one track from the disk,  you  must
  429.            be able to take it at that rate:  the  disk  will  not  stop
  430.            spinning while your CPU digests the data.  (The  IBM  XT  is
  431.            not able to transfer the data via its  DMA  controller  this
  432.  
  433.  
  434.  
  435.  
  436.                                                   Interleave Adjustment
  437.                                                       Utility -- page 3
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.            fast; in fact, it can  only  manage  about  100K  bytes  per
  445.            second.  The reasons for this are beyond the scope  of  this
  446.            description.)  If the CPU isn't ready for the second  sector
  447.            when the disk drive is ready to send it, the disk spins, and
  448.            17  milliseconds  later  the  sector  shows  up  under   the
  449.            read/write head again.  By now, the CPU is ready for it, and
  450.            it accepts it.  However, this will slow your  data  transfer
  451.            rate down by a factor of 18, dropping it to 29,013 bytes per
  452.            second!  Poor, indeed!
  453.  
  454.            What would happen if you only recorded four sectors on every
  455.            track, with evenly-spaced gaps between them?  There would be
  456.            enough time between sectors for the CPU to transfer the data
  457.            before the next one showed up.  Now your transfer rate would
  458.            be four sectors per spin, instead of one.  The  disadvantage
  459.            is that your capacity just shrunk by a factor of  more  than
  460.            four.
  461.  
  462.            A compromise is available.  The data can be  placed  on  the
  463.            disk in a way that allows enough time  between  sectors  for
  464.            the computer to read them as  fast  as  they  come  by,  and
  465.            having the track full of sectors.  If  you  write  the  four
  466.            sectors, as described above, but then put sector number five
  467.            immediately after sector number one, then sector number  six
  468.            immediately after number two, and so on.  It would take four
  469.            or five spins to get all seventeen sectors.  This isn't 500K
  470.            bytes per second, but it's four times  faster  than  reading
  471.            one sector per spin.
  472.  
  473.            The process just described is called interleaving                                                interleaving.  This  is
  474.            the way that your data is placed on your hard disk.
  475.  
  476.                 The                The interleave factor is defined as the number                     interleave factor is defined as the number  of                                                                of
  477.                 times the disk must spin in order to read                 times the disk must spin in order to read  all  of                                                           all  of
  478.                 the sectors on disk in order, from                 the sectors on disk in order, from  sector  number                                                    sector  number
  479.                 one to sector number n (the highest number).                one to sector number n (the highest number).
  480.  
  481.            An interleave of one (or called "one-to-one") is the fastest
  482.            possible: one whole track is read in one  revolution.    The
  483.            sectors are stored on the disk  as  1-2-3-4-5-6-7-8-9-10-11-
  484.            12-13-14-15-16-17.  An  interleave  of  two  (2:1)  has  the
  485.            sectors stored on the disk as 1-10-2-11-3-12-4-13-5-14-6-15-
  486.            7-16-8-17-9.  The typical  IBM  AT  comes  to  you  with  an
  487.            interleave of three, and the typical XT comes to you with an
  488.            interleave of five or six.
  489.  
  490.            Who decides what interleave is right for your system?    The
  491.            person who installs the hard disk.  If you bought the system
  492.  
  493.  
  494.  
  495.  
  496.                                                   Interleave Adjustment
  497.                                                       Utility -- page 4
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.            ready to go, it was your dealer who did it.   If  you  built
  505.            the system from subsystems (mail order, for example), it was
  506.            probably you who did it (perhaps unknowingly).  A  generally
  507.            safe value is  determined  for  a  certain  type  of  system
  508.            (processor  type, speed  in  MHz,  networking  requirements,
  509.            etc.), and this "magic number" is then used for all  similar
  510.            systems.
  511.  
  512.            There is a big performance penalty if the interleave is  too
  513.            small -- in fact, if you are off by one  in  that  direction
  514.            it's like having an interleave of, say, 19 instead of 2,  or
  515.            20 instead of 3.  Since the  controller  misses  the  second
  516.            sector of each multi-sector read (called "blowing  a  rev"),
  517.            an extra revolution is required for each sector to be read.
  518.  
  519.            So it's important to not have the interleave too small.  But
  520.            what about having the value too high?  Not a terrible thing,
  521.            but you still aren't getting the  most  performance  out  of
  522.            your system.  The CPU is saying "gimme" when the  controller
  523.            is saying "hang on, it's coming."
  524.  
  525.            The best situation to have is  to  experimentally  determine
  526.            the best interleave for your specific computer, with all  of
  527.            your peripherals connected, and then change  the  interleave
  528.            to that value.
  529.  
  530.            That's what your new program does.  And it does  it  without
  531.            messing up the data that you already have stored there.
  532.            Read, Re-format, Write           Read, Re-format, Write
  533.  
  534.            The sectors are placed by  an  operation  called  "low-level
  535.            format."  This is  distinguished  from  a  "regular  format"
  536.            because it is not done by the FORMAT  program  on  your  DOS
  537.            disk.  That program really just arranges the DOS data on the
  538.            already-formatted hard disk.
  539.  
  540.            As most computer users know, formatting wipes out your data.
  541.            You don't want to format a disk  which  has  non-replaceable
  542.            data on it.  That's why the FORMAT program  asks  you,  "Are
  543.            you sure?"  It's a drastic thing.
  544.  
  545.            In  order  to  change  (or  initially  set)  the  hard  disk
  546.            interleave, each track must be formatted (low-level  format)
  547.            specifically for that value.  As you may guess, this type of
  548.            format also wipes out any data which is there.   So  if  you
  549.            want to re-format your hard disk, you  save  all  your  data
  550.            onto floppies or tape backup; then re-format;  then  restore
  551.            from your backup media.  Uggh.  That's so painful that  most
  552.  
  553.  
  554.  
  555.  
  556.                                                   Interleave Adjustment
  557.                                                       Utility -- page 5
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.            people aren't interested in doing it.  Besides, if  anything
  565.            goes wrong during the restore, and/or your backup  media  is
  566.            altered or damaged, you  will  lose  some  or  all  of  your
  567.            data... forever.  Double-uggh.
  568.  
  569.            The IAU               IAU program saves you all of the  headaches,  and  gives
  570.            you all of the optimum performance you can get.
  571.  
  572.            After determining  the  optimum  interleave  for  your  disk
  573.            drive, the program proceeds to  change  it.    It  reads  an
  574.            entire track into memory, then formats the track to the  new
  575.            value, then writes the data back to the same track  (but  at
  576.            the new interleave).  This continues for  the  entire  disk.
  577.            When it's done, your disk will be better than new.
  578.  
  579.            But before you run the  program,  run  one  of  the  popular
  580.            performance analyzer programs (such as Peter's  SI  program,
  581.            or one of the Core tests).  Then run  IAU.    Then  run  the
  582.            performance test again.  You will  be  pleasantly  surprised
  583.            with the increase in performance.
  584.  
  585.            The greatest part of all this is that you really are getting
  586.            something for nothing!  All of  that  performance  potential
  587.            was always there; you simply are getting your money's  worth
  588.            now.
  589.  
  590.            If you run the program, and you agree with me --  that  your
  591.            disk performance is really better -- please read the section
  592.            about ShareWare, at the end of the manual.
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.                                                   Interleave Adjustment
  617.                                                       Utility -- page 6
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.            Pictorial Display           Pictorial Display
  625.  
  626.            With the release of version 1.7, you can observe a pictorial
  627.            of  your  hard  disk  system  on  the  display.    The  only
  628.            requirement is that you have an  E.G.A.  or  V.G.A.  adapter
  629.            installed, with either monochrome or color capability.
  630.  
  631.            The pictorial will show you what the inside of the hard disk
  632.            looks like (platters and heads), and will show you what  the
  633.            data would look like if you could see it on the disk.    The
  634.            interleave measured by the program is what is used for  this
  635.            picture.  So you must select the "M"easure option before you
  636.            are shown any graphics.  When you have measured the  current
  637.            value, then select "I"nformation (see figure 9  in  appendix
  638.            B).  The graphic display will look like  figure  10  in  the
  639.            appendix.
  640.  
  641.            The program which does this is MAKEPIC.EXE.  This  was  also
  642.            written in Turbo 'C', using the graphics routines  available
  643.            in version 1.5.
  644.  
  645.            If you want to run MAKEPIC directly from the  command  line,
  646.            the calling parameters are:
  647.  
  648.                 MAKEPIC drive interleave rpm
  649.  
  650.            The third parameter  is  optional;  if  you  leave  it  off,
  651.            MAKEPIC will measure the R.P.M. at run time.
  652.  
  653.            We are interested in your comments about this program.
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.                                                   Interleave Adjustment
  677.                                                       Utility -- page 7
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.            Question and Answer           Question and Answer
  685.  
  686.            This  section  addresses  some   of   the   frequently-asked
  687.            questions about interleave and the IAU program.
  688.  
  689.            Q           Q    Will IAU work with my computer system?
  690.            A:           A:   Yes, if you have an IBM or compatible system  with  one
  691.            or two hard disks, at least 256K of  RAM,  an  IBM-supported
  692.            video system (MDA,  CGA,  EGA,  CGA)  or  de-facto  standard
  693.            (Hercules, Plantronics) video system.
  694.  
  695.            Q:           Q:   What about two hard disks?  Which one will the  program
  696.            work with?
  697.            A:           A:   The program detects that you have more  than  one,  and
  698.            asks you which one it should  use.    Once  you  answer  the
  699.            question, that is the only  drive  which  the  program  will
  700.            access until you exit the program.    You  may  specify  the
  701.            drive from the command line, also (see below).
  702.  
  703.            Q:           Q:   What if I have more than one partition on my hard disk?
  704.            Can the program deal with that?  How about if it's not a DOS
  705.            partition?
  706.            A:           A:   The program operates  at  the  physical  device  level.
  707.            That means that if you have your  physical  drive  split  up
  708.            into two or more logical drives,  it  makes  no  difference.
  709.            Logical partitions do not change the physical  structure  of
  710.            the hard disk.  If you want to change just one partition  of
  711.            your hard disk, you can select  a  cylinder  range  for  the
  712.            program to adjust.
  713.  
  714.            Q:           Q:   Does the program work with R.L.L. drives?
  715.            A:           A:   No, if they don't have 17 sectors per track.   We  have
  716.            found that RLL drive manufacturers use a different method of
  717.            setting the interleave during a format track call, and  have
  718.            chosen not to support R.L.L. drives, except  on  a  case-by-
  719.            case manufacturer-supplied driver basis.
  720.  
  721.            Q:           Q:   I'm concerned about Trojan Horse, or  virus,  programs.
  722.            How do I know if someone has tampered with IAU.EXE?
  723.            A:           A:   Good question.  A file compression program called PKARC
  724.            (and  its  companion  PKXARC)  can  be  instructed  to  give
  725.            information about the archive file, like this:
  726.  
  727.            C>PKXARC /V ILEAVE16
  728.  
  729.            You should see this type of information:
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.                                                   Interleave Adjustment
  737.                                                       Utility -- page 8
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.            Filename        Length   Method     Size   Ratio    Date
  745.            Time    CRC
  746.            --------        ------   ------    ------  -----    ----
  747.            ----    ---
  748.            IAU.EXE          66118  Squashed    52270   21%   06-16-88
  749.            16:32:46  6A4E
  750.            MAILER.EXE       12330  Crunched     9059   27%   06-08-88
  751.            14:51:20  5677
  752.            PARK.COM          9690  Crunched     8257   15%   06-14-88
  753.            10:15:40  5FD9
  754.            -----           ------             ------  -----
  755.            0003             88138              69586   22%
  756.  
  757.            The PKXARC  program  prints  its  sign-on  information  just
  758.            before that is displayed.  The file size of ILEAVE16.ARC  is
  759.            69,747 bytes, and should have a date  of  17-Jun-88,  and  a
  760.            time of 4:51 p.m.  Later versions of the program  will  have
  761.            different values.  Since the author has no control over  the
  762.            integrity of downloaded programs, it is a good idea to get a
  763.            floppy direct from the source.
  764.  
  765.            The CRC value will change if any  part  of  the  program  is
  766.            altered by unauthorized persons.  If these values aren't the
  767.            same as when you got the program, something is wrong.
  768.  
  769.            If you have gotten a self-extracting  archive  file,  or  if
  770.            some programs have been added to the archive, there might be
  771.            more than three files shown - that is OK.  Just be sure that
  772.            the CRC values are the same as when you got the program from
  773.            me.
  774.  
  775.            Q:           Q:   Even if this is the real version of the program, how do
  776.            I know whether or not it will trash my hard disk?
  777.            A:           A:   Another  good  question.    This  type  of  program  is
  778.            potentially destructive to your data.  Some manufacturers of
  779.            hard disk controllers  do  not  follow  the  IBM  method  of
  780.            performing read, write,  and/or  format  commands.    It  is
  781.            possible that some of your data could be lost.   You  should
  782.            try the program on the "test"  cylinder,  and  be  satisfied
  783.            with the results, before you do it to the whole disk.
  784.  
  785.            Q:           Q:   What is the "test cylinder?"
  786.            A:           A:   This is the track which is closest to the middle of the
  787.            disk (and it has a higher number than any tracks which  have
  788.            your data on them).  It is used by  diagnostic  programs  to
  789.            perform tests, and is a guaranteed  safe  place  to  perform
  790.            testing.  It is guaranteed to have no media defects  on  it,
  791.  
  792.  
  793.  
  794.  
  795.  
  796.                                                   Interleave Adjustment
  797.                                                       Utility -- page 9
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.            and is guaranteed to be OK if a program erases whatever data
  805.            happens to be on it.
  806.  
  807.            Q:           Q:   What should I do before running the program?
  808.            A:           A:   _______________________________________________________                _______________________________________________________                YOU SHOULD ALWAYS HAVE A CURRENT BACKUP OF ALL THE DATA                YOU SHOULD ALWAYS HAVE A CURRENT BACKUP OF ALL THE DATA           ____________________________________________________________           ____________________________________________________________
  809.            YOU WANT TO KEEP.  THIS IS TRUE WHETHER OR NOT YOU CHOOSE TO           YOU WANT TO KEEP.  THIS IS TRUE WHETHER OR NOT YOU CHOOSE TO           __________________________________________           __________________________________________
  810.            RUN THE IAU PROGRAM.  BACKUPS SHOULD BE A            RUN THE IAU PROGRAM.  BACKUPS SHOULD BE A  REGULAR  PART  OF                                                      _______________                                                      _______________                                                      REGULAR  PART  OF           ________________________           ________________________
  811.            YOUR COMPUTER OPERATION!           YOUR COMPUTER OPERATION!
  812.  
  813.            Q:           Q:   How do I work the program?
  814.            A:           A:   The program looks like spreadsheet programs look.   See
  815.            figure 1 in Appendix B.  You press the cursor keys  (located
  816.            to the right of the Enter key on most  PCs)  to  select  the
  817.            option  that  you  want.    Each  selection  will  be  shown
  818.            highlighted as you pass by.   Underneath  the  option  is  a
  819.            brief description of what will happen if  you  press  enter.
  820.            Most options have "sub-options", that is, you will be  shown
  821.            a new list of options when  you  choose.    This  method  of
  822.            option entry is easy for most people to get used to.
  823.  
  824.            Q:           Q:   What is the proper sequence to use for the  first  time
  825.            user?
  826.            A:           A:   Measure the test track (see Figure 2).  Then  determine
  827.            the optimum value for the test track (Figure 4).  Change the
  828.            interleave value on the test  track  to  the  optimum  value
  829.            determined (Figures 5 & 6).  Then re-measure the test track,
  830.            to see if the change actually took place.
  831.  
  832.            Q:           Q:   What about "on-line help?"
  833.            A:           A:   The main menu (the first screen  with  options)  has  a
  834.            "Help" selection which is a summary of this manual.  You may
  835.            refer to it whenever you forgot some  of  the  basics  about
  836.            interleave.  Registered users can get more help by  pressing
  837.            the F1 key when a menu is up.  At that  time  they  will  be
  838.            able to  view  the  file  IAU.HLP  which  is  provided  with
  839.            ILEAVE17.EXE for registered users.  You  can  also  run  the
  840.            program with a command line parameter of "?" and get a quick
  841.            description of the program, that is, you type
  842.  
  843.                            IAU ?    (and press Enter).
  844.  
  845.  
  846.            Q:           Q:   What if the program has trouble reading data  from  the
  847.            disk?
  848.            A:           A:   If it can't read a track, it skips it, and leaves it at
  849.            the old interleave value.  In this way, it never  makes  the
  850.            disk worse  than  it  was.    If  you  select  a  track  for
  851.            "Optimize" which is unreadable, the program will tell you to
  852.  
  853.  
  854.  
  855.  
  856.                                                   Interleave Adjustment
  857.                                                       Utility -- page 10
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.            select another one.  Any read, format, or write errors which
  865.            occur during the interleave operation will be  displayed  on
  866.            the screen.  Some errors are expected  and  you  should  not
  867.            panic.
  868.  
  869.            Q:           Q:   Can I get this error log to print out?  How about to  a
  870.            disk file?
  871.            A:           A:   Yes.  When you invoke the program, use the command line
  872.            argument logfile=xxx, where  xxx  is  the  name  of  a  file
  873.            (LOGFILE.PRN, etc.), or a device (such as PRN, COM1, etc.)
  874.  
  875.            Q:           Q:   When I run the program with my (older)  XT,  it  starts
  876.            off great, but then takes longer and longer for each  track.
  877.            At this rate, it will take all night!
  878.            A:           A:   That's OK, though, since  you  only  run  this  program
  879.            once, but there is a way around  this.    Stop  the  current
  880.            operation, and exit the program.  Then, run  it  again  with
  881.            the "RECAL" command line option.
  882.  
  883.            Q:           Q:   How do I stop the program once it gets started changing
  884.            the interleave?
  885.            A:           A:   If you press the Escape key  during  the  re-interleave
  886.            operation, you will be returned to the menu.  Do  not  press
  887.            CTRL-C or CTRL-BREAK while this program  is  running.    You
  888.            have been warned.
  889.  
  890.            Q:           Q:   Ouch.   What if I have some other kind of  error  which
  891.            causes an immediate drop to DOS?  Like the infamous  "Abort,
  892.            Retry, Ignore" message?  And I have to  choose  "Abort"  for
  893.            some reason?
  894.            A:           A:   That's not so bad, except for this:  BE                                                      BE  SURE  THAT  IN                                                         SURE  THAT  IN
  895.            THAT CASE, YOU REBOOT THE SYSTEM BEFORE YOU            THAT CASE, YOU REBOOT THE SYSTEM BEFORE YOU  READ  OR  WRITE                                                        READ  OR  WRITE
  896.            THE HARD DISK.  THIS IS VERY IMPORTANT IN            THE HARD DISK.  THIS IS VERY IMPORTANT IN  CASES  WHERE  YOU                                                      CASES  WHERE  YOU
  897.            ABNORMALLY EXIT THE PROGRAM.           ABNORMALLY EXIT THE PROGRAM.
  898.  
  899.            Q:           Q:   What is a "command line argument?"  What  do  they  do?
  900.            How do I use them?  Why should I?
  901.            A:           A:   Command line arguments are options that you can give to
  902.            a program.  For example,  when  you  type  DIR  A:  you  are
  903.            telling the system that you want a directory, but for  drive
  904.            "A".  And when you  tell  the  FORMAT  program  to  put  the
  905.            operating system on the disk, you give the /S  command  line
  906.            argument.          IAU     has     six     command      line
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.                                                   Interleave Adjustment
  917.                                                       Utility -- page 11
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.            arguments.  They are:                ________
  925.  
  926.                 Argument       ________                               Function
  927.  
  928.                 /ALTER         allows you to change the drive table
  929.                 /CACHE         allows operation  of  the  program  when
  930.            using a cache                      program
  931.                 LOGFILE=       specifies that errors will  be  sent  to
  932.            this device or file
  933.                 /RECAL         allows better operation with controllers
  934.            which
  935.                recalibrate  before  each   format-track
  936.            operation
  937.                 /VAL=               allows  you  to  select  a  default
  938.            interleave value from the                         command
  939.            line
  940.  /COMPAT        Skips the IBM compatibility  byte  check
  941.            at the beginning of
  942.  the program
  943.                 /DRIVE=        Allows you to specify either drive 0  or
  944.            1 from the command
  945.   line.
  946.                 /? or ?             Display a brief description of  the
  947.            program and the revision                          level.
  948.  
  949.            Most of the time, you won't use any  of  these.    ALTER  is
  950.            dangerous for those  who  don't  know  what  they're  doing.
  951.            CACHE might be required in some  systems,  and  the  program
  952.            will tell you  if  yours  is  one  of  them.    LOGFILE  was
  953.            discussed earlier.  Note that LOGFILE does not use a  switch
  954.            character (slash) as all the others do.
  955.  
  956.            Q:           Q:   When I am finished running the  program,  it  tells  me
  957.            that I should register the copy!  I already did!  How  do  I
  958.            get rid of that message?
  959.            A:           A:   If it really bothers you that much, you can  give  this
  960.            command to DOS after you boot your system: SET IAU=Q.   Then
  961.            when you run the program, the message will be suppressed.
  962.  
  963.            Q           Q:   What about the other files in the archive?    What  are
  964.            they for?
  965.            A:           A:   PARK is a program which will place the read/write heads
  966.            at a safe place for transportation.  If you don't  run  this
  967.            (or  a  similar  program)  before  physically   moving   the
  968.            computer, a bump could cause  the  disk  to  be  permanently
  969.            damaged.    This  program  puts  the  heads  in   what   the
  970.            manufacturer calls the "landing  zone,"  where  no  data  is
  971.            stored.  MAILER is a program which allows you to contact the
  972.  
  973.  
  974.  
  975.  
  976.                                                   Interleave Adjustment
  977.                                                       Utility -- page 12
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.            author, either for the registration  fee,  or  for  comments
  985.            about the program.   It  prints  out  an  envelope  on  your
  986.            printer which can be used for mailing.  Other public  domain
  987.            programs may be tossed in from time to time which  might  be
  988.            useful for IAU users.
  989.  
  990.            Q:           Q:   How many copies of the program are there?
  991.            A:           A:   It's hard to  know  how  many  copies  of  a  shareware
  992.            program are being used.  There have been  about  900  people
  993.            (as of July, 1988) who have expressed interest in  one  form
  994.            or another.
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.                             Interleave Adjustment
  1037.                                                       Utility -- page 13
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.            Q:           Q:   What is "Share Ware?"
  1045.            A:           A:   You know, don't you?  It's where you get a program  and
  1046.            try it out to see if you like it.  Then  you  like  it,  and
  1047.            keep using it.  Then you say, "That's a nice program!   I'll
  1048.            bet a commercial version of  this  would  cost  hundreds  of
  1049.            dollars!  So I don't feel too bad  sending  the  author  the
  1050.            paltry sum that he/she suggests.  That way I know  I'll  get
  1051.            on the update list and be able to  ask  questions  over  the
  1052.            phone!"
  1053.  
  1054.            Since you are reading this manual, it means  that  you  have
  1055.            requested the manual with a donation.  Thank you. This makes
  1056.            it all worthwhile for me.
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.               Interleave Adjustment
  1097.                                                       Utility -- page 14
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.            Appendix A           Appendix A
  1105.            Application Notes           Application Notes
  1106.  
  1107.            Application  notes  describe  changes  or  other  items   of
  1108.            interest to users of the program.  Minor  program  bugs  are
  1109.            also  described,  with  their  possible  solutions.      The
  1110.            application notes begin on the next page.
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.                                                   Interleave Adjustment
  1157.                                                       Utility -- page 15
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.            APPLICATION NOTE 1 - FLOATING POINT SUPPORT
  1165.  
  1166.            PROBLEM:
  1167.              During the actual "Change interleave" operation, the
  1168.              percent complete indicator jumps all over the place,
  1169.              instead of showing a steady increase as it progresses.
  1170.  
  1171.            CAUSE:
  1172.              The Auto-87 detect logic of the run-time package in
  1173.              Turbo C doesn't always work - or - your SETUP
  1174.              parameters indicate that you have a numeric co-
  1175.              processor when in fact you don't (or it's not
  1176.              responding).
  1177.  
  1178.            SOLUTION:
  1179.              Before you run the program, enter this at the DOS
  1180.              prompt:
  1181.  
  1182.                    SET 87=N
  1183.  
  1184.              This will tell the run-time math package that there is
  1185.              no numeric co-processor.
  1186.  
  1187.            AFFECTING:
  1188.              This problem affects the display only, and has no
  1189.              effect on the hard disk.  No noticeable effect on
  1190.              program speed is noticed.  The problem is eliminated
  1191.              in version 1.7
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.                        Interleave Adjustment
  1217.                                                       Utility -- page 16
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.            APPLICATION NOTE 2 - DISK ERRORS DURING HARD DISK READ/WRITE
  1225.  
  1226.            PROBLEM:
  1227.              During the re-formatting operation, error codes appear
  1228.              in the ERROR CODE window on the screen.  Some users
  1229.              are concerned about these errors, and their meaning.
  1230.  
  1231.            CAUSE:
  1232.              Some errors are caused by previously-unknown bad
  1233.              sectors; however, the majority are caused by tracks
  1234.              that are marked bad and will not ever be used by the
  1235.              operating system.
  1236.  
  1237.            SOLUTION:
  1238.              Use the list below to determine if the error was
  1239.              previously encountered (error code 0A).  If so, there
  1240.              is no chance for danger; if not, you should run one of
  1241.              the utilities which can update your FAT (Norton's
  1242.              DISKTEST, DOS' DETECT, etc.).
  1243.  
  1244.              Error         Meaning
  1245.              --------      ----------------------------------------
  1246.              CC            Write fault
  1247.              BB            Undefined error
  1248.              AA            Drive not ready
  1249.              40            Seek failed
  1250.              20            Bad controller
  1251.              11            ECC corrected data error
  1252.              10            Bad ECC on disk read
  1253.              0A            Bad sector flag detected
  1254.              05            Reset failed
  1255.              04            Sector not found
  1256.              02            Address mark not found
  1257.              01            Bad command from program
  1258.  
  1259.              There are a few more error codes possible; however,
  1260.              these cover the majority of types that you will see.
  1261.              In these cases, the IAU program will not change
  1262.              anything on that track.
  1263.  
  1264.            AFFECTING:
  1265.              XT, AT.  Users can verify that there was no change to
  1266.              the interleave using the (M)easure option for the
  1267.              track in error.
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.                       Interleave Adjustment
  1277.                                                       Utility -- page 17
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.            APPLICATION NOTE 3 - INTERNAL ERROR CODES
  1285.  
  1286.            PROBLEM:
  1287.                Some users have reported error codes generated during
  1288.            the running of
  1289.                the program.
  1290.  
  1291.            CAUSE:
  1292.                Run-time errors which can not be handled or determined.
  1293.  
  1294.            SOLUTION:
  1295.                Varied - depending on the cause of the problem(s).
  1296.            Version 1.7
  1297.                of IAU has the following error codes:
  1298.  
  1299.                1   No hard drives detected in system
  1300.                99  Controller RAM diagnostic fails
  1301.                98  Drive diagnostic fails
  1302.                97  Controller diagnostic fails
  1303.                45  Not enough system RAM to execute (check tsr's,
  1304.            ramdisks, etc.)
  1305.                33  Same as 45
  1306.  
  1307.                Those are all "fatal" errors, meaning that the program
  1308.            cannot recover
  1309.                from the condition.  The message is in the format of:
  1310.                    Fatal error: xx
  1311.                where xx is a number from the list above.
  1312.  
  1313.                Another type of problem can occur which will be
  1314.            displayed as
  1315.                    Error # xx
  1316.                And the number will be a two-digit (hex) value.  This
  1317.            means that
  1318.                the BIOS compatibility byte is not IBM-compatible.  You
  1319.            may bypass
  1320.                this check by entering the program with the /COMPAT
  1321.            command line
  1322.                argument.
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.                           Interleave Adjustment
  1337.                                                       Utility -- page 18
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.            Appendix B           Appendix B
  1345.            Figures           Figures
  1346.  
  1347.            The figures on the following pages are referred to in the
  1348.            preceding text.  They consist of "screen dumps" from the
  1349.            program while running on a typical system.
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.                                                   Interleave Adjustment
  1397.                                                       Utility -- page 19