home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 18 / amigaformatcd18.iso / -in_the_mag- / emulation / fd / x_handler.readme.text < prev    next >
Text File  |  1997-08-01  |  9KB  |  217 lines

  1. FD.DEVICE and XFSD HANDLER
  2.  
  3. This is a powerful Amiga device and handler combination which allows
  4. any drive to read more than a dozen formats, all accessed via a single
  5. desktop icon and drive name - regardless of the system that originally
  6. wrote the disk.
  7.  
  8. This is the product of years of development by the author of
  9. QL_Handler (for Qdos disks) and SP_Handler (for Spectrum disks)
  10. which are included in the Qdos4Amiga and Speculator97 distributions.
  11. Like all Frank Swift's Amiga programs, it is freely distributable.
  12.  
  13. It is a response to the way icons could proliferate on the desktop
  14. with lots of handlers connected to each drive, in case a particular
  15. format disk was inserted. The recognition of disks became slow and
  16. handlers clashed in their interpretation of the disk format. There
  17. had to be a better way. This is it. It's much faster than multiple
  18. handlers, and more reliable too. It reads more formats than before,
  19. including some - like Windows95 long file names and Archimedes D
  20. format disks - which have not previously been supported by Amigas.
  21.  
  22. This program is free and supplied without warranty. If it doesn't
  23. work for you, remember how much you paid for it.
  24.  
  25. As often seems to happen, Simon Goodwin has ended up writing the
  26. documentation. This is a bit of a rush job as we want to get the
  27. program onto the next Amiga Format CD and there are only hours to
  28. go before it's mastered. And it's after 5am and I've just finished
  29. a long column for the deadline in the same issue. So if you'd like
  30. more documentation, send (constructive) comments to:
  31.  
  32.     simon@studio.woden.com
  33.  
  34. All technical comments and suggestions should go to the author,
  35. Frank Swift, who lives in the pre-modem world, where he can still
  36. get some real work done ;-) His snail-mail address is:
  37.  
  38.     325 Charlestown Road, Blackley, Manchester M9 7ES, UK.
  39.  
  40. Friendly feedback from users would be much appreciated. 
  41.  
  42.  
  43.  
  44. Features
  45.  
  46. * A single Handler and device that reads the following formats:
  47.  
  48. Name        System                Make/Model
  49.  
  50. Acorn          Archimedes D format   Acorn Computers
  51. Amiga OFS      Workbench 1.x         Commodore
  52. Amiga FFS      Workbench 2.xx        Commodore
  53. Amiga FFS/DC   Workbench 3.xx        Commodore/Gateway
  54. Atari ST/TT    TOS 1, TOS 2 etc.     Atari Corporation
  55. BetaDOS        Spectrum and +D       BetaSoft
  56. Diskspare        Amiga custom          High capacity format
  57. GDOS           Sinclair Spectrum     MGT Disciple Interface
  58. G+DOS          Sinclair Spectrum     MGT/Datel +D interface
  59. MasterDOS      SAM Coupe             MGT and BetaSoft
  60. MSDOS          IBM PCs and clones    Microsoft licensees
  61. MSXDOS         All MSX disk micros   Sony, Toshiba etc.
  62. QDOS           QL & clones           Sinclair, CST, Miracle
  63. SAMDOS         SAM Coupe             Miles Gordon Technology          
  64. Windows95/NT   Intel boxes & clones  Anyone with the $$$$$$$
  65.  
  66. Support for CP/M formats (particularly Amstrad PCW and Plus 3)
  67. and Apple Mac is hoped to follow if you make encouraging noises
  68. to the author. All other suggestions will be considered, as long
  69. as you can provide documentation of the low level and logical
  70. formats you'd like added. The intention is to make fd.device
  71. flexible enough to cope with any format the Amiga can access,
  72. including FM & GCR encodings and multiple sector-sizes per track.
  73.  
  74. * Compatible with ALL Amiga systems from Workbench 1.2 to 3.1,
  75. so you can format OFS disks on an A4000, and read FFS DC ones
  76. on an old A500!
  77.  
  78. * Compatible with HD (High Density) drives as well as DD ones,
  79. and odd media sizes like 3 inch and 5.25 inch drives.
  80.  
  81. * Supports Windows95 long file names (and would write them too
  82. by now if Micro$oft hadn't found such an absurd way to add
  83. them to the MSDOS format!)
  84.  
  85. * Includes FILE0 and FILE1 icons that allow floppy disk images
  86. to be manipulated as files (containing a whole disk's contents)
  87. on other media, e.g. RAM or hard drive. If you can't see the
  88. point of this, you needn't worry about it. Just leave the icons
  89. where they are.
  90.  
  91.  
  92.  
  93. Limitations
  94.  
  95. Format disk works but always uses the format that the disk is already
  96. in - so you can't use X filesystem to change the formatting of a disk.
  97. We have yet to work out a good way to indicate the desired format
  98. when there are so many possibilities, including various capacities
  99. for a given format: for instance single sided 360K ST, double sided
  100. 720K Mega ST and 1.44 Mb Atari TT formats...
  101.  
  102. This is the first release. Writing has only been extensively tested
  103. on Qdos format disks (DD and HD) and is not yet supported on Spectrum
  104. and PC formats. If you try it a seek error is the likely result. The
  105. disk contents will not be changed, but don't trust X filesystem to
  106. your only copy of a file, just in case. You have been warned!
  107.  
  108. The wonderful CatWeasel disk controller is not supported because its
  109. MultiDisk device requires the user to decide the format of each disk,
  110. rather than letting the sytstem work it out for itself. The original
  111. QL_Handler and SP_Handler do work rather well with CatWeasel, though.
  112.  
  113.  
  114.  
  115. Installation (at last!)
  116.  
  117. The package is divided in standard Amiga style into two parts - a
  118. 'handler', XFSD which recognises the logical format of disks (the
  119. directory and file details) and a 'device', fd.device, which reads
  120. the disk tracks and decodes them into individual data 'sectors'.
  121. There is a special version, XFSD-AMI, which includes support for
  122. the Amiga file structures. Normally this is not needed - you can
  123. use the DF0:, etc. icons as normal - but if you want the FD icon
  124. to recognise Amiga Diskspare, OFS or FFS disks you must copy the
  125. xfsd-ami version to directory L: renaming it to remove the -ami,
  126. in place of the standard xfsd which only reads 'alien' formats.
  127.  
  128. The handler can be manually installed from Shell, Opus, Workbench
  129. etc. as follows;
  130.  
  131. Open the drawer "L" in the XFS directory and drag the program "xfsd"
  132. to your system "L:" drawer.
  133.  
  134. Open the drawer "DEVS" in the XFS directory and drag the program
  135. "fd.device" to your system "DEVS:" drawer.
  136.  
  137. Both files must be in the correct directory or the handler will not
  138. work. This is the most common reason people can't get new devices
  139. and handlers to work.
  140.  
  141. The procedure to give these programs access to your drives depends
  142. on your version of Workbench. Modern Amigas have a DEVS:DOSDRIVERS
  143. drawer which contains a 'setup' icon for each desktop drive icon.
  144. If you have an old system (such as Workbench 1.3) you'll need to
  145. edit your startup-sequence (user-startup on Workbench 2) file in
  146. the S: directory to 'mount' the devvice and handler on chosen drives.
  147.  
  148.  
  149. Procedure for Workbench 2.1 and later
  150.  
  151. Drag the icons FD0: and FD1: from "Devs/DOSDrivers" to your system
  152. "Storage/DOSDrivers" drawer or "Devices/DOSDrivers" drawer. The second
  153. choice will mount the X handler every time you reboot the system,
  154. allowing relatively instant access.
  155.  
  156. The handler is manually activated by double clicking the FD0: or FD1:
  157. icon in the Storage sub-directory. This makes the corresponding FD:
  158. icon appear on the desktop. Other programs can read the disk, whatever
  159. the format, by using the drive name prefix FD instead of DF. There are
  160. icons for two drives supplied; you can edit these by changing the name
  161. and UNIT number inside if you have more than two drives, e.g. UNIT=3
  162. for FD3: etc.
  163.  
  164. If you want the handlers to be activated automatically on start-up then
  165. they should be put in your system "Devs:DOSDrivers" drawer.
  166.  
  167.  
  168. Procedure for old Workbenches
  169.  
  170. Copy the mountlist.fd file to DEVS: and add a line to your startup
  171. for each drive you want to connect to XFS, as follows:
  172.  
  173. MOUNT FD0: FROM DEVS:mountlist.fd
  174.  
  175. MOUNT FD1: FROM DEVS:mountlist.fd
  176.  
  177. etcetera for up to four drives (FD0: FD1: FD2: and FD3: corresponding
  178. to DF0: to DF3: respectively).
  179.  
  180. If you just want to try it, without changing your startup, put the XFSD
  181. and fd.device files in the required directories (L: and DEVS:, remember)
  182. and type one of these commands into a shell or the Workbench 2 'Execute
  183. command' window (if you've got it).
  184.  
  185.  
  186.  
  187. Disk recognition
  188.  
  189. As if all this was not enough, fd.device inserts an input stream handler
  190. to allow you to force it to re-read the disk, at the same time sending a
  191. disk change interrupt to whatever dos handler is using it.
  192.  
  193. The key combination(s) for fd.device are
  194.  
  195.     left_alt + numeric_pad(unit#)
  196.  
  197. ie left alt with numeric pad 0 would force a disk change on unit 0.
  198.  
  199. The same is true for the file.device, although in this case it also allows
  200. you to select another disk image file for access, via a requester.
  201.  
  202. The key combination(s) for file.device are
  203.  
  204.     left_alt + left_shift + numeric_pad(unit#)
  205.  
  206. ie left alt plus left shift plus numeric pad 1 would force a disk change
  207. on unit 1.
  208.  
  209. NOTEZ BIEN
  210.  
  211. This usage may change - especially the particular key combinations
  212. (because they may clash with other programs).
  213.  
  214.  
  215.  
  216. Frank Swift and Simon N Goodwin, Manchester and Oldbury, UK, August 1997.
  217.