home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 4 / AUCD4.iso / utils / enhancers / formatplus / Format+Doc next >
Text File  |  1998-08-08  |  6KB  |  188 lines

  1. FormatPlus 1.03
  2. ==========
  3.  
  4.  
  5. A small module containing extra format types, all available via the *Format
  6. command and a useful subset available via the ADFS Filer.
  7.  
  8. While this largely duplicates the functionality of !AFormat and !FDFormat, it
  9. is not intended as a replacement; these two applications are better if you
  10. want any format which isn't in the ADFS Filer subset (those which are are
  11. listed below). However, for command line, it fully replaces AFormat and
  12. FDFormat.
  13.  
  14. (Note: the ADFS Filer won't correctly identify the size of non-standard
  15. disks, though it does at least tell you if it's ADFS or DOS format. This
  16. appears to be outside my control, by 'legal' means at least.)
  17.  
  18.  
  19. The available formats
  20. ---------------------
  21.  
  22. Only the predefined disk shapes are available from the ADFS Filer's format
  23. submenus.
  24.  
  25. * ADFS
  26.  
  27. The format name has the form
  28.  
  29.     ATnSnZmLm
  30.  
  31. where:
  32.     A    indicates that this is an ADFS format
  33.     T    number of tracks per side (4 to 82)
  34.     S    number of sectors per track (5 to 21, see the density table)
  35.     Z    sector size (L or S, representing 1K or ½K)
  36.     L    LFAU size (L or S, representing 128 bytes or 64 bytes)
  37.  
  38. Defaults are available for the sector size and the LFAU size.
  39.  
  40. For the sector size, see the density table below: where only one sector size
  41. is shown for a given number of sectors, that is the default; where two are
  42. shown, you must specify which.
  43.  
  44. The LFAU size, if not specified, is determined by the density: for high
  45. density, the smaller size is used, and for double and double+ densities, the
  46. larger size is used. This is in line with the standard ADFS formats. (The
  47. minimum allocatable unit is 16 times the LFAU size.)
  48.  
  49. The following disk shapes are predefined:
  50.  
  51.     Name    Size    tps    spt    Density
  52.     ----    ----    ---    ---    -------
  53.     EX    820K    82     5    Double
  54.     E+    960K    80    6    Double+
  55.     E+X    984K    82    6    Double+
  56.     FX    1804K    82    11    High
  57.  
  58.     tps = tracks per side        sector size = 1K
  59.     spt = sectors per track        LFAU = default
  60.  
  61. Examples:
  62.  
  63.     Format 0 AT82S21 Large
  64.         double sided, high density, 82tps, 21 512-byte spt,
  65.         64-byte LFAU; 1722K on disk, 1708K free
  66.  
  67.     Format 0 A Urk
  68.         (as shown in table); 1790K free
  69.  
  70.     Format 0 at80s11LL
  71.         ds/hd, 80tps, 11 1K spt, 128-byte LFAU
  72.         1760K on disk, 1746K free
  73.  
  74.  
  75. * DOS
  76.  
  77. The format name has the form
  78.  
  79.     ATnSnCmRnHn
  80.  
  81. where:
  82.     A    indicates that this is an ADFS format
  83.     T    number of tracks per side (4 to 82)
  84.     S    number of sectors per track (5 to 21, see the density table)
  85.     C    cluster size (L or S, representing 1K or ½K)
  86.     R    number of entries in the root directory
  87.     H    number of sides (1 or 2)
  88.  
  89. The sector size is fixed at ½K; the density is determined by the number of
  90. sectors (see below).
  91.  
  92. Defaults are available for the cluster size, the number of root dir entries,
  93. and the number of sides.
  94.  
  95. The cluster size (roughly equivalent to the minimum allocatable unit) always
  96. defaults to the smaller size.
  97.  
  98. The number of entries in the root directory defaults to 112, unless the
  99. capacity of the given format is 1MB or more, in which case the default is 224
  100. (unless the large cluster size is used, in which case it's 240). So you'll
  101. always get 112 entries for double and double+ densities.
  102.  
  103. The number of sides defaults to 2 (double sided).
  104.  
  105. The following disk shapes are predefined:
  106.  
  107.     Name    Size    tps    spt    Density
  108.     ----    ----    ---    ---    -------
  109.     DOS/MX    820K    82     10    Double
  110.     DOS/M+    960K    80     12    Double+
  111.     DOS/M+X    984K    82     12    Double+
  112.     DOS/QX    1722K    82    21    High
  113.  
  114.     tps = tracks per side        sides = 2
  115.     spt = sectors per track        cluster size = small
  116.  
  117. Examples:
  118.  
  119.     Format 0 AT80S21 Large
  120.         double sided, high density, 80tps, 21 512-byte spt,
  121.         64-byte LFAU; 1680K on disk, 1662½K free
  122.  
  123.     Format 0 DOS/QX Urk
  124.         (as shown in table); 1704½K free
  125.  
  126.  
  127. Density selection
  128. -----------------
  129.  
  130. The number of sectors (-s) and the sector size (-k) together determine the
  131. density:
  132.        | Number of sectors
  133.        | 5   6   10  11  12  20  21        D  = double density
  134.     ---+---------------------------        D+ = double+ density
  135. Sector    ½K | *   *   D   D+  D+  H   H        H  = high density
  136. size    1K | D   D+  H   H   *   *   *        *  = invalid
  137.  
  138.  
  139. Density availability
  140. --------------------
  141.  
  142.              Dbl  Dbl+  High
  143.     Arc, pre A5000      €    ×     ×
  144.     A5000 and later   €    ?     €
  145.     Risc PC & A7000   €    €     €
  146.  
  147.  
  148. The LFAU
  149. --------
  150.  
  151. This is really beyond the scope of this help text; however, the following
  152. description should help:
  153.  
  154. The larger the LFAU size, the smaller the space needed by the disk map - at
  155. the expense of some potentially wasted space - whether it's actually wasted
  156. or not depends on the sizes of the files you store on the disk. Full details
  157. are beyond the scope of this help text; more information may be found in the
  158. PRMs.
  159.  
  160. Selecting a format with ½K sectors can create wasted space; conversely, given
  161. a suitable mix of file sizes, you may find you have a little spare space you
  162. wouldn't have had with the equivalent 1K sector size format.
  163.  
  164.  
  165. Correspondences with standard formats
  166. -------------------------------------
  167.  
  168. Some format names correspond to formats supplied by ADFS (well, FileCore) and
  169. DOSFS, for example AT80S10ZL = F, and DT80S9 = DOS/M. It's probably better
  170. that you use the 'standard' format names for these ;-)
  171.  
  172.  
  173. Disclaimer
  174. ==========
  175.  
  176. Disks formatted using FormatPlus's PC formats may not be readable on other
  177. computer systems. In particular, to read them on PCs may require the use of a
  178. TSR such as FDREAD (don't assume that just because ScanDisk verifies it...).
  179. Other systems may crash or simply not recognise the disk format.
  180.  
  181. DOSFS appears to cope well, though.
  182.  
  183.  
  184. Contact
  185. =======
  186.   Darren Salt
  187.     ds@youmustbejoking.demon.co.uk
  188.