home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR24 / AMOS10.ZIP / AMOS.DOC next >
Text File  |  1993-11-11  |  16KB  |  336 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       v1.0
  11.  
  12. About this document
  13. ───────────────────
  14.  
  15. This document is structured into several parts.  First, a brief introduction
  16. of the program AMOS, followed by boring but necessary licensing information
  17. and legal stuff.  After this, the interesting stuff begins: The user's guide.
  18. Actually, I don't think that very much of this is needed, since I assume that
  19. you are familiar with the command prompts of DOS and OS/2.
  20. At the end of the document, I elaborate on the subject of future releases of
  21. AMOS.
  22.  
  23. Please refer to CONTENTS.TXT for a complete list of the files contained as
  24. a part of the AMOS v1.0 archive.
  25.  
  26. What is AMOS?
  27. ─────────────
  28.  
  29. Short version:
  30. --------------
  31. AMOS is a DOS-program, that enables you to read and write your HPFS-formatted
  32. drive from native DOS.
  33.  
  34. Long version:
  35. -------------
  36. AMOS is a DOS program for OS/2 users.  For the program to have any value, you
  37. need to run an OS/2 system with at least one drive formatted with the HPFS
  38. file system.
  39. The HPFS file system is IBM's shot at a file system, the purpose of which is
  40. to replace the FAT file system, which is outdated, slow and gives only a small
  41. degree of data security.
  42. In spite of all the good things about HPFS, it has at least one major drawback:
  43. HPFS drives cannot be read or written from "real" DOS.  Normally, this is no
  44. problem, since OS/2 takes care of all HPFS handling and maintenance.  But in
  45. some situations, it would be very nice indeed to have at least some degree of
  46. access to your HPFS-drives from real DOS...
  47.  
  48. For example:
  49.  * You wish to install a patch for OS/2.  This normally requires that you
  50.    reboot the machine, using the two first discs of OS/2.  Using AMOS, you
  51.    simply boot DOS, either using a boot disc or Dual Boot/Boot Manager.
  52.  * You have made an error in OS/2's CONFIG.SYS.  Sometimes, OS/2 simply halts
  53.    the system with the annoying message "Please correct the error and restart
  54.    the system".  Without AMOS, you once again have to go through the tedious
  55.    process of booting the two floppies, after which you discover that IBM has
  56.    forgotten to supply a text-mode editor with OS/2.
  57.  * You accidentialy deleted an important HPFS-partition using FDISK.  Even if
  58.    you immediately re-establish the partition, OS/2 cannot read data from the
  59.    partition.  AMOS can.
  60.  * Something has gone terribly wrong, and you simply cannot make OS/2 boot.
  61.    All of your data reside on an inaccessible HPFS-drive, and you cannot get
  62.    them away from your HPFS-drive.  Use AMOS!
  63.  * You simply want to play the newest DOS-game, a game that of course uses
  64.    VCPI or some other weird DOS-extender that OS/2 doesn't like.  Just start
  65.    AMOS, and copy the desired files from your HPFS-drives to your FAT gaming
  66.    partition...
  67.  
  68. Benefits of registering
  69. ───────────────────────
  70.  
  71. The unregistered version of AMOS can read your HPFS-drives, but can not make
  72. any changes on them.  By registering, you get access to write functions for
  73. HPFS-drives as well.
  74. Most important, when you register, you can EDIT your CONFIG.SYS, even if it
  75. is located on a HPFS-drive.
  76. Further, the unregistered version has a delay of 20 seconds when you start it
  77. up.  In the registered version, this delay is removed.
  78.  
  79. Last, but not least, registering makes me keep the spirits high.  If nobody 
  80. registers, development of AMOS will of course cease...
  81.  
  82.  
  83. Information to crackers
  84. ───────────────────────
  85.  
  86. Most, if not all shareware utilities on the market today, are being "cracked"
  87. by some wise guys who do not wish to pay for their software.
  88. * Do NOT try to patch AMOS - it's unique protection scheme makes patching
  89.   impossible, and endangers data on your hard drives.
  90. * Do NOT try to alter AMOS.EXE in any way; AMOS will probably detect this, and
  91.   abort with an error message.
  92. * Do NOT distribute any altered versions of AMOS.  When an unsuspecting user
  93.   tries to register an altered version, AMOS refuses to register.  If you
  94.   have only a cracked version of AMOS, you can always get the newest version
  95.   by download from the BBS, or by file requesting AMOS from the below
  96.   mentioned system.
  97.  
  98.  
  99. Licensing information
  100. ─────────────────────
  101.  
  102. AMOS user's guide
  103. ─────────────────
  104.  
  105. Basically, AMOS is a simple command shell.   When you first start it, you get
  106. a command prompt that looks like the OS/2 prompt, and should look something
  107. like this:
  108.  
  109. [C:\]_
  110.  
  111. Sometime in the future, it is my plan to make AMOS a device driver, which
  112. simply mounts your HPFS-drives for use with DOS.  Sometime in the future :-)
  113.  
  114. Do NOT try to make any write operations using AMOS in an OS/2 DOS box.  OS/2
  115. does not permit direct sector writes from DOS-boxes (Reports "Unknown
  116. function", which I find rather cute).  If you do try, AMOS will kindly
  117. remind you that writes in DOS-boxes is not possible.
  118. All other functions do perform very well in DOS-boxes, though.
  119.  
  120. For now, just use your normal DOS and OS/2 commands.  DIR works. COPY, DEL
  121. and TYPE do as well.  With OS/2 wildcards.  Even EDIT works, given that the
  122. file you wish to edit is no larger than 30k (I made this primarily for
  123. CONFIG.SYS-editing).  Try it out.  If in doubt, try it anyway :-)
  124.  
  125. For a complete list of all commands, switches, and functions, please refer to
  126. the list below.
  127.  
  128. Syntax          Description
  129. CD <Arg>        Change Directory.  Changes the current directory to Arg, if
  130.                 this is a valid directory.
  131.                 Example: CD \TEST
  132.  
  133. CLS             Clears the screen
  134.  
  135. COPY <A1 A2>    Copies the file(s) A1 to the directory A2.  It is possible to
  136.                 copy more than one file using wildcards, but it is NOT
  137.                 possible to copy to new filenames.  With COPY, the /n-switch
  138.                 is valid, and reverses the file-selection.
  139.                 Example: COPY *.EXE C:\TEST  copies all EXE-files to C:\TEST
  140.                          COPY *.TXT C:\ /n   copies all but TXT-files to C:\
  141.  
  142. DATE            Shows current date in an editable format.  I really don't know
  143.                 why you should use this feature, but it was easy to implement.
  144.  
  145. DIR <Arg>       Displays a listing of files and directories.  As in OS/2, you
  146.                 can specify a directory and/or wildcards as argument.  DIR
  147.                 accepts some switches as well:
  148.                 /s  lists all subdirectories as well
  149.                 /n  reverses the selection
  150.                 /p  pauses the listing when the screen is full
  151.                 /d  shows directories only
  152.                 /f  show fragmentation information (HPFS-volumes only)
  153.                 Example: DIR *.EXE      shows all EXE-files in current dir
  154.                          DIR *.EXE /n   shows all but EXE-files
  155.                          DIR /d /n      shows all files, and no directories
  156.                          DIR /f         shows all files, including fragmen-
  157.                                         tation information
  158.  
  159. DEL <Arg>       Deletes files specified as argument.  Wildcards valid.  Please
  160.                 note, that AMOS asks for *NO* confirmation, even if you write
  161.                 "DEL *"!
  162.                 If you write DEL name, where name is a directory, all files in
  163.                 that directory will be erased.
  164.                 You can use /n with DEL to reverse file selections.
  165.                 Example: DEL *.EXE        Remove all EXE-files
  166.                          DEL C:\*.EXE /n  Remove all but EXE-files on C:\
  167.  
  168. EDIT <Arg>      Starts the internal textfile-editor on the file specified as
  169.                 argument.  The editor is a simple fullscreen editor, with only
  170.                 the most basic of editing functions - enough for CONFIG.SYS.
  171.                 It is not possible to create a new file using EDIT - you can
  172.                 only edit existing files.
  173.                 Editor keys:
  174.                 ESC          Exits the editor
  175.                 Cursor keys  Moves the cursor around the screen :)
  176.                 PgUp         Advance one page
  177.                 PgDn         One page back
  178.                 Home         Go to start of line
  179.                 End          Go to end of line
  180.                 Ctrl-PgUp    Goes to top of file
  181.                 Ctrl-PgDn    Goes to end of file
  182.                 Ctrl-Left    Word left
  183.                 Ctrl-Right   Word right
  184.  
  185. EXIT            Exits from AMOS to DOS.
  186.  
  187. FREE <D:> <Lvl> Shows a freespace map of the current drive.  Using this
  188.                 feature, you can get an overview of the level of freespace
  189.                 fragmentation on the drive.
  190.                 The first argument is the desired drive-letter; the second is
  191.                 an inverse magnification factor M between 0 and 10.
  192.                 When using an M-factor of 0, one character in the map
  193.                 represents 8 sectors on the disc, when M=1, one character
  194.                 equals 16 sectors, etc.  When M=10, information on 8192
  195.                 sectors are represented in one character.
  196.                 If you supply no parameter, AMOS will prompt you for a
  197.                 magnification factor.
  198.                 Example: FREE D: 4
  199.                          FREE 2
  200.  
  201. HELP            Shows a short description of all available commands.
  202.  
  203. MAP             Shows a listing of all partitions.  The list includes the
  204.                 type of each drive, current directory, total drive space and
  205.                 free space.  For HPFS drives, the time of the last CHKDSK
  206.                 operation is noted as well.
  207.                 Example: MAP on my machine gives the following output:
  208.                 Drive  Size/kB    Free/kB   Type      Last CHKDSK /F
  209.                 C:\    118,668     75,420   BIGDOS      n/a for FAT
  210.                 D:\    160,618     36,086   HPFS      11-11-93  15.35
  211.                 E:\  1,349,428     74,897   HPFS      11-11-93  15.36
  212.                 F:\    208,813     51,681   HPFS      11-11-93  15.39
  213.  
  214. RD <Arg>        Removes the directory <Arg>, if <Arg> is a valid, empty
  215.                 directory.
  216.                 Example: RD C:\DOS
  217.                          RD TEST
  218.  
  219. TOUCH <Arg>     Sets the file date and time for all files and directories
  220.                 matched by <Arg> to current time.
  221.                 Switches to use with TOUCH:
  222.                 /n  Reverses the file-selection
  223.                 /d  Selects directories only
  224.  
  225. TREE <Arg>      Shows a list of all directories from and below <Arg>. Abort
  226.                 by pressing <ESC>.
  227.                 Example: TREE F:\WORK results in the following output:
  228.                 F:\WORK
  229.                 F:\WORK\123
  230.                 F:\WORK\WP5
  231.                 F:\WORK\PASCAL
  232.  
  233. TIME            Shows current time in an editable format.  Allows you to
  234.                 change system time...
  235.  
  236. TYPE <Arg>      Types all files matching <Arg> to the screen.  Use with
  237.                 textfiles only, since all other files would look weird on
  238.                 the display.  Abort listing by pressing <ESC>.
  239.                 Example: TYPE C:\*CON* makes AMOS type both CONFIG.SYS,
  240.                 CONFIG.BAK and TESTCON.EXE on drive C:\.
  241.  
  242. WIPE            Wipes all free sectors on the disc, writing HPFSWipe in all
  243.                 unoccupied bytes.  I use this primarily for test reasons, but
  244.                 is quite useful for data security.
  245.                 WIPE functions only on HPFS drives, and only in the registered
  246.                 version.
  247.  
  248. Quirks in AMOS
  249. ──────────────
  250.  
  251. * Freespace
  252.   On FAT drives, AMOS asks DOS how much space is free, so I suppose that no
  253.   errors should occur here.  On HPFS-drives, I have been unable to find out
  254.   how much available space there is.
  255.   However, I do have a method of finding out which sectors are occupied and
  256.   which are not, so I simply count these.  Oddly enough, this gives a number
  257.   a bit higher than the one OS/2 reports, but since I seem to be able to make
  258.   sensible use of everything I find, I haven't tried to adjust my freespace
  259.   figure to the one OS/2 reports.
  260.  
  261. * Many files
  262.   Problems may occur when reading or writing huge directories - by huge I mean
  263.   dir's with more than 4000 files!
  264.  
  265. * Low on discspace
  266.   Beware of low discspace!  Since AMOS reports every single free byte on the
  267.   disc, COPYing files that only just fit may result in an error.  HPFS uses
  268.   heaps of information on every file, meaning that each file has a slight
  269.   overhead in disc space consumption.  COPYing a 4 byte file typically
  270.   uses 1024 bytes or even more!
  271.  
  272. * Memory problems
  273.   Since AMOS uses low DOS RAM only, you may sometimes run into memory errors.
  274.   Whenever this happens, AMOS terminates with a Runtime error (Ydrk, this
  275.   will be corrected in the next release), with the number 202 or 203.
  276.  
  277. * Legal characters in file/dir-names
  278.   No checking of valid filenames is performed.  Thus, you could create a
  279.   directory named "/!' !..," and AMOS wouldn't complain.
  280.   OS/2 will, though - be sure of that!
  281.  
  282. * Trouble accessing files with spaces in the name
  283.   Setting "'s around filenames in is not supported in AMOS.  Thus, you
  284.   cannot COPY such files as easily as under OS/2.  It _is_ possible, though:
  285.   COPY F:HELLO MATE
  286.   copies the file "HELLO MATE" from drive F: to the current drive.
  287.   
  288.  
  289. Future releases of AMOS
  290. ───────────────────────
  291.  
  292. At the moment, I have the following plans for AMOS releases.  A total lack of
  293. registrations probably cancels the plan, though.
  294.  
  295. Late 1993: AMOS v1.1.
  296.         This will be a bugfixed version, with some or all of the above
  297.         problems removed.  Bugs reported by users will be included as well,
  298.         whenever possible.
  299.         If I find the time, I will try to incorporate some extra features too.
  300.         Upgrading registered versions of AMOS 1.0 to 1.1 is free of charge (*)
  301.  
  302. 1st Quarter 1994: AMOS v1.2
  303.         I suspect that AMOS v1.2 will be another bugfix-release.  HPFS is a
  304.         very complicated file system, and it is unavoidable that some errors
  305.         exist in the program.
  306.         By the time of this release, basic error correction, a sector editor,
  307.         a better editor and the like should be included.
  308.         Upgrade from v1.0 or 1.1: Free of charge (*)
  309.  
  310. Sometime in the future, probably 1994: AMOS v2.0
  311.         The ultimate goal of AMOS is to make it a DOS device driver, simply
  312.         mounting existing HPFS volumes for normal use from DOS.  AMOS v2.0
  313.         is a device-driver for DOS, implementing the features of AMOS v1.2.
  314.         Upgrade from previous versions will be around one third of the normal
  315.         registration price.
  316.  
  317.  
  318. (*) Upgrading a registered version requires a new keyfile to be sent.  Only
  319.     a small fee for postage is required.
  320.  
  321.  
  322. Registration site information
  323. ─────────────────────────────
  324.  
  325. Allan Mertner
  326. Enghavevej 20A, 2tv
  327. DK-1674 K¢benhavn V
  328. Denmark
  329.  
  330. 2:234/107@FidoNet, 81:445/14@OS2Net
  331.  
  332. BBS 1:  +45-3373-2522 (ZyXEL 19k2 / v32bis)
  333. BBS 2:  +45-3373-2521 (v32bis)
  334. BBS 3:  +45-3373-2520 (HST 16k8 / v22bis)
  335.  
  336.