home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / amos315.zip / AMOS3.DOC next >
Text File  |  1994-11-28  |  19KB  |  444 lines

  1.  
  2.                AA      MM       MM    OOOO      SSSS
  3.               AAAA     MMMM   MMMM   OO  OO    SS  SS
  4.             AA    AA   MM MMMMM MM  OO    OO  SS    SS
  5.             AA    AA   MM  MMM  MM  OO    OO  SS
  6.             AA    AA   MM   M   MM  OO    OO   SSS
  7.             AAAAAAAA   MM   M   MM  OO    OO      SSS
  8.             AA    AA   MM       MM  OO    OO  SS    SS
  9.             AA    AA   MM       MM   OO  OO    SS  SS
  10.             AA    AA   MM       MM    OOOO      SSSS       v3.15
  11.  
  12.  
  13. Copenhagen, Denmark, 29. Nov. 1994
  14.  
  15.  
  16.  
  17.  ■ What is AMOS v3
  18. ┌─────────────────···
  19. │  AMOS v3 is the second generation of programs designed for accessing HPFS
  20. ·  drives from native DOS.
  21. ·
  22. ·  This generation discards the command-line interface known from AMOS v1.x,
  23.    and enters the world of TSR device drivers.
  24.  
  25.    AMOS v3 is capable of seamlessly mounting HPFS partitions from native
  26.    DOS, making them accessible from within all ordinary DOS and Windows
  27.    programs.  Files with long filenames are visible as well, using a
  28.    truncated version of the name.
  29.  
  30.    The current version of AMOS v3 is READ ONLY.  That is, this version of
  31.    AMOS v3 cannot write to your HPFS drives from DOS.  I am currently
  32.    developing a read/write version of the program.
  33.  
  34.  
  35.  ■ Disclaimer and legal matters
  36. ┌──────────────────────────────···
  37. │   The AMOS software and documentation is subject to the following licensing
  38. ·   terms and conditions.
  39. ·
  40. · * AMOS v3 is supplied as is. The author disclaims all warranties,
  41.     expressed or implied, including, without limitation, the warranties
  42.     of merchantability and of fitness for any purpose. The author
  43.     assumes no liability for damages, direct or consequential, which may
  44.     result from the use of the AMOS software.
  45.  
  46.   * AMOS v3 is distributed as a "shareware program" and is provided at
  47.     no charge to the user for evaluation for a period not extending 30
  48.     days, after which You are required to register. Feel free to share
  49.     it with your friends, but please do not give it away altered or as
  50.     part of another system. The essence of "user-supported" software is
  51.     to provide personal computer users with quality software without
  52.     high prices, and yet to provide incentive for programmers to
  53.     continue to develop new products.
  54.  
  55.   * The distribution archive is to be considered an evaluation copy only.
  56.     If you continue to use AMOS v3 after a trial period of 30 days, please
  57.     register.
  58.  
  59.   * The AMOS v3 distribution package, all programs, the documentation
  60.     and support files are copyrighted 1993-94 by Allan Mertner. All
  61.     rights are reserved. You may copy this package for backup purposes.
  62.     You may also copy and share unmodified copies of the whole
  63.     distribution package, providing that the copyright notice is
  64.     reproduced and included on all copies.
  65.  
  66.   * You may not sell the product for a fee and/or distribute the product
  67.     along with other products without written permission, nor may you
  68.     modify or remove the Copyright Notices from the programs or the
  69.     documentation files. User clubs, if they are NOT commercial, are
  70.     allowed to ask a small amount of money for distribution and storage
  71.     when they want to share this package amongst their members.
  72.  
  73.   * It is expressively forbidden to modify, adapt, translate, reverse
  74.     engineer, decompile and/or disassemble the software in the AMOS v3
  75.     package. Patching the medium at places that carry the software is
  76.     seen as a program change and is also forbidden.
  77.  
  78.   * The registered software is licensed to run in conjunction with one
  79.     user and one PC only.
  80.  
  81.   * Commercial installations are required to pay the commercial registration
  82.     fee for AMOS v3 for every workstation on which it should run.
  83.     Please refer to Register.Doc.
  84.  
  85.  
  86.  ■ Benefits of registering AMOS v3
  87. ┌─────────────────────────────────···
  88. │  The unregistered version of AMOS v3 is identical to the registered version,
  89. ·  except for the message displayed in the unregistered version when the
  90. ·  program is loaded.
  91. ·
  92.    Please remember, that you are allowed to use the unregistered version for
  93.    a trial period of 30 days ONLY.
  94.  
  95.    By registering, you will keep the Author happy, and more AMOS products
  96.    will see the light of day.  AMOS v3 is NOT crippleware, and releasing it
  97.    this way is an experiment to see, whether you will pay for fully
  98.    functional shareware.  Lots of people complained that they would never
  99.    register CrippleWare, such as AMOS v1.x.
  100.  
  101.  
  102.  ■ Getting AMOS v3 up and running
  103. ┌────────────────────────────────···
  104. │  I recommend that you create a directory on an available FAT drive ( even
  105. ·  a floppy disk will do ), and unpack the AMOS v3 distribution archive in
  106. ·  this directory.  For simplicity's sake, I will assume that you have placed
  107. ·  all AMOS v3 files in C:\AMOS3, and that C: is a FAT drive.
  108.  
  109.    Go to the C:\AMOS3 directory, and try to start AMOS v3 by typing
  110.  
  111.    AMOS3 [Enter]
  112.  
  113.    at the DOS prompt.  Do not try to start AMOS3 from within Windows or
  114.    in an OS/2 Dos-box; this will not work.  If you want access to your
  115.    HPFS drives from within Windows, load AMOS3 before starting Windows.
  116.  
  117.    If you want to use AMOS v3 to access your HPFS drives from within an
  118.    OS/2 DOS box, you must load a "Virtual Dos Machine (VDM)" using a
  119.    DOS boot disk or an image of one.
  120.  
  121.    AMOS3 then scans all local hard disk drives, and mounts all HPFS partitions
  122.    found.  When the scanning is complete, AMOS v3 writes a message to
  123.    the screen, stating the number and size of partitions found, as well as
  124.    the drive letters assigned to the partitions.  If you do not want AMOS
  125.    to mount all of your HPFS partitions, use the -p command line option
  126.    described below.
  127.  
  128.    That is it!  You can now read all of your data and program files the way
  129.    you can from within an OS/2 DOS box.  You can even play DOOM from DOS,
  130.    with DOOM on an HPFS drive!  You cannot save, though :-)
  131.  
  132.    A very useful application of AMOS v3 is virus-scanning.  Your DOS virus
  133.    scanner can now access *all* files on HPFS drives, including the ones
  134.    with long file names, and the ones that are "locked" by OS/2.  On top of
  135.    this, the virus scanning can be performed with no risk of infecting the
  136.    files being scanned.
  137.  
  138.    When you have finished accessing your HPFS drives, you can unload AMOS v3
  139.    from memory by invoking it again; AMOS v3 will then free all resources
  140.    occupied by the program, thus saving you a reboot.
  141.  
  142.  
  143.  ■ AMOS v3 and long filenames
  144. ┌────────────────────────────···
  145. │  HPFS supports long filenames - files with names not conforming to the
  146. ·  8.3 naming convention dictated by DOS.
  147. ·
  148. ·  Using AMOS v3, you can still access and read these files.  When a file
  149.    or directory with a long filename is encountered, AMOS v3 truncates the
  150.    name part of the filename, and generates a random extension based on the
  151.    full HPFS filename.  Examples of the conversion could be:
  152.  
  153.  
  154.    HPFS Filename       AMOS v3 truncated 8.3 filename
  155.  
  156.    Dos Programs        DOS_PROG.0FN
  157.    Information         INFORMAT.XGL
  158.    OS/2 System         OS!2_SYS.ZAE
  159.  
  160.    The converted long filenames may look a little weird, but retain their
  161.    names even if moved across drives and directories.  There is a slight
  162.    chance that file names may occur more than once in a directory.  If
  163.    this is a problem, try disabling the long filenames using the -i
  164.    switch.
  165.  
  166.    Filenames with nothing before the first . (As in ".login") are given a
  167.    first name of BLANK, and a longname extension (Making them utterly
  168.    impossible to recognise :)  (".login" could be "BLANK.HYQ").
  169.  
  170.    Characters being used in the extension includes A-Z, 0-9, $, !, % and #.
  171.  
  172.  
  173.  ■ AMOS v3 options
  174. ┌─────────────────···
  175. │  AMOS v3 supports the following options when invoked from the command line:
  176. ·
  177. ·  -c<0,1>       Defines whether or not AMOS should use its XMS cache.
  178. ·                If you specify 0 as the number, caching is disabled; if
  179.                  you specify 1, AMOS allocates 64kB of cache per HPFS
  180.                  partition on your system, regardless of the number of
  181.                  partitions you mount.
  182.  
  183.                  To make use of the cache, you need to have HIMEM.SYS loaded
  184.                  in your CONFIG.SYS.  If not, AMOS will run without cache.
  185.  
  186.                  The default is -c1, making AMOS utilize its cache.
  187.  
  188.  
  189.    -f<0,1,2>     Defines the way AMOS v3 reports free space on the partitions
  190.                  mounted.
  191.  
  192.                  -f0   Disables scanning, and just reports 0 bytes free.
  193.  
  194.                  -f1   Scans the drives the first time DOS asks for available
  195.                        space on the disk.  This makes the first DIR command
  196.                        take a bit longer than usual.
  197.  
  198.                  -f2   Scans all drives when AMOS v3 is first loaded.  Makes
  199.                        the startup a bit longer, but avoids slowdowns later.
  200.  
  201.                  The default is -f1.
  202.  
  203.  
  204.    -i            Ignore long filenames, reporting only files with normal
  205.                  style 8.3 names.
  206.  
  207.  
  208.    -p<a,b,c...>  Tells AMOS to mount only HPFS partitions a,b,c, etc.  Use
  209.                  this switch, if you do not want AMOS v3 to mount all of
  210.                  your HPFS partitions.
  211.  
  212.                  If you have 3 partitions, of which partitions 2 and 3 are
  213.                  HPFS, AMOS v3 will normally mount partitions 2 and 3.
  214.  
  215.                  If AMOS v3 is started with "AMOS3 -p3", only partition 3
  216.                  is mounted; partition 2 is ignored.
  217.  
  218.  
  219.    -u            Unloads AMOS v3 from memory, if it was already loaded.  This
  220.                  might fail, if you have loaded other TSR's after loading
  221.                  AMOS, but should generally work.
  222.  
  223.                  If you invoke AMOS v3 a second time, AMOS v3 will unload
  224.                  itself from memory disregarding any switches you might
  225.                  specify.  Any switches specified in conjunction with -u
  226.                  are ignored.
  227.  
  228.  
  229.  ■ AMOS v3 memory requirements
  230. ┌──────────────────────────────···
  231. │  AMOS v3 occupies 42k of precious DOS memory, in addition to the
  232. ·  XMS cache memory being used.
  233. ·
  234. ·  AMOS v3 can of course be loaded high, using LOADHI from QEMM or some other
  235.    utility coming with DOS.  Please consult your DOS manual on this.
  236.  
  237.    Since 42kB is quite a lot of memory, AMOS v3 can be unloaded when you
  238.    are finished using it.  Simply invoke AMOS v3 a second time, and it
  239.    will remove itself from memory.
  240.  
  241.  
  242.  ■ AMOS v3 speed
  243. ┌───────────────···
  244. │  Comparing the performance of AMOS to that of HPFS drives under OS/2 can
  245. ·  never be a fair test.  AMOS is restricted by DOS, 16 bit, and available
  246. ·  memory.
  247. ·
  248.    Still, my benchmarks show that AMOS is about the same speed as OS/2 -
  249.    sometimes a bit sowed, and sometimes up to twice as fast as OS/2!
  250.    See the next section for the actual figures.
  251.  
  252.    If you would care to spend the time, I would like some benchmark figures
  253.    from YOUR configuration.  Run a couple of things under OS/2 as well as
  254.    under DOS using AMOS, and write me a letter with the figures.  I'd be
  255.    sooo pleased :-)
  256.  
  257.  
  258.  ■ AMOS v3 benchmark
  259. ┌───────────────────···
  260. │  The following benchmarks were performed on an OS/2 HPFS drive
  261. ·  containing lots of directories.  The drive is 260MB large, with about
  262. ·  2900 files on it.  AMOS v3 was started with the -i switch, to be able
  263. ·  to compare file counts with the numbers returned in an OS/2 DOS box.
  264.  
  265.    The tests:
  266.      A: SCAN F: /NOMEM.  The scanner used was McAfee SCAN v2.1.3.
  267.      B: SCAN F: /NOMEM /ALL.  Same scanner as (A), scanning ALL files.
  268.      C: TBAV F: using ThunderByte Antivirus v6.26
  269.      D: ARJ t F:\*.*.  Used ARJ v2.41, and tested two archives with a
  270.         total size of about 15MB.
  271.  
  272.    All of the tests are run on a Pentium/90 with a 540MB SCSI-disk.
  273.  
  274.    Time to complete / min │     A      B      C      D
  275.    ───────────────────────┼─────────────────────────────
  276.    OS/2 DOS, 1024k cache  │   0:28   1:08   0:35   0:38
  277.    AMOS v3, 64k cache     │   0:36   1:09   0:21   0:38
  278.    AMOS v3, no cache      │   0:56   1:34   0:36   0:39
  279.  
  280.    As can be seen from the table, AMOS v3 offers fast overall
  281.    performance, comparable with the one OS/2 delivers.  With less cache,
  282.    OS/2 performance drops drastically, and AMOS beats OS/2 more often
  283.    than not when the OS/2-cache is lower than 512kB.
  284.  
  285.    Also, it is not a catastrophe if you do not have XMS available for AMOS
  286.    cache - it just takes longer to access your data.
  287.  
  288.    NOTE: I have noticed large differences in speed on different hardware
  289.          platforms.  Comparing AMOS v3 performance on my brothers 486DX2/66
  290.          gives much better results than the ones show above.  On my
  291.          own 486DX2/66, AMOS performs worse than shown above.  Weird!
  292.  
  293.          It might have something to do with SCSI-disk access from DOS/OS2
  294.          sometimes being slow, and sometimes fast - depending on drivers.
  295.          If you have a good guess - MAIL ME! :-)
  296.  
  297.  
  298.  ■ Troubleshooting AMOS v3
  299. ┌─────────────────────────···
  300. │  * For optimum performance, make sure that the line
  301. ·      DEVICE=HIMEM.SYS
  302. ·    is present in our CONFIG.SYS.  If not, AMOS v3 cannot use its internal
  303. ·    XMS cache, and will run slower than normally.
  304.  
  305.    * Make sure that the LASTDRIVE variable in CONFIG.SYS is suitably large.
  306.      Setting it at too low a value may mean that some of your HPFS drives
  307.      are not mounted by AMOS v3.  If in doubt, insert the following line
  308.      in your CONFIG.SYS ( *not* AUTOEXEC.BAT ) :
  309.        LASTDRIVE=Z
  310.  
  311.    * AMOS v3 does not run in DOS versions before DOS 4.01.  If you are still
  312.      running DOS v2.x or 3.x, please upgrade before running AMOS.
  313.      AMOS v3 works the best using DOS 5.x and 6.x.
  314.      AMOS v3 does not work in an OS/2 or Windows NT DOS-box.
  315.      AMOS v3 does work in an OS/2 VDM, where you boot from a "real" dos
  316.      bootable disk.
  317.  
  318.    * Some conditions may cause AMOS v3 to run out of memory.  Lots of HPFS
  319.      partitions may cause this, as may very fragmented files.
  320.      Subdirectories with less than about 100.000 files should not be a
  321.      problem (I am talking 100.000 files in ONE single directory).  If
  322.      you have more files than that, please contact the author for a a
  323.      special version of AMOS v3.
  324.      If you do experience memory problems, try to run AMOS using the -p
  325.      switch, to make AMOS v3 load fewer partitions.
  326.      If the memory problem persists, you may have one or more very fragmented
  327.      files.  In this release, there is no other work-around than to defragment
  328.      the file by booting OS/2 and copying the file somewhere else, then
  329.      copy it back onto itself.
  330.  
  331.    * Very long paths may cause problems.  DOS only allows the full name of
  332.      file and directory to be a maximum of 80 characters long, whereas
  333.      HPFS allows a maximum length of 254 characters.
  334.      If a subdirectory is encountered, that may cause problems, AMOS v3
  335.      reports it as being a 0-byte file instead of a directory to avoid
  336.      problems.
  337.      This may cause a DIR /S command to yield different results under OS/2
  338.      and DOS.
  339.      The problem is prevalent if you run OS/2 Warp v3, using the "Archive
  340.      Desktop" option, since this causes very long paths to be created.
  341.  
  342.    * Large hard disks with more than 1024 cylinders cannot be read using
  343.      any standard method from DOS.  Partitions on your hard disk which
  344.      crosses this boundary can NOT be read using AMOS v3.
  345.  
  346.  
  347.  ■ The future of the AMOS product line
  348. ┌─────────────────────────────────────···
  349. │  It is my intention to expand the AMOS product line to the following:
  350. ·
  351. ·
  352. ·   AMOS read/write TSR
  353.     AMOS FAT to HPFS converter
  354.     AMOS HPFS to FAT converter
  355.     AMOS HPFS disk optimizer
  356.     AMOS HPFS format utility
  357.     AMOS HPFS CHKDSK utility
  358.  
  359.   When these tools are in place, even users without OS/2 can use and
  360.   access HPFS drives, and gain access the a file system that is not as
  361.   outdated as "good old FAT".
  362.  
  363.   The current version of AMOS v3 is written in Borland Pascal 7.  Future
  364.   development will probably see the AMOS products written mostly in
  365.   assembler, for speed and memory efficiency.
  366.  
  367.  ■ New versions of AMOS
  368. ┌──────────────────────···
  369. │  New versions of AMOS will be available on Rainbow BBS in Denmark, The
  370. ·  OS/2 Cellar BBS in Australia, and The Bus Stop in USA.  See numbers
  371. ·  in the registration files OZ.REG, US.REG and WORLD.REG.
  372. ·
  373.    Further, new AMOS versions will be uploaded to the OS2USER conference
  374.    on CompuServe, and be made available through the InterNet on the
  375.    ftp-site ftp-os2.nmsu.edu.
  376.  
  377.  
  378.  ■ AMOS registration and support information
  379. ┌───────────────────────────────────────────···
  380. │  The author of AMOS v3 is
  381. ·
  382. ·  Allan Mertner
  383. ·  Enghavevej 20A, 2tv
  384.    DK-1674 Copenhagen V
  385.    Denmark
  386.    Europe
  387.  
  388.    Please note that I am moving to UK, probably by march 1 1995.  When
  389.    my new address is known, I will release an update of AMOS.
  390.  
  391.    I can be contacted through the following networks and node numbers,
  392.    which are all subject to change after my move to UK :
  393.  
  394.      FidoNet    : 2:235/104, 2:235/105, 2:235/106, 2:235/107
  395.  
  396.      OS2Net     : 81:445/14
  397.  
  398.      CompuServe : 100327,2035  (GO SWREG)
  399.                   AMOS v1.x registration ID : 1808
  400.                   AMOS v3   registration ID : 3824
  401.  
  402.      InterNet   : mertner@login.dknet.dk
  403.  
  404.    Rainbow BBS (Closes by March 1 1995):
  405.      BBS Line 1 : +45-3325-7319 (ZyXEL 19k2 / v32bis, soon v34 )
  406.      BBS Line 2 : +45-3325-7320 (v32bis)
  407.      BBS Line 3 : +45-3325-7321 (HST 16k8 / v22bis)
  408.      BBS Line 4 : +45-3325-7322 (ZyXEL 19k2 / v32bis, soon v34 )
  409.  
  410.  
  411.    If you live in USA or Australia, please refer to US.REG and OZ.REG,
  412.    respectively.
  413.  
  414.    All others should use either DENMARK.REG or WORLD.REG, and send it
  415.    to one of the above listed addresses.
  416.  
  417.  
  418.  ■ Acknowledgements
  419. ┌──────────────────···
  420. │  AMOS v3 has been a long time underway, and has only been possible through
  421. ·  tremendous support from my wife, my brother, and my enduring friends who
  422. ·  have been testing the product even since buggy beta 1.
  423. ·
  424.  
  425.    Thanks to you all!
  426.  
  427.    Yours,
  428.    Allan Mertner
  429.  
  430.