            +===================================================+
            |                                                   |
            |                                                   |
            |                  D  I  S  K  O  P                 |
            |                                                   |
            |                Hard Drive Optimzier               |
            |                                                   |
            |                      01.00.00                     |
            |            For TRSDOS 6.x and LSDOS 6.3           |
            |               Models 4/4P/4D version              |
            |                  February 20 1988                 |
            |                                                   |
            |                  Michael J. Bailey                |
            |           SAN DIEGO METRO MULTI-LINE TBBS         |
            |                   (619) 582-5656                  |
            |                                                   |
            |              Members-Only Adult System            |
            |          FREE TANDY SPECIAL INTEREST GROUP        |
            |                                                   |
            |                                                   |
            +===================================================+


WHAT IS DISKOP ?

DISKOP is a hard drive utility that will optimizes your hard disk and prolong
its life for years to come.   DISKOP can optimize any LDOS, TRSDOS, or LS-DOS
formatted hard drive you have connected to your system.


DISKOP REQUIREMENTS

Model 4/4D/4P equipped with  64K RAM and a hard disk unit (5 Meg to 99 Meg).
DISKOP has been tested with various  Hard Disk Systems under both TRSDOS and
LS-DOS operating systems.  DISKOP/CMD may only be used under TRSDOS or LSDOS
operating systems, but it will optimize the following disk formats:

                                 LDOS 5.1 
                                 LDOS 5.3 
                               TRSDOS 6.2 
                                LSDOS 6.3 

Hard  drives  FORMATTED  under other  operating  system enviornments (other
than LDOS, TRSDOS, or LS-DOS)  may  cause  unpredictable results.


WHY OPTIMIZE YOUR HARD DISK ?

Hard Disk Optimization is important!  Optimizing your hard disk increases the
overall effeciency of the hard disk by allowing  faster file access and fewer
read/write head movements.  This means  less wear and tear on the hard drive.


WHAT IS DISK OPTIMIZATION ?

Disk Optimization means simply  to re-organize and  re-structure the data on
the disk so that files and programs are contiguous.   DISKOP moves data from
the disk and organizes it into "packages" before  writing it back out to the
media.  Optimizing  arranges  scattered  files on the disk into a contiguous
block.  The final stage of optimization  packs the files tightly together on
the disk closest to the cylinder where the directory is located.

The directory  is  an area on the  disk  where the  operating system  stores
information about the disk and the files contained on it. Thus, optimization
effectively  re-structures  data so that it is  both  contiguous  and easily
accessable to the read/write head(s).   Hard disk optimization has been used
for years on PC-MSDOS machines where large drives and partitions are common.


PRACTICAL EXAMPLES

Figure #1 is a hard disk partition BEFORE using DISKOP.  Notice how files and
programs are fragmented and spread over the platter surface.

Figure #2 is the same hard disk partitioin AFTER using DISKOP.   DISKOP moves
the data and rearranges it in a continuous stream  on the disk closest to the
cylinder where the directory is located.  File fragmentation is eliminated by
packing, or clustering the data. This also reduces the number of file extents
because the data is no longer randomly allocated over the surface.


Figure 1.   Free Space Map BEFORE using DISKOP:

Drive :3  MAIL      09/22/87   Free Space = 1748.00K/ 2448.00K  Files = 167/256
-------------------------------------------------------------------------------
  0-  7 x...     xxxx     xx..     ..x.     x..x     ....     x.x.     .xxx    
  8- 15 xxxx     xxx.     ....     ..xx     ....     ...x     x.xx     xxxx    
 16- 23 xxxx     xxxx     xxxx     xxxx     xxx.     ....     x.x.     .x.x    
 24- 31 xxx.     ....     ....     ....     xxxx     xxxx     xxx.     .x..    
 32- 39 ....     ....     ...x     xxx.     ....     ....     ..xx     xx..    
 40- 47 xxx.     ....     .xxx     xxx.     ....     .xxx     ...x     xxxx    
 48- 55 xxxx     xx..     ..x.     ....     ....     x...     ....     ..x.    
 56- 63 ....     xxx.     ....     ....     ....     x...     ....     ..x.    
 64- 71 ..x.     ..xx     ....     ....     ....     ....     ....     x...    
 72- 79 xx..     ..x.     ....     x...     DDDD     .xxx     xx..     ....    
 80- 87 ....     ....     ....     ....     ....     ....     ..xx     x...    
 88- 95 ....     ...x     ..x.     ....     ..xx     xx..     ....     ....    
 96-103 ..x.     x...     ....     ....     ....     ....     ....     ....    
104-111 ....     ....     ....     ....     ...x     ..xx     xx..     ....    
112-119 ....     ....     ....     ..x.     ....     xxxx     ....     ....    
120-127 ....     ....     .xx.     ....     ....     ....     ....     ....    
128-135 x...     ....     ...x     xxxx     xx..     ....     ....     ....    
136-143 ..xx     xxx.     ....     .xxx     xx.x     x...     ....     .xxx    
144-151 .xxx     ....     ....     ....     ....     ....     ....     ....    
152     ....                                                                   
-------------------------------------------------------------------------------
Type =>  5" Hard      Heads = 1   Density = RIGID    Note - 1 Position =  4.00K


