home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / FLOPPIES / ANADSK31.ZIP / ANADISK.DOC next >
Encoding:
Text File  |  1988-06-08  |  36.4 KB  |  901 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                         ANADISK - The Ultimate Diskette Utility
  12.  
  13.  
  14.  
  15.  
  16.                                    Charles P. Guzis
  17.                                          SYDEX
  18.                                  153 North Murphy Ave.
  19.                                  Sunnyvale, CA  94086
  20.                                     (408) 739-4866
  21.  
  22.  
  23.                                      June 1, 1988
  24.                                      Version 1.31
  25.  
  26.  
  27.                       Copyright 1987, 1988, All Rights Reserved.
  28.                                Charles P. Guzis / SYDEX
  29.  
  30.  
  31.                 THIS IS NOT FREE SOFTWARE and may not  be  sold  without
  32.                 the  author's  express written permission.   If you have
  33.                 paid a "public domain" vendor for this program, rest as-
  34.                 sured that not one bit of what you paid ever  gets  back
  35.                 to  the  author.    If  you  use this program,  YOU MUST
  36.                 REGISTER.  Neither SYDEX nor Mr. Guzis will answer tech-
  37.                 nical support inquiries from unregistered users.
  38.  
  39.                 To register,  send $15.00 with your name,  company  name
  40.                 (if any) and address to -
  41.  
  42.                                          SYDEX
  43.                                  153 North Murphy Ave.
  44.                                   Sunnyvale, CA  94086
  45.  
  46.                 Upon receipt of your registration fee,  you will be sent
  47.                 the most current version of ANADISK and its accompanying
  48.                 documentation.
  49.  
  50.                 ANADISK and this document are  protected  by  copyright.
  51.                 The receipt or possession of this document does not con-
  52.                 vey   any  rights  beyond  those  enumerated  herein  to
  53.                 reproduce or distribute its contents.    If  ANADISK  or
  54.                 this  document are copied,  a fee may be charged for the
  55.                 service of copying only, and not for ANADISK itself.  If
  56.                 such a charge is made,  it must be clearly identified as
  57.                 a service charge only by the vendor.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                                    Table of Contents
  68.  
  69.  
  70.              INTRODUCTION.................................................1
  71.  
  72.              ANADISK IN BRIEF.............................................1
  73.  
  74.              ANADISK OPERATION............................................1
  75.               Menus.......................................................2
  76.               The Main Menu...............................................2
  77.                SCAN Operation.............................................3
  78.                 Searching for Data........................................5
  79.                SECTOR EDIT Operation......................................6
  80.                FILE EDIT Operation........................................8
  81.                REPAIR Operation...........................................9
  82.                COPY Operation............................................10
  83.               Accessing External Drives..................................11
  84.               Notes on Media Types.......................................11
  85.  
  86.              IN CONCLUSION...............................................11
  87.  
  88.              THE SYDEX PRODUCT LINE......................................11
  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.                                            i
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.            INTRODUCTION
  128.  
  129.            This document is comprised of major excerpts of the full  ANADISK
  130.            reference  material.    If you wish to get a copy of the complete
  131.            documentation for  ANADISK  -  you  guessed  it  -  you  have  to
  132.            REGISTER.  See the preceding page for information on registering.
  133.  
  134.  
  135.            ANADISK IN BRIEF
  136.  
  137.            ANADISK is a general-purpose utility package to analyze, inspect,
  138.            edit, repair and copy diskettes.  It is intended for IBM Personal
  139.            Computer-compatible  machines  and  makes  extensive  use  of the
  140.            hardware facilities of this series of machines.  ANADISK does not
  141.            support the "hard" disk, just diskettes.
  142.  
  143.            ANADISK contains  support  for,  but  is  not  limited  to,  DOS-
  144.            compatible diskettes.   Almost any diskette that can successfully
  145.            be read  by  the  hardware  contained  in  your  machine  can  be
  146.            processed by ANADISK.
  147.  
  148.            Menus,  windows  and  use  of  color  where available are part of
  149.            ANADISK's implementation and make it easy to use, even by the in-
  150.            experienced.
  151.  
  152.  
  153.            ANADISK OPERATION
  154.  
  155.            As distributed,  ANADISK consists of this  file  (usually  called
  156.            READ.ME or ANADISK.DOC) and the file ANADISK.EXE.  To begin using
  157.            ANADISK, just place the ANADISK.EXE file where it can be executed
  158.            as a program and enter -
  159.  
  160.                      ANADISK
  161.  
  162.            at the DOS prompt.
  163.  
  164.            If you have a monochrome display adapter, ANADISK's displays will
  165.            be  light  on  a dark background with occasional reverse video or
  166.            highlighting.
  167.  
  168.            If you have a monochrome monitor connected to  a  color  graphics
  169.            adapter,  or  you find that you would rather have a light-on-dark
  170.            display rather than a color display,  simply invoke ANADISK  with
  171.            the following line -
  172.  
  173.                      ANADISK M
  174.  
  175.            All displays will be light on a dark background.
  176.  
  177.  
  178.  
  179.  
  180.                                         Page 1
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.            If  all goes well,  you'll get what a friend calls the "elevator"
  188.            display - a graphic ANADISK floats down to  the  bottom  of  your
  189.            screen,  and the registration information appears.  After a short
  190.            pause, the main menu appears.
  191.  
  192.            During the operation of ANADISK,  there are two keys whose  func-
  193.            tion does not change:
  194.  
  195.                 ESCape  exits from whatever ANADISK is currently doing.   If
  196.                 ANADISK is at the Main Menu,  ESCape exits to DOS.    Other-
  197.                 wise,  ESCape  takes ANADISK back one menu or display.    In
  198.                 general, ESCape takes ANADISK  back to whatever it was doing
  199.                 before the current operation.
  200.  
  201.                 F1 gets a help display if one is available.   Beginning with
  202.                 version 1.31, a help display is available everywhere ANADISK
  203.                 requests keyboard input.   This help is "context sensitive";
  204.                 that is, it relates directly to the current state of ANADISK
  205.                 execution.   For example,  pressing F1 at the main menu will
  206.                 display  a  short  explanation  of  the choices shown on the
  207.                 menu.   Pressing any other key will then bring you  back  to
  208.                 the main menu.
  209.  
  210.  
  211.            Menus
  212.  
  213.            Menus are used to select ANADISK's operating modes.   The current
  214.            choice for an item is indicated by displaying that item in a  in-
  215.            verse video field;  the current position within the menu is indi-
  216.            cated by blinking that item.   To select a different choice,  use
  217.            the right- and left-arrow cursor keys.  To go to the next line in
  218.            the  menu,  use  the  up-  or  down-arrow cursor keys.   When all
  219.            choices have been made,  press the ENTER  key  and  ANADISK  will
  220.            progress to the next menu.  To exit to DOS, press the ESCape key.
  221.  
  222.  
  223.            The Main Menu
  224.  
  225.            ANADISK's  main  menu  selects  what function is to be performed.
  226.            The following operations are available:
  227.  
  228.                 SCAN - reads every sector on a diskette, indicates the find-
  229.                      ings,  and optionally pauses  for  examination.    This
  230.                      function  can  be  used to determine the type of a dis-
  231.                      kette, or just to determine its basic readability.   In
  232.                      addition,  SCAN is used to search for a data pattern on
  233.                      a diskette.
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.                                         Page 2
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.                 EDIT SECTORS - allows editing of the  data  on  a  diskette,
  249.                      sector by sector.   Many other operations are possible;
  250.                      the diskette under examination need not be a  DOS  dis-
  251.                      kette.  SECTOR mode is often used to repair data errors
  252.                      or to change the structure of data not normally  acces-
  253.                      sible with the normal DOS utilities.
  254.  
  255.                 EDIT  FILES  -  edits data contained in a DOS file on a dis-
  256.                      kette.   Because a file structure is essential to  this
  257.                      mode, it may be used only with DOS diskettes.  The dis-
  258.                      play and operation is similar to that of EDIT SECTORS.
  259.  
  260.                 REPAIR  -  reconciles the File Allocation Tables,  moves bad
  261.                      sectors and scans the diskette for readability.  REPAIR
  262.                      can be used to salvage a diskette containing unreadable
  263.                      files.   Again,  because the REPAIR function requires a
  264.                      DOS  file structure,  it may be used only with DOS dis-
  265.                      kettes.
  266.  
  267.                 COPY - copies one diskette to another, regardless of format.
  268.                      While not intended  as  a  method  for  defeating  copy
  269.                      protection schemes,  the COPY function will make a true
  270.                      copy of just about any diskette,  regardless of format.
  271.                      This  operation also verifies the integrity of the copy
  272.                      by performing a read-after-write check of each sector.
  273.  
  274.            Where the integrity or format of a diskette is  unknown,  a  SCAN
  275.            operation should first be performed.  If data errors are reported
  276.            during  the  progress  of a SCAN,  it is best to attempt a repair
  277.            first by using the SECTOR or FILE Edit modes.  REPAIR mode can be
  278.            used as a "last resort" for correcting DOS diskettes, or to iden-
  279.            tify a particular file containing erroneous data.
  280.  
  281.            After the operating mode has been selected from  the  main  menu,
  282.            depressing  the ENTER key will cause  one of several sub-menus to
  283.            appear.    Each sub-menu contains specifications  for  parameters
  284.            pertaining to the operating mode selected.
  285.  
  286.  
  287.            SCAN Operation
  288.  
  289.            The SCAN mode sub-menu displays the following options;
  290.  
  291.                 DISKETTE UNIT - Selects which diskette unit will be scanned.
  292.                      Normally,  these appear as A: through D:.   However, if
  293.                      physical unit access has been specified (see "Accessing
  294.                      Other Drives"),  the diskette unit choices will  appear
  295.                      as 0: through 3:.
  296.  
  297.  
  298.  
  299.  
  300.                                         Page 3
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.                 PRINTER OUTPUT - If selected,  causes a log to be printed on
  308.                      device LPT1: during the  SCAN  operation.    Otherwise,
  309.                      results of the scan are only displayed and not printed.
  310.  
  311.                 PAUSE  AFTER  ANOMALIES  -  If selected,  ANADISK will pause
  312.                      after an anomalous condition or error occurs.    Press-
  313.                      ing any key will cause execution to resume.
  314.  
  315.                 SHOW DETAIL MAP AFTER ANOMALIES - If selected,  a map of the
  316.                      track will be displayed showing cylinder, head and sec-
  317.                      tor addresses as they occur on the track.   Errors  and
  318.                      deleted  data  marks are also noted.   Pressing any key
  319.                      will cause SCAN operation to resume.
  320.  
  321.                 SEARCH FOR A DATA PATTERN - If selected,  allows  specifica-
  322.                      tion  of  a  hexadecimal  or  ASCII data value up to 20
  323.                      bytes in length.  In addition,  a hexadecimal selection
  324.                      mask  may  also  be  specified;  '1'  bits  in the mask
  325.                      specify positions that are to be considered during  the
  326.                      search; '0' bits are "don't cares".
  327.  
  328.                      For  more information on this mode,  see "Searching for
  329.                      Data", below.
  330.  
  331.            SCAN mode first attempts to determine the characteristics of  the
  332.            diskette  drive  and  controller.  As  the characteristics of the
  333.            equipment found are determined,  they are reported in either  the
  334.            left  (General  Information) or right (Detailed Information) win-
  335.            dows.  An attempt is made to determine the following:
  336.  
  337.                      1.   If the diskette contains any readable information.
  338.  
  339.                      2.   The data rate (250Kbps,  300Kbps or 500Kbps)  used
  340.                           to record the information, if applicable.  This is
  341.                           reported  in terms of the drive type and the terms
  342.                           "high" or "low" density.
  343.  
  344.                      3.   The track density or spacing of the diskette  ver-
  345.                           sus  the  normal  recording  track  density of the
  346.                           drive (48 or 96 tracks per inch).  If the diskette
  347.                           appears to be blank,  this is reported and ANADISK
  348.                           exits to the main menu.
  349.  
  350.                      4.   If the diskette contains 512 byte sectors,  sector
  351.                           0,  side 0,  cylinder 0 is read and examined for a
  352.                           DOS boot sector.  If one is found, the information
  353.                           is saved and used in operations involving DOS file
  354.                           structure.    Additionally,  a "pop-up" window ap-
  355.                           pears,  showing the information read from the boot
  356.                           sector.    Pressing  any key causes this window to
  357.                           disappear.
  358.  
  359.  
  360.                                         Page 4
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.                           If no valid boot sector data can be found, a check
  368.                           is made for a File Allocation Table (FAT)  present
  369.                           on  the  first  track of the diskette.   If one is
  370.                           found,  the diskette is assumed to be a  DOS  dis-
  371.                           kette,  and analysis is conducted based on the FAT
  372.                           identification byte located.   Note that either of
  373.                           the  two  FATs  may  be intact (something that DOS
  374.                           will not look for).
  375.  
  376.                      5.   If a DOS diskette is detected,  all  FAT  clusters
  377.                           are checked for correct range,  and if both copies
  378.                           of the FAT can be read,  the two copies  are  com-
  379.                           pared  for  consistency.     Any  differences  are
  380.                           reported and may  be  repaired  by  means  of  the
  381.                           REPAIR mode or the SECTOR edit mode.
  382.  
  383.                           If a DOS diskette cannot be identified, a check is
  384.                           made  for a few other common diskette types,  such
  385.                           as CP/M-86 system diskettes.
  386.  
  387.                           Regardless of the type  of  diskette,  the  entire
  388.                           diskette is scanned for structure and readability,
  389.                           reporting  changes  in  the overall format of each
  390.                           track as well as any errors detected.
  391.  
  392.  
  393.            Searching for Data
  394.  
  395.            A SCAN mode option  allows  a  diskette  to  be  searched  for  a
  396.            specified  data  value.    If this option is selected on the SCAN
  397.            sub-menu, another menu will appear with the following choices:
  398.  
  399.                 SEARCH KEY MODE specifies whether the search key will be en-
  400.                      tered in ASCII or hexadecimal.   In either case,  up to
  401.                      20 bytes of data may be entered.
  402.  
  403.                 SEARCH  QUALIFICATION  specifies how much 'leeway' should be
  404.                      given in the search.   if NONE is  selected,  the  data
  405.                      value will be located exactly as it is entered.  IGNORE
  406.                      CASE  will cause upper- and lower-case ASCII letters to
  407.                      be considered as being equivalent.  SPECIFY MASK allows
  408.                      specification of a hexadecimal mask value.   This  mask
  409.                      value  contains '1' bits in those positions of the data
  410.                      value to be considered in the search.  '0' bits  denote
  411.                      "don't care" positions.
  412.  
  413.            When either the search data value or mask is being entered, Alt-X
  414.            (the  Alt and 'X" keys depressed simultaneously),  will cause the
  415.            current position to be regarded as a  "don't  care".    That  is,
  416.            Alt-X specifies a "wild card" which will not be considered in the
  417.            search.    The  first byte of the search data value must not be a
  418.            "don't care".
  419.  
  420.                                         Page 5
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.            After the search data value and the  qualifying  mask  have  been
  429.            specified,  a normal track-by-track scan is performed of the dis-
  430.            kette.   When a match is found with the specified value,  a "pop-
  431.            up" window gives the location and,  if applicable, the file where
  432.            the match occurred.  ANADISK then pauses until one of the follow-
  433.            ing keys has been pressed:
  434.  
  435.                 C    to continue and find the next occurrence of the value.
  436.  
  437.                 S    to skip the remainder of the track and continue search-
  438.                      ing with the next track.
  439.  
  440.                 E    to enter SECTOR EDIT mode with  the  sector  containing
  441.                      the data.   When an exit from SECTOR EDIT mode is made,
  442.                      the "pop up" window reappears.
  443.  
  444.                 ESCape to exit SCAN mode and return to the main menu.
  445.  
  446.            The search for a match on a specified data value continues to the
  447.            end of the diskette.
  448.  
  449.  
  450.            SECTOR EDIT Operation
  451.  
  452.            The SECTOR Edit mode allows diskette data to be  altered  or  in-
  453.            spected  on  a sector address basis,  as contrasted with the FILE
  454.            edit mode,  which allows editing of data within a  specified  DOS
  455.            file.
  456.  
  457.            The SECTOR EDIT sub-menu selects the diskette unit to be used.
  458.  
  459.            Like SCAN mode,  SECTOR Edit mode begins operation by determining
  460.            the diskette type and drive characteristics.  After this is done,
  461.            a prompt is displayed to select the track and side containing the
  462.            sector(s) to be inspected or modified.
  463.  
  464.            The right- and left-cursor keys are used to select the track, the
  465.            up- and down-cursor keys are used to select the head or side con-
  466.            taining the sector.   The "ruler" line shows this position change
  467.            correspondingly.    When the ENTER key is pressed,  the track  is
  468.            read for analysis and a track map is displayed.
  469.  
  470.            The  desired  sector  is selected from the displayed track map by
  471.            use of the up- and down-cursor keys. When the sector to be edited
  472.            is highlighted,  the ENTER key is pressed to display the data for
  473.            that  sector.    Note that the sectors are listed in the order in
  474.            which they occur on the track,  but that the selection is done in
  475.            strictly numerical order.
  476.  
  477.  
  478.  
  479.  
  480.                                         Page 6
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.            The  sector  data  is displayed in hexadecimal and ASCII formats;
  488.            the current position within the sector data  is  indicated  by  a
  489.            highlighted,  inverse video block.  Sector data may be changed by
  490.            simply entering new data at the current position or by making use
  491.            of one of the predefined function keys.   If the sector data  has
  492.            been  changed,  but  not re-written to the disk,  the word "SAVE"
  493.            will appear in the editing menu window as  a  reminder  that  the
  494.            data displayed does not yet reflect the actual data on the disk.
  495.  
  496.            The function keys are as follows:
  497.  
  498.                 F1   Help key, brings up a help display for editing.
  499.  
  500.                 F2   Re-reads the current sector and display its data.
  501.  
  502.                 F3   Writes  the  currently  displayed data back to the dis-
  503.                      kette.
  504.  
  505.                 F4   Toggles the deleted data mark indicator.   If set,  the
  506.                      data  in  the  buffer will be written (when F3 is used)
  507.                      back to the diskette with a  Deleted  Data  Mark.    If
  508.                      clear, no deleted data mark will be set.
  509.  
  510.                 F5   Shifts  all  the  currently displayed data left one bit
  511.                      from the current position to the  end  of  the  sector.
  512.                      High-order bits shifted out of the current position are
  513.                      discarded;  zeroes  are shifted into the low-order bits
  514.                      of the last byte of the sector.
  515.  
  516.                 F6   Shifts all the currently displayed data right  one  bit
  517.                      from  the  current  position  to the end of the sector.
  518.                      High-order zeroes are shifted into  the  current  posi-
  519.                      tion, with low order bits being discarded from the last
  520.                      byte of the sector.
  521.  
  522.                 F7   Takes  the  ones'  complement (logical NOT) of the cur-
  523.                      rently displayed data from the current position to  the
  524.                      end of the sector.
  525.  
  526.                 F8   Fills  the  remainder of the currently displayed sector
  527.                      with the value of the byte at the current position.
  528.  
  529.                 F9   Reads the next sector of the current track; if the last
  530.                      sector has just been read,  "wraps" back to  the  first
  531.                      sector on the track.
  532.  
  533.                 F10  Changes   the   display   mode   and  data  entry  from
  534.                      hexadecimal to ASCII or  vice-versa.    When  in  ASCII
  535.                      entry mode,  all printable characters (value of a space
  536.                      or above) can be entered.
  537.  
  538.  
  539.  
  540.                                         Page 7
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.                 Shift-F2   Performs a "diagnostic read"  of  the  track.    A
  548.                      diagnostic  read involves reading the data field of the
  549.                      first sector and continues with all fields  until  8192
  550.                      bytes have been read.    ID fields,  gap bytes and CRCs
  551.                      are read indiscriminately; no attempt to re-synchronize
  552.                      the data separator is made after the first  sector  has
  553.                      been  read.    This function allows viewing of raw data
  554.                      and may be used to determine the value of a data  field
  555.                      whose address ID field has been corrupted.
  556.  
  557.                 Shift-F3   Performs  a  read  of  every sector on the current
  558.                      track and side; the data is accumulated.   The track is
  559.                      then  re-formatted and the data rewritten to the track.
  560.                      Before the formatting occurs,  you will be asked to ap-
  561.                      prove the formatting - if ESCape is pressed, the opera-
  562.                      tion will not be performed.   This function may be used
  563.                      to transfer just one track from one diskette to another
  564.                      by swapping the source and destination after the prompt
  565.                      appears, but before a response is given.
  566.  
  567.                 Shift-F9   Reads the previous sector on the track; if already
  568.                      at the beginning of the track, "wraps" to the last sec-
  569.                      tor on the track.
  570.  
  571.                 Shift-F10  Reads the next side; equivalent to exiting back to
  572.                      the main display and advancing to the next side.
  573.  
  574.                 ESCape - Backs up to the previous display.
  575.  
  576.            In case of sector data errors,  ANADISK will attempt  to  present
  577.            all  data  recoverable from the diskette.   Some of the functions
  578.            just described are intended to assist in recovering data that has
  579.            become corrupted.   The Shift Right,  Left and NOT functions  are
  580.            especially useful in this respect.
  581.  
  582.            If a sector shows up as "missing" or "added" on the track map, it
  583.            cannot  be  read,  nor  will  it  be  written.    If  any data is
  584.            recoverable when a sector is read however,  the sector can be re-
  585.            written and the error condition generally will disappear.
  586.  
  587.  
  588.            FILE EDIT Operation
  589.  
  590.            FILE  Edit  mode is similar to the SECTOR Edit mode of operation,
  591.            with the exception that DOS file structure is used as  the  basis
  592.            for organizing information, rather than the physical organization
  593.            of sectors on the diskette.
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.                                         Page 8
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.            The  opening  display  for FILE Edit mode presents a list of file
  608.            names contained in the root directory of the diskette.   The cur-
  609.            sor  up-  and  down-arrow  keys are used to select the file to be
  610.            edited;  the file name display may be "paged"  by  means  of  the
  611.            Page Up (PgUp) or Page Down (PgDn) cursor keys.
  612.  
  613.            To  examine the files in a particular subdirectory,  position the
  614.            cursor bar to the subdirectory name and press ENTER.   To go back
  615.            to  the parent directory of a subdirectory,  position to the ".."
  616.            entry and press ENTER.   To begin editing a file, position to the
  617.            file name and press ENTER.
  618.  
  619.            The editing display is almost identical to  that  of  the  SECTOR
  620.            Edit mode, with the following exceptions:
  621.  
  622.                 F9    Reads the next sector in the file, rather than the next
  623.                      sector on the track.
  624.  
  625.                 Shift-F9   Reads the previous sector in the file, rather than
  626.                      the previous sector on the track.
  627.  
  628.                 Shift-F10  Does not operate in this mode.
  629.  
  630.            Note that the file name and offset from the beginning of the file
  631.            appear in the editing menu window, along with a "SAVE" indication
  632.            if data has been altered.
  633.  
  634.  
  635.            REPAIR Operation
  636.  
  637.            REPAIR mode can be considered to be two functions.   The first is
  638.            a rudimentary DOS diskette check and verify mode; the second is a
  639.            bad sector remapping mode.  The bad sector  remapping  operations
  640.            should be viewed as a "last resort" type of repair as the overall
  641.            structure of the diskette is affected.
  642.  
  643.            REPAIR mode performs the following tasks:
  644.  
  645.                 1.   Checks  for  the presence and agreement of two File Al-
  646.                      location tables on the diskette.   If a disagreement is
  647.                      found,  or  one table is absent,  a new copy of the FAT
  648.                      may optionally be rewritten to the diskette.
  649.  
  650.                 2.   Scans the entire diskette for unreadable data.   If any
  651.                      is found,  the file containing the bad data is located,
  652.                      the cluster (a grouping of sectors used  by  DOS  as  a
  653.                      "unit"  of diskette space) is reassigned to a different
  654.                      area of the diskette and the data (or as  much  of  the
  655.                      data that can be read) is written to the newly assigned
  656.                      cluster.    The original cluster containing the data is
  657.                      marked as unavailable for future allocation.
  658.  
  659.  
  660.                                         Page 9
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.            The object of REPAIR mode is to produce a readable DOS  diskette.
  668.            Missing  data  or  data in error still must be corrected manually
  669.            but the structure and size of files will be  correct.    The  DOS
  670.            utility  CHKDSK  can   be useful when checking the structural in-
  671.            tegrity of a diskette and should be used after  REPAIR  mode  has
  672.            been run for a "second opinion".
  673.  
  674.  
  675.            COPY Operation
  676.  
  677.            COPY  mode  allows  the  contents of one diskette to be copied to
  678.            another,  regardless of format or DOS orientation.    While  COPY
  679.            mode  will  successfully  produce copies of many "copy protected"
  680.            diskettes,  the intent of its function is to enable one to copy a
  681.            diskette which is not copyable using the DOS DISKCOPY function.
  682.  
  683.            A two-drive machine is not necessary for this function;  that is,
  684.            the source and target drives may be the same unit.  If one of the
  685.            drives is a high-capacity (PC-AT type) drive and normal 40  track
  686.            diskettes  are  being  copied,  the high-capacity drive should be
  687.            designated as the source drive and the normal-capacity  drive  as
  688.            the destination to ensure an accurate, readable copy.
  689.  
  690.            The  COPY  sub-menu requests specification of the source and des-
  691.            tination drives.   When ENTER is depressed,  the  COPY  operation
  692.            begins by reading the source diskette.
  693.  
  694.            If  the  type  of the source drive and diskette is not compatible
  695.            with the type of the destination drive,  an error message will be
  696.            issued  and  ANADISK will exit COPY mode.   For instance,  a 1.2M
  697.            byte high-density diskette in  a  high-density  drive  cannot  be
  698.            copied to a 360K byte normal-density drive.
  699.  
  700.            A scan of the diskette is performed as the copy proceeds;  errors
  701.            are noted in exactly the same manner and format as  in  the  SCAN
  702.            mode.    Sectors  containing  data errors are copied with the er-
  703.            roneous data written as read.   Each track is read back after  it
  704.            is written for verification.   The copy process completes when no
  705.            more data can be found on the source diskette.
  706.  
  707.            If the destination and source drives have been selected to be the
  708.            same unit,  ANADISK will  prompt  for  disk  changes  as  needed.
  709.            ANADISK  attempts to read as much data as is possible into memory
  710.            from the source diskette before writing to the  destination  dis-
  711.            kette.   With a 640K system under DOS 3.3,  about 46 double-sided
  712.            tracks can be copied before a disk change is necessary.
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.                                         Page 10
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.            Accessing External Drives
  729.  
  730.            In its normal operating mode,  ANADISK  uses  BIOS  interrupt  11
  731.            (hex)  to determine the number of diskette drives attached to the
  732.            computer.   The ROM BIOS gets this information from  the  mother-
  733.            board DIP switches (on PC's and XT's), or from the CMOS RAM writ-
  734.            ten  by  the  SETUP  program (on AT's).   If a drive has been in-
  735.            stalled which is not  indicated  by  either  of  these  settings,
  736.            ANADISK  will  need to be told about the total number of diskette
  737.            drives that are actually installed.   This is done by  specifying
  738.            the number of drives on the ANADISK command line.  For example,
  739.  
  740.                           ANADISK 4
  741.  
  742.            indicates a four-drive system is present.   ANADISK will refer to
  743.            these drives as 0:, 1:, 2: and 3:.
  744.  
  745.  
  746.            Notes on Media Types
  747.  
  748.            ANADISK contains code to recognize single  density  (FM  encoded)
  749.            diskettes if the host diskette controller supports that facility.
  750.            The  notation "FM",  rather than "MFM" will appear in the GENERAL
  751.            INFORMATION window.  All operations (read,  write and format) are
  752.            supported.
  753.  
  754.            Additional  code has been incorporated in Version 1.31 to provide
  755.            support for ATARI ST 3.5" diskettes.   Strictly  speaking,  these
  756.            are  not  DOS diskettes,  but their structure is close enough for
  757.            them to be treated as such.
  758.  
  759.            High-density modes (1.2Mbyte 5.25" and 1.44Mbyte 3.5")  are  sup-
  760.            ported only on AT-class computers and Personal System/2 models 50
  761.            and above.
  762.  
  763.  
  764.            IN CONCLUSION
  765.  
  766.            ANADISK  turned  out  to  be  more popular than we had originally
  767.            thought.   We are currently planning a  major  new  release  (due
  768.            about 6/88) of ANADISK which completely re-organizes the function
  769.            and layout and implements the following goodies:
  770.  
  771.                 * Design your own diskette format.
  772.  
  773.                 * Save or load data from disk.
  774.  
  775.            And  a lot more!   If you've registered prior to the new release,
  776.            you'll automatically receive an update.
  777.  
  778.            THE SYDEX PRODUCT LINE
  779.  
  780.                                         Page 11
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.                 SHAREWARE
  790.  
  791.                 22DISK - Transfer files, format,  examine and erase files on
  792.                 "foreign"  CP/M  diskettes  on  your  PC.    ASCII  diskette
  793.                 description file allows "roll your own"  specifications  for
  794.                 really hard-to-find systems.  Includes tips on supporting 8"
  795.                 and  5.25"  single-density diskettes.   Bundled with 22NICE.
  796.                 $15.00 Shareware registration fee.
  797.  
  798.                 22NICE - A CP/M 2.2 emulation package.    Supports  the  NEC
  799.                 V-series  chips  or  performs emulation by software for both
  800.                 the 8080 and Z80 processors.   Includes  terminal  emulation
  801.                 and   diskette   handling  for  Osborne,   Kaypro,   Morrow,
  802.                 Heath/Zenith and Actrix.   Allows use of CP/M utilities  in-
  803.                 terchangeably with DOS programs.   Includes 22DISK.   $30.00
  804.                 Shareware registration fee.
  805.  
  806.                 TELEDISK - Turn any diskette into a compressed data file and
  807.                 vice-versa.  Allows you to send and receive entire diskettes
  808.                 via modem.   Great for those bootable game diskettes and for
  809.                 diskettes  with  subdirectories.   Works  with  most  "copy-
  810.                 protected" diskettes.  $20.00 Shareware registration fee.
  811.  
  812.                 COPYQM - Cheap diskette duplicator.  Format, copy and verify
  813.                 multiple diskettes from a single master.  Implements "smart"
  814.                 drive status determination,  freeing  the  operator's  hands
  815.                 from keyboard interaction.  Handles all standard DOS formats
  816.                 including  3.5" 1.44M files.   $15.00 Shareware registration
  817.                 fee.
  818.  
  819.                 FORMATQM - Mass diskette formatter - format a  box  of  dis-
  820.                 kettes at a single sitting.  Implements "smart" drive status
  821.                 determination,  freeing  the  operator's hands from keyboard
  822.                 interaction.   Format a 360K diskette in 41 seconds.    Sup-
  823.                 ports all standard DOS formats.   $15.00 Shareware registra-
  824.                 tion fee.
  825.  
  826.                 RETAIL SOFTWARE
  827.  
  828.                 SIMCGA 4.3 - Color Graphics Adapter simulation on monochrome
  829.                 (Hercules-compatible) graphics-equipped machines.  Available
  830.                 from better software retailers and distributed by CSS,  ABCO
  831.                 and American Software Distributors.
  832.  
  833.                 SIM-EMS  -  A  "must"  for AT users -- emulates Lotus/Intel/
  834.                 Microsoft Expanded  memory  using  your  machine's  extended
  835.                 memory.   Allows sharing with VDISK and has extremely simple
  836.                 installation.
  837.  
  838.  
  839.  
  840.                                         Page 12
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.            Some  of  the  terms  used  in  this  document  are   proprietary
  851.            trademarks of one or more of the following:
  852.  
  853.                 International  Business Machines - IBM,  PS/2,  Personal
  854.                 System/2, PC AT.  Microsoft - MS-DOS
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.                                         Page 13
  901.