home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / emulate / htrack11.lha / hardtrack / Hardtrack.doc < prev    next >
Text File  |  1993-01-23  |  15KB  |  288 lines

  1.                              Hardtrack Manual
  2.  
  3.         Makes a Bridgeboard Pseudo-harddisk File Easily Accessible 
  4.  
  5.  
  6.  
  7.      COPYRIGHT
  8.      
  9.      This software and its documentation is copyright © 1992 by Bart 
  10.      Van Assche. It is freeware: you are allowed to copy it, as long 
  11.      as all files remain unaltered and are kept together, and no 
  12.      more than a small copying fee is charged.
  13.      
  14.      DISCLAIMER
  15.      
  16.      This software has been tested thoroughly on various hardware 
  17.      configurations, and with different releases of the operating 
  18.      system (1.2 up to 2.04). It also showed to function correctly 
  19.      in everyday use. But still I can't be held responsible for any 
  20.      problems, frustration or data loss caused by using this 
  21.      software.
  22.      
  23.      PURPOSE
  24.      
  25.      With the software contained in this package, and together with 
  26.      CrossDOS or MessyDOS, (read the next paragraph if these names 
  27.      are new to you) you can access MS-DOS harddisks easily. They 
  28.      just become an extra Amiga drive. Use them with any of the 
  29.      numerous file-manipulation utilities, handle its files directly 
  30.      with Workbench 2's `Show all' option, load its files into any 
  31.      Amiga program on the fly, etc. Please note there is a little 
  32.      problem with MS-DOS files: they don't have an icon, and thereby 
  33.      they are invisible to Workbench 1.2 / 1.3.
  34.      Only the kind of harddisks residing as a file on an Amiga 
  35.      harddisk can be accessed with my software: this is what most 
  36.      Bridgeboard users use, and also some PC-Task users.
  37.      Ordinary 3.5" disks, and complete harddisk partitions, can be 
  38.      accessed by CrossDOS and MessyDOS, without the need of extra 
  39.      software.
  40.      
  41.      CROSSDOS AND MESSYDOS
  42.      
  43.      CrossDOS is a commercial product from the firm Consultron, and 
  44.      is also a standard part of the 2.1 (and higher versions) 
  45.      Workbench. It can be got at most Amiga dealers. If you don't 
  46.      own it, you still can use MessyDOS. (also known as MSH) This is 
  47.      a freely distributable product, written by Olaf 'Rhialto' 
  48.      Seibert. Both are MS-DOS file-systems: they know how MS-
  49.      DOS organises its files on a disk. They need a device to do the
  50.      actual reading and writing. This is the part done by my 
  51.      program.
  52.      Personally I prefer CrossDOS, because it easily handles icons 
  53.      and can do ASCII file translations automatically.
  54.       
  55.      INSTALLATION
  56.      
  57.      Begin with copying all files to a location where you prefer 
  58.      them to be. In my case that is the drawer 
  59.      Work:Emulation/Hardtrack. This is also the name I'll use to 
  60.      refer to the drawer where you installed all files. Next, copy 
  61.      the file named "hardtrack.device" to the DEVS: drawer. Just 
  62.      double-click the "install_hardtrack" icon to achieve this.
  63.      Also install CrossDOS or MessyDOS, if this isn't already done.
  64.      Otherwise my program MountMSH will complain with the error 
  65.      message "Unable to find the filesystem (part of CrossDOS / 
  66.      MessyDOS)"
  67.      
  68.      WARNING
  69.      
  70.      When you want to access an MS-DOS harddisk, keep in mind that 
  71.      it is dangerous to access it via the Amiga side and the PC side 
  72.      at the same time. Both sides keep some information about the 
  73.      disk in memory, and won't know when the other side updates it. 
  74.      If you first write a file at the PC side, and then at the Amiga 
  75.      side, probably you will loose some data. This is because the 
  76.      one doesn't know about the space occupied by the other.
  77.      But if you issue the CLI-command "Diskchange <drive>" after 
  78.      using the PC side, and before writing or reading at the Amiga 
  79.      side, things are already much safer: now the Amiga will know 
  80.      that you wrote something at the PC side. But the PC side still 
  81.      won't know you wrote something at the Amiga side. If you don't 
  82.      use a cache program, there is no much risk of loosing data this 
  83.      way.
  84.      Remind to avoid simultaneous access from both sides.
  85.      I tried to make this situation impossible, but it wasn't easy. 
  86.      To avoid this problem-generating situation, it is best to 
  87.      choose what you want to activate: access via the PC-side or 
  88.      access via the Amiga side. And before switching to the other 
  89.      side, save your data and reboot. Then no trouble will be 
  90.      caused. 
  91.      
  92.      WORKBENCH USAGE
  93.      
  94.      The way I prefer to set up everything, is via the Workbench. 
  95.      You can do this as follows: first of all, make sure that your 
  96.      harddiskfile has a project icon (You can use the Workbench 2 
  97.      IconEdit. Or, open a CLI window and type a command as the 
  98.      following, with the necessary changes:
  99.      Copy FROM Work:Emulation/Hardtrack/Harddisk_icon.info
  100.      TO Work:Emulation/PC-Disk.info
  101.      Then select in the Workbench the icon you just created, 
  102.      (single-click it) and choose 'Information' or 'Info' from the 
  103.      menu. A window will appear. Make sure that the text in the box 
  104.      labelled 'Default Tool' contains the location of the 'MountMSH' 
  105.      program. With the paths mentioned earlier, this is
  106.      "Work:Emulation/Hardtrack/MountMSH".
  107.      And if you are using Workbench 1.2 or 1.3, you also have to 
  108.      create a 'Tool Type' named FILE. (click `Add' in the 
  109.      information window, and begin typing in the text box) Workbench 
  110.      2 users can omit the FILE-information: it is generated by 
  111.      MountMSH for them.
  112.      The contents of the FILE-tooltype has to be the location of the 
  113.      harddisk-file. Be sure to specify the complete path, and don't 
  114.      use any ASSIGN-ed names, or MountMSH will complain. Begin the 
  115.      path with the volume-name, then a colon, then a pathname if 
  116.      necessary, and a slash following it, as many times as needed, 
  117.      and finally the filename. E.g. "FILE=Work:Emulation/PC-Disk". 
  118.      Once this is done, select 'Save', and double-click the PC-Disk 
  119.      icon. After about two seconds, another disk icon should appear, 
  120.      labeled something as "MSDOS 3.3". That is your MS-DOS harddisk, 
  121.      seen by the Amiga. Now you can access it via any program you 
  122.      want to. It will be available until a reset.
  123.      The following times (that is, after a reset or after the 
  124.      computer was turned off) you want to access your MS-DOS data, 
  125.      simply double-click the PC-Disk icon.
  126.      
  127.      CLI USAGE
  128.      
  129.      To start things from the CLI, type the command name MountMSH, 
  130.      followed by the complete filename of the harddisk-file, and 
  131.      press return. For limitations on the filename, see the part on 
  132.      the Workbench-usage.
  133.      
  134.      OPTIONS
  135.      
  136.      There are a few options that can be specified, both for 
  137.      Workbench and CLI usage. They are only important to do more 
  138.      advanced things, like using two harddisk-files simultaneously.
  139.      The first option is the specification of a unit-number. This 
  140.      number is a way for CrossDOS to tell my hardtrack.device which 
  141.      file to use, and has absolutely nothing to do with an eventual 
  142.      numbering of your partitions. Up to four harddisk-files can be 
  143.      accessed simultaneously. To achieve this, decide which file 
  144.      will get which unit number. Every harddisk you want to access 
  145.      needs a unique unit number. A unit number can be 0, 1, 2 or 3.
  146.      Via Workbench: add an extra tooltype, e.g. "UNIT=3". From CLI, 
  147.      mention the unit-number after the filename, and separate both 
  148.      with a space. CLI example:
  149.      "MountMSH Work:Emulation/PC-Disk 3"
  150.      The second option is the mentioning of a device-name. On the 
  151.      Amiga, there is a name for the disk present in a drive, (most 
  152.      of the time called volume-name) and one for the diskdrive 
  153.      itself. The last one is the device-name. A well-known example 
  154.      of this is the naming of ordinary diskdrives: the first is 
  155.      named DF0:, the second DF1:, and so on. The default I have 
  156.      chosen is BB0C: for unit 0, BB1C: for unit 1, and so on. And if 
  157.      you want to specify this name (I shouldn't know why, any 
  158.      suggestions ?), specify it as the DEVICENAME tooltype in the 
  159.      disk's icon, or add it as the third argument on the command 
  160.      line. Attention: your name must have a 'C' before the ending 
  161.      colon. "BBC:" or "BB0C:" is OK, but something as "BB0:" won't 
  162.      work. This strange limitation is imposed by CrossDOS, and I 
  163.      really don't know why it is there.
  164.      The third option is the choice between MessyDOS and CrossDOS. 
  165.      To select MessyDOS, specify MSH as a tooltype, and to select 
  166.      CrossDOS, specify CROSSDOS as a tooltype. Use the same keywords 
  167.      in CLI usage. A CLI-example:
  168.      "MountMSH Work:Emulation/PC-Disk 3 BB3C: MSH"
  169.      The fourth and last option is named 'DELAYED'. It's a bit 
  170.      technical. Normally, when you run MountMSH, the MS-DOS 
  171.      harddisk-icon appears almost immediately. But if you specify 
  172.      the parameter 'DELAYED', this won't happen. Only when trying to 
  173.      read its directory, the programs needed to read the MS-DOS 
  174.      files are loaded. This feature isn't useful when you yourself 
  175.      are running the program MountMSH: you probably only do this 
  176.      when you need the MS-DOS data, and so you want the disk icon to 
  177.      appear immediately. But if you decide that this utility is so 
  178.      useful that you want to have it available with a minimum 
  179.      effort, you can make your Amiga to load it automatically when 
  180.      you reboot or turn on the computer. And in that case it is 
  181.      useful to save some memory and only load the software at the 
  182.      time you need to access your MS-DOS data, by specifying the 
  183.      DELAYED-parameter. With this parameter, only 80 bytes of memory 
  184.      are needed by MountMSH. The other part of the necessary memory 
  185.      (45K, I estimate) won't be occupied, except when you start 
  186.      accessing the harddisk-file.
  187.      Attention to CLI adepts: when you want to specify the third 
  188.      option from the CLI, you also have to specify the second. And 
  189.      to specify the second, you also need to specify the first. A 
  190.      complete example to clarify this:
  191.      MountMSH Work:Emulation/PC-Disk 1 DHC: CROSSDOS DELAYED
  192.      
  193.      RUNNING IT AUTOMATICALLY AT POWER-ON
  194.      
  195.      This can be achieved via adding a command to your Startup-
  196.      Sequence (WB 1.3), or by changing the User-Startup (WB 2), or 
  197.      by adding an extra icon to your WBStartup drawer (WB 2). If you 
  198.      want to change your Startup-Sequence, add close to, but still 
  199.      before, the line reading "Endcli >nil:", a command like
  200.      "Work:Emulation/Hardtrack/MountMSH Work:Emulation/PC-Disk".
  201.      The same command can be added to the User-Startup, but now it 
  202.      doesn't matter at what line.
  203.      About changing the WBStartup-drawer: you need to add a Project-
  204.      icon to it. (I recommend you to run IconEdit, drop the PC-Disk 
  205.      icon into it, then select 'Save As' from the menu, and navigate 
  206.      the file requester that appears to SYS:WBStartup, then select 
  207.      'Save') Once the project-icon is created, select 
  208.      'Icon/Information' from the Workbench menu, and add and fill in 
  209.      the FILE tooltype. In opposite of the before, this is now 
  210.      obligatory. And now you probably want to add the DELAYED 
  211.      tooltype to save memory.
  212.      
  213.      ERROR MESSAGES 
  214.      
  215.      When running MountMSH you get an error message when something 
  216.      goes wrong. Some need a little bit of explanation:
  217.      - the device failed to open correctly
  218.        Maybe an assigned name has been used in the filename ?
  219.      - unable to find hardtrack.device
  220.        The mentioned device is missing from the DEVS: directory, are 
  221.      you sure it has been copied ? (can be done with 
  222.      install_hardtrack)
  223.      - couldn't find CrossDos
  224.        CrossDos wasn't not installed, or not in the normal way. The 
  225.      file MSDOSFileSystem was not found in the L: directory.
  226.      - invalid partition table
  227.        Please check whether the drive was prepared with FDISK (see 
  228.      also next paragraph, for the description of "Not a DOS disk")
  229.      
  230.      MountMSH always states its name when generating an error 
  231.      message. Once MountMSH has read the necessary information, it 
  232.      executes what is done by CLI-command Mount. And if Mount 
  233.      finished its job, CrossDos is activated. The least interesting 
  234.      error it generates is "Not a DOS disk". This means:
  235.      - or the device-name does not have a C before the colon
  236.      - or the information in the pseudo-harddisk is not meaningful
  237.      You can test the first condition by inspecting the icon, or by 
  238.      checking the command typed into the CLI. The second can be 
  239.      tested by resetting, running the PC side, and then trying to 
  240.      get a directory of the complaining disk. (e.g. with the MS-DOS 
  241.      command "dir c:") Remember that a pseudo-harddisk has to be 
  242.      prepared with the MS-DOS programs "FDISK" and "FORMAT".
  243.      The a-little-bit clearer error it sometimes generates, is  
  244.      "Device error". First of all, if the error is in the range of 
  245.      at about -10 to 40, then check the CrossDos manual to find out 
  246.      the meaning of this error. If the number is more negative, then 
  247.      the error is generated by my device. You can figure out its 
  248.      meaning by ... adding 256 to the number, and then typing 
  249.      "FAULT" into a CLI window, followed by a space, and followed by 
  250.      the result of the calculation. Example: when you get the 
  251.      message
  252.      "Write Error! on BB0C:
  253.       Device Error
  254.       Block = 84
  255.       Error = -42"
  256.      then type "Fault 214", and the answer is: "Fault 241: disk is 
  257.      write-protected". End of the mystery.
  258.      
  259.      As you could read, the source of the errors isn't always very 
  260.      clear. If you have problems in determining what went wrong, 
  261.      then don't hesitate and write a letter to me. (electronically 
  262.      is the fast way, or by using pen and paper, the slightly slower 
  263.      way) Try to describe clearly what you did, and what error 
  264.      messages or requesters you got. And I'll try to figure out what 
  265.      went wrong, and report a possible solution to you.
  266.      
  267.      HISTORY
  268.      1.00 and 1.01 : first versions, not released
  269.      1.02 : first bugfree and public release 
  270.      1.10 : 2nd release, added MSH support, no longer uses the
  271.             C:Mount command
  272.      FEEDBACK
  273.      
  274.      A lot of time and effort has been spent to develop this 
  275.      software. Therefore I ask something in return, if you are using 
  276.      my programs: no money, but some kind of reaction of your side. 
  277.      Just describe how difficult or easy it was to get things 
  278.      running, and how you like the result: direct access to MS-DOS 
  279.      harddisks. Even a short letter will do.
  280.      You can reach me by ordinary mail at:
  281.      
  282.      Bart Van Assche
  283.      Diepestraat 15
  284.      9820 Merelbeke (Bottelare)
  285.      BELGIUM
  286.      
  287.      Or electronically at the FIDO-number 2:292/603.17
  288.