Figure 2.  Free Space Map AFTER using DISKOP:

Drive :3  MAIL      09/22/87   Free Space = 1748.00K/ 2448.00K  Files = 167/256
-------------------------------------------------------------------------------
  0-  7 x...     xxxx     ....     ....     ....     ....     ....     ....    
  8- 15 ....     ....     ....     ....     ....     ....     ....     ....    
 16- 23 ....     ....     ....     ....     ....     ....     ....     ....    
 24- 31 ....     ....     ....     ....     ....     ....     ....     ....    
 32- 39 ....     ....     ....     ....     ....     ....     ....     ....    
 40- 47 ....     ....     ....     ....     ....     ....     ....     ....    
 48- 55 ....     ....     ....     ....     ....     ....     ....     ....    
 56- 63 ....     ....     ....     ....     ....     xxxx     xxxx     xxxx    
 64- 71 xxxx     xxxx     xxxx     xxxx     xxxx     xxxx     xxxx     xxxx    
 72- 79 xxxx     xxxx     xxxx     xxxx     DDDD     xxxx     xxxx     xxxx    
 80- 87 xxxx     xxxx     xxxx     xxxx     xxxx     xxxx     xxxx     xxxx    
 88- 95 xxxx     xxxx     xxxx     xxxx     xxxx     xxxx     xxxx     xxxx    
 96-103 xxxx     xxxx     xxxx     xxx.     ....     ....     ....     ....    
104-111 ....     ....     ....     ....     ....     ....     ....     ....    
112-119 ....     ....     ....     ....     ....     ....     ....     ....    
120-127 ....     ....     ....     ....     ....     ....     ....     ....    
128-135 ....     ....     ....     ....     ....     ....     ....     ....    
136-143 ....     ....     ....     ....     ....     ....     ....     ....    
144-151 ....     ....     ....     ....     ....     ....     ....     ....    
152     ....                                                                   
-------------------------------------------------------------------------------
Type =>  5" Hard      Heads = 1   Density = RIGID    Note - 1 Position =  4.00K


HOW LONG DOES OPTIMIZATION TAKE?

DISKOP will optimize any drive or disk partition in about  twice the amount
of time it takes to back up that disk partition onto another partition.  It
varies  according to the  size and amount of data stored on the disk drive.
DISKOP uses the fastest convention possible to optimize disks. Programs and
data are moved at the rate of 6,000-bytes per second.



HOW DO I USE DISKOP ?

Using DISKOP is a snap!  From DOS ready, type DISKOP and press enter, thats
all there is to it!  After loading DISKOP, you will see the following menu:


DISKOP - Hard Disk Optimizer - version 01.00.00 - For TRSDOS 6.2 or LSDOS 6.3
Copyright 1988 by Michael Bailey.  All Rights Reserved.
=============================================================================

CAUTION!  Read program documentation before using DISKOP!  Use on TRSDOS 6.2,
          LSDOS 6.3, or LDOS 5.x formatted disks only.

Enter drive number
Or press BREAK to exit :_



You need only supply the drive number to optimize.  After entering a number
DISKOP will display some information about the current system configuration
(disk type, cylinders, size, etc.)  and number of files on the target disk:

---------------------------------------------------------------------------

Computer Type:  TRS-80 Model #                     Disk Size:  ##,###,###
DOS version  :  DOS #.#                       Formatted Size:  ##,###,###
Disk Hardware:  ##############
Cylinders    :  ###
Directory    :  ###
DOS Formatted:  DOS #.#
---------------------------------------------------------------------------
Diskname:               Diskdate:                           Logical Drive #
======================  ================================    ===============
Active Files:   ######  Total Active bytes:   ##,###,###                   

Note:  SYSTEM files and Password Protected files with a protection level of
      "NO" are excluded from disk statistics above and cannot be optimized.

      *** Press ENTER when ready to proceed or press BREAK to exit ***    
--------------------------------------------------------------------------

This is the last point at which you may  stop  the program and exit to DOS.
Pressing ENTER will cause the program to begin optimizing the drive or disk
partition selected. In the event that power is  interrupted  or  some other
system failure occurs, refer to the file marked DSKOPLOG/DAT which contains
information necessary to manually restore files on the disk.   This file is
created immediately before optimization begins.

                                                                           
                        CAUTION!  CAUTION!  CAUTION!
                                                                           
***************************************************************************
IMPORTANT NOTE:  You should <NEVER> stop the optimization procedure for any
reason once DISKOP has began optimizing.  NEVER turn off the computer, disk
drive, or reset the system while  DISKOP  is working on the disk!  Doing so
will cause certain data loss and, possibly, irreversible damage to files!  
***************************************************************************
                                                                           
                                                                           
IMPORTANT STEPS BEFORE OPTIMIZING:

01.  Check the drive/partition that will be optimized and find the largest
     file on that disk.  Write down the file size number.  Usually this is
     in the 6th column of a DIRectory read. The number is usually followed
     with a K  (ie:  128.00K )

