home *** CD-ROM | disk | FTP | other *** search
/ Power CD-ROM!! 7 / POWERCD7.ISO / os2 / amos3 / amos3.doc next >
Text File  |  1994-11-06  |  17KB  |  418 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.01
  11.  
  12.  
  13. Copenhagen, Denmark, 07. 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.    AMOS3 then scans all local hard disk drives, and mounts all HPFS partitions
  118.    found.  When the scanning is complete, AMOS v3 writes a message to
  119.    the screen, stating the number and size of partitions found, as well as
  120.    the drive letters assigned to the partitions.
  121.  
  122.    That is it!  You can now read all of your data and program files the way
  123.    you can from within an OS/2 DOS box.  You can even play DOOM from DOS,
  124.    with DOOM on an HPFS drive!  You cannot save, though :-)
  125.  
  126.    When you have finished accessing your HPFS drives, you can unload AMOS v3
  127.    from memory by invoking it again; AMOS v3 will then free all resources
  128.    occupied by the program, thus saving you a reboot.
  129.  
  130.  
  131.  ■ AMOS v3 and long filenames
  132. ┌────────────────────────────···
  133. │  HPFS supports long filenames - files with names not conforming to the
  134. ·  8.3 naming convention dictated by DOS.
  135. ·
  136. ·  Using AMOS v3, you can still access and read these files.  When a file
  137.    or directory with a long filename is encountered, AMOS v3 truncates the
  138.    name part of the filename, and generates a random extension based on the
  139.    full HPFS filename.  Examples of the conversion could be:
  140.  
  141.  
  142.    HPFS Filename       AMOS v3 truncated 8.3 filename
  143.  
  144.    Dos Programs        DOS_PROG.0FN
  145.    Information         INFORMAT.XGL
  146.    OS/2 System         OS!2_SYS.ZAE
  147.  
  148.    The converted long filenames may look a little weird, but retain their
  149.    names even if moved across drives and directories.  There is a slight
  150.    chance that file names may occur more than once in a directory.  If
  151.    this is a problem, try disabling the long filenames using the -i
  152.    switch.
  153.  
  154.   Filenames with nothing before the first . (As in ".login") are given a
  155.   first name of BLANK, and a longname extension (Making them utterly
  156.   impossible to recognise :)  (".login" could be "BLANK.HYQ").
  157.  
  158.   Characters being used in the extension includes A-Z, 0-9, $, !, % and #.
  159.  
  160.  
  161.  ■ AMOS v3 options
  162. ┌─────────────────···
  163. │  AMOS v3 supports the following options when invoked from the command line:
  164. ·
  165. ·  -c<Number>    Defines the size, in kB, of the XMS cache assigned to
  166. ·                AMOS v3.  If you do not specify a number, AMOS uses
  167.                  527kB of XMS cache.  If you do specify one, AMOS may modify
  168.                  the number slightly to improve internal cache handling.
  169.  
  170.                  To make use of the cache, you need to have HIMEM.SYS loaded
  171.                  in your CONFIG.SYS.  If not, AMOS will run without cache.
  172.  
  173.                  If you do have XMS memory available, but do not want AMOS v3
  174.                  to use it, specify a cache size of 0.
  175.  
  176.  
  177.    -f<0,1,2>     Defines the way AMOS v3 reports free space on the partitions
  178.                  mounted.
  179.  
  180.                  -f0   Disables scanning, and just reports 0 bytes free.
  181.  
  182.                  -f1   Scans the drives the first time DOS asks for available
  183.                        space on the disk.  This makes the first DIR command
  184.                        take a bit longer than usual.
  185.  
  186.                  -f2   Scans all drives when AMOS v3 is first loaded.  Makes
  187.                        the startup a bit longer, but avoids slowdowns later.
  188.  
  189.                  The default is -f1.
  190.  
  191.  
  192.    -i            Ignore long filenames, reporting only files with normal
  193.                  style 8.3 names.
  194.  
  195.  
  196.    -p<a,b,c...>  Tells AMOS to mount only HPFS partitions a,b,c, etc.  Use
  197.                  this switch, if you do not want AMOS v3 to mount all of
  198.                  your HPFS partitions.
  199.  
  200.                  If you have 3 partitions, of which partitions 2 and 3 are
  201.                  HPFS, AMOS v3 will normally mount partitions 2 and 3.
  202.  
  203.                  If AMOS v3 is started with "AMOS3 -p3", only partition 3
  204.                  is mounted; partition 2 is ignored.
  205.  
  206.  
  207.    -u            Unloads AMOS v3 from memory, if it was already loaded.  This
  208.                  might fail, if you have loaded other TSR's after loading
  209.                  AMOS, but should generally work.
  210.  
  211.                  If you invoke AMOS v3 a second time, AMOS v3 will unload
  212.                  itself from memory disregarding any switches you might
  213.                  specify.  Any switches specified in conjunction with -u
  214.                  are ignored.
  215.  
  216.  
  217.  ■ AMOS v3 memory requirements
  218. ┌──────────────────────────────···
  219. │  AMOS v3 occupies 40720 bytes of precious DOS memory, in addition to the
  220. ·  XMS cache memory being used.
  221. ·
  222. ·  AMOS v3 can of course be loaded high, using LOADHI from QEMM or some other
  223.    utility coming with DOS.  Please consult your DOS manual on this.
  224.  
  225.    Since 40kB is quite a lot of memory, AMOS v3 can be unloaded when you
  226.    have finished using it.  Simply invoke AMOS v3 a second time, and it
  227.    will remove itself from memory.
  228.  
  229.  
  230.  ■ AMOS v3 speed
  231. ┌───────────────···
  232. │  Comparing the performance of AMOS to that of HPFS drives under OS/2 can
  233. ·  never be a fair test.  AMOS is restricted by DOS, 16 bit, and available
  234. ·  memory.
  235. ·
  236.    Still, my benchmarks show that AMOS is almost as fast as OS/2 when
  237.    doing common things (DIR /S, VirScan, XCOPY, etc).  See the next
  238.    section for the actual figures.
  239.  
  240.  
  241.  ■ AMOS v3 benchmark
  242. ┌───────────────────···
  243. │  AMOS v3 is not the only program available for mounting HPFS drives.  To
  244. ·  my knowledge, two other programs exist: HPFSDOS and IHPFS.  I have tested
  245. ·  and benchmarked both products - the results follow:
  246. ·
  247.    HPFSDOS works fine; I have not been able to find any errors in it.  It
  248.    occupies 55112 bytes of DOS memory.
  249.  
  250.    IHPFS works fine with most applications.  However, it crashes when I
  251.    try to run my NC clone HC, and it does not report the .. and .
  252.    directories when writing DIR.  IHPFS occupies 8208 bytes of memory
  253.    per partition mounted.  XMS cache can be used, but is default disabled.
  254.  
  255.    AMOS v3 works fine (I hope :), and occupies 40720 bytes of memory.  XMS
  256.    cache can be used (And will be, default).
  257.  
  258.    The following benchmarks were performed on my OS/2 HPFS boot-drive,
  259.    containing lots of directories.  The drive is 72MB large, with about
  260.    60MB of files on it.  AMOS v3 was started with the -i switch, since
  261.    neither HPFSDOS nor IHPFS supports long filenames.
  262.  
  263.    The tests:
  264.      A: SCAN F: /NOMEM.  The scanner used was McAfee SCAN v2.1.1.
  265.      B: SCAN F: /NOMEM /AF Test.  Same scanner as (A), and saving the
  266.         results in a file.
  267.      C: NCD /R using Norton Change Directory v8.0.
  268.      D: PKZIP -r -p F:\*.*.  Used PKZIP v2.04g.
  269.  
  270.    HPFSDOS was v0.99 beta-3, AMOS was v3.01, and IHPFS was v1.13.
  271.  
  272.    Time to complete / min │     A      B      C      D
  273.    ───────────────────────┼─────────────────────────────
  274.    AMOS v3, 512k cache    │   0:21   1:33   0:03   5:06
  275.    IHPFS, 512k cache      │   0:17   2:11   0:04   6:30
  276.                           │
  277.    AMOS v3, no cache      │   0:38   2:00   0:09   7:19
  278.    HPFSDOS, no cache      │   2:15   4:59   0:11   7:02
  279.    IHPFS, no cache        │   2:22   5:51   0:14   8:22
  280.                           │
  281.    OS/2 DosBox            │   0:21   1:08   0:03   5:05
  282.  
  283.    As can be seen from the table, AMOS v3 offers the fastest overall
  284.    performance using the default cache size, though IHPFS using its
  285.    own cache is fast as well.  Without cache, none of the other programs
  286.    come nowhere near the performance AMOS offers.
  287.  
  288.    The main drawback of AMOS is its memory requirement of 40k, easily beaten
  289.    by IHPFS' 8k per partition.  If you only have a few HPFS partitions, and
  290.    you are not having problems with IHPFS crashes, IHPFS might be the
  291.    program for you.  In all other cases, however, AMOS looks as the best
  292.    shot.
  293.  
  294.  
  295.  ■ Troubleshooting AMOS v3
  296. ┌─────────────────────────···
  297. │  * For optimum performance, make sure that the line
  298. ·      DEVICE=HIMEM.SYS
  299. ·    is present in our CONFIG.SYS.  If not, AMOS v3 cannot use its internal
  300. ·    XMS cache, and will run very slowly.
  301.  
  302.    * Make sure that the LASTDRIVE variable in CONFIG.SYS is suitably large.
  303.      Setting it at too low a value may mean that some of your HPFS drives
  304.      are not mounted by AMOS v3.  If in doubt, insert the following line
  305.      in your CONFIG.SYS:
  306.      LASTDRIVE=Z
  307.  
  308.    * AMOS v3 does not run in DOS versions befor DOS 4.01.  If you are still
  309.      running DOS v2.x or 3.x, please upgrade before running AMOS.
  310.      AMOS v3 works the best using DOS 5.x and 6.x.
  311.      AMOS v3 does not work in an OS/2 or Windows NT DOS-box either.
  312.  
  313.    * Some conditions may cause AMOS v3 to run out of memory.  Lots of HPFS
  314.      partitions may cause this, as may very fragmented files.  Subdirectories
  315.      with thousands of files should not be a problem, however.
  316.      If you do experience memory problems, try to run AMOS using the -p
  317.      switch, to make AMOS v3 load fewer partitions.
  318.      If the memory problem persists, you may have one or more very fragmented
  319.      files.  In this release, there is no other work-around than to defragment
  320.      the file by booting OS/2 and copying the file somewhere else, then
  321.      copy it back onto itself.
  322.  
  323.    * Very long paths may cause problems.  DOS only allows the full name of
  324.      file and directory to be a maximum of 80 characters long, whereas
  325.      HPFS allows a maximum length of 254 characters.
  326.      If a subdirectory is encountered, that may cause problems, AMOS v3
  327.      reports it as being a 0-byte file instead of a directory to avoid
  328.      problems.
  329.      This may cause a DIR /S command to yield different results under OS/2
  330.      and DOS.
  331.      The problem is prevalent if you run OS/2 Warp v3, using the "Archive
  332.      Desktop" option, since this causes very long paths to be created.
  333.  
  334.    * Large hard disks with more than 1024 cylinders cannot be read using
  335.      any standard method from DOS.  Partitions on your hard disk which
  336.      crosses this boundary can NOT be read using AMOS v3.
  337.  
  338.  
  339.  ■ The future of the AMOS product line
  340. ┌─────────────────────────────────────···
  341. │  It is my intention to expand the AMOS product line to the following:
  342. ·
  343. ·
  344. ·   AMOS read/write TSR
  345.     AMOS FAT to HPFS converter
  346.     AMOS HPFS to FAT converter
  347.     AMOS HPFS disk optimizer
  348.     AMOS HPFS format utility
  349.     AMOS HPFS CHKDSK utility
  350.  
  351.   When these tools are in place, even users without OS/2 can use and
  352.   access HPFS drives, and gain access the a file system that is not as
  353.   outdated as "good lod FAT".
  354.  
  355.   The current version of AMOS v3 is written in Borland Pascal 7.  Future
  356.   development will probably see the AMOS products written mostly in
  357.   assembler, for speed and memory efficiency.
  358.  
  359.  
  360.  ■ AMOS registration and support information
  361. ┌───────────────────────────────────────────···
  362. │  The Author of AMOS v3 is
  363. ·
  364. ·  Allan Mertner
  365. ·  Enghavevej 20A, 2tv
  366.    DK-1674 Copenhagen V
  367.    Denmark
  368.    Europe
  369.  
  370.    I can be contacted through the following networks and node numbers:
  371.      FidoNet    : 2:235/104
  372.                   2:235/105
  373.                   2:235/106
  374.                   2:235/107
  375.  
  376.      OS2Net     : 81:445/14
  377.  
  378.      CompuServe : 100327,2035
  379.                   AMOS v1.x registration ID : 1808
  380.                   AMOS v3   registration ID : As of yet unknown
  381.  
  382.    Rainbow BBS:
  383.    BBS Line 1 : +45-3325-7319 (ZyXEL 19k2 / v32bis, soon v34 )
  384.    BBS Line 2 : +45-3325-7320 (v32bis)
  385.    BBS Line 3 : +45-3325-7321 (HST 16k8 / v22bis)
  386.    BBS Line 4 : +45-3325-7322 (ZyXEL 19k2 / v32bis, soon v34 )
  387.  
  388.  
  389.    If you live in USA or Australia, please refer to US.REG and OZ.REG,
  390.    respectively.
  391.  
  392.    All others should use either DENMARK.REG or WORLD.REG, and send it
  393.    to one of the above listed addresses.
  394.  
  395.  
  396.  ■ Acknowledgements
  397. ┌──────────────────···
  398. │  AMOS v3 has been a long time underway, and has only been possible through
  399. ·  tremendous support from my wife, my brother, and my enduring friends who
  400. ·  have been testing the product even since buggy beta 1.
  401. ·
  402.  
  403.    Thanks to you all!
  404.  
  405.