02.  Type in FREE and press ENTER.  Compare the number you wrote down with
     the amount of free space available on that disk.  You cannot optimize
     the disk if the largest file on that disk exceeds  the amount of free
     space available.  DISKOP will not check this, so it is important that
     YOU determine this.   DO NOT ATTEMPT TO OPTIMIZE THE DISK IF THE FILE
     EXCEEDS THE AVAILABLE FREE SPACE ON THAT DISK! (Example: Largest File
     on drive 1 is : 100 K  - You will need at least 100K of free space on
     drive 1 in order to optimize it.)

03.  BACK UP THE HARD DISK! Before using DISKOP the first time, you should
     make a complete backup of all files on the drive you intend to use it
     on.  This will ensure that if anything goes wrong you will be able to
     recover all files.  This is only common sense!


NOTES ABOUT DISKOP:

While DISKOP version 01.00.00 is an extremely effecient utility, it does  
have it's limitations.  You may use the optimizer on any size hard drive  
and with virtually every possibly configuration as long as the following  
criteria is maintained:
 
                    1.  There must be as much free space on the disk as 
                        the largest file dictates.

                    2.  DISKOP will not optimize SYSTEM files or protected
                        files with a protection level of "NO". DISKOP will
                        optimize files with protection levels 1 through 6.

                    3.  DISKOP considers all files with an extension  /SYS
                        to be a system file, not just those which have the
                        system-bit flag set.


OPTIMIZING SYSTEM DISKS

DISKOP was designed to be used on hard disks which are  configured as DATA
DISKS. DISKOP, however, will optimize SYSTEM disks. This version of DISKOP
will not optimize the /SYS files that are  located on all system disks and
it is recommended that you manually organize the system files. The program
DSKSYS/CMD  will perform this operation for you.   Optimizing  the  SYSTEM
drive will increase its speed and effeciency dramatically, sometimes by as
much as 50%!  DSKSYS/CMD will create a /JCL file that will do this for you
automatically.   System disk optimization is  probably more important than
than data disk optimization because  the system disk is accessed much more
frequently.


FINAL COMMENTS

You now have the knowledge necessary to use DISKOP intelligently.   If you
have any additional questions or comments please don't hesitate to drop me
a line. I will help you out as best I can.  I  will  continue  to  develop
and improve DISKOP regardless of what support, if any, is received. If you
have any questions or comments about this program, I can be reached at the
following:

              My home address (see below)
              San Diego Metro MLTBBS       (619) 582-5656
              Mike Stark's 8-bit Tandy BBS (619) 571-5645
              TBBS Island in Denver Co     (303) 690-9423
              Through your favorite BBS    FidoNet 10/210


DISCLAIMER

THE AUTHOR DOES NOT WARRANT THIS PRODUCT TO BE FREE FROM DEFECTS OR ERRORS
AND ALTHOUGH DISKOP HAS BEEN  EXTENSIVELY  TESTED THE AUTHOR CANNOT ACCEPT
LIABILITY FOR THE USE OF THIS PROGRAM AND ANY CONSEQUENCES  RESULTING FROM
THE MISUSE OF THIS PROGRAM.                                               


******************************** SHAREWARE *******************************
DISKOP is being distributed as Shareware.  Supporting Shareware means that
you will see more software produced and distributed to YOU  - the computer
user. So SUPPORT the shareware concept whenever possible. Thanks for using
DISKOP.

Send $5.00 Registration fee to:

                           MICHAEL BAILEY
                           620 11TH ST.
                           RAMONA, CA 92065

Cash, Check, or Money Order...  You will recieve a diskette containing the
most recent version of  DISKOP  along with documentation. You will be kept
informed of all changes and modifications.   Registered users will receive
FREE upgrades as they are released.
**************************************************************************


...............................................................................
:                                                                             :
:                             DISKOP REGISTRATION FORM                        :
:                                                                             :
:  Send Registration To:      MIKE BAILEY                                     :
:                             620 11TH ST                                     :
:                             RAMONA, CA 92065                                :
:                                                                             :
:                                                                             :
:FULL NAME:_____________________________________________________              :
:                                                                             :
:STREET ADDRESS:________________________________________________              :
:                                                                             :
:CITY, STATE:___________________________________________________              :
:                                                                             :
:ZIP CODE: _____________________________________________________              :
:                                                                             :
:                                * Check ONE below: *                         :
:                                                                             :
:____ENCLOSED IS $5.00 - Please rush me DISKOP on diskette with documentation :
:                        and technical manual, and keep me informed about the :
:                        future development of DISKOP.                        :
:                                                                             :
:____ENCLOSED IS $1.00 - Please keep me informed about the future development :
:                        of DISKOP.                                           :
:                                                                             :
:I DOWNLOADED DISKOP FROM (BBS NAME):_________________________________________:
:                                                                             :
:COMMENTS: ___________________________________________________________________:
:                                                                             :
:          ___________________________________________________________________:
:                                                                             :
:          ___________________________________________________________________:
:                                                                             :
:Fill out form and mail to address above. Please allow 7-14 days for delivery :
:.............................................................................:
