home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / hcf13.zip / HCFORMAT.DOC < prev    next >
Text File  |  1994-11-06  |  38KB  |  840 lines

  1. HCFORMAT V1.3 (c) 1992,1993 IMSL Software
  2.  
  3. INTRODUCTION
  4. ------------
  5.  
  6. The HCFORMAT utility formats floppy disks with capacities ranging from
  7. 20% to 128% higher than the standard DOS FORMAT.  These high-capacity
  8. floppy disk formats can be used on any PC with high-density 3.5" or
  9. 5.25" drives.  The highest capacity formats provided are:
  10.  
  11.   1.804 Mbyte format on 3.5" HD disks, instead of the normal 1.44 Mb
  12.   (22 sectors per track, 82 tracks)
  13.  
  14.   1.476 Mbyte format on 5.25" HD disks, instead of the normal 1.2 Mb
  15.   (18 sectors per track, 82 tracks)
  16.  
  17.   984 Kbyte format on 3.5" DD disks, instead of the normal 720 Kb
  18.   (12 sectors per track, 82 tracks)
  19.  
  20.   820 Kbyte format on 5.25" DD disks, instead of the normal 360 Kb
  21.   (10 sectors per track, 82 tracks)
  22.  
  23. Other formats provided are:
  24.  
  25.   1.44 Mbyte format on 5.25" HD disks, compatible with the 1.44 Mb
  26.   format of 3.5" HD disks (18 sectors per track, 80 tracks)
  27.  
  28.   720 Kbyte format on 5.25" DD disks, compatible with the 720 Kb
  29.   format of 3.5" DD disks (9 sectors per track, 80 tracks)
  30.  
  31.   1.76 Mbyte format on 3.5" HD disks, limited to 80 tracks for universal
  32.   drive compatibility (22 sectors per track, 80 tracks)
  33.  
  34.   960 Kbyte format on 3.5" DD disks, limited to 80 tracks for universal
  35.   drive compatibility (12 sectors per track, 80 tracks)
  36.  
  37.   820 Kbyte format on 3.5" DD disks, limited to standard density for
  38.   better media compatibility (10 sectors per track, 82 tracks)
  39.  
  40.   800 Kbyte format on either 5.25" or 3.5" DD disks, for a little
  41.   additional capacity over the 720 Kb format without exceeding track
  42.   or density specifications (10 sectors per track, 80 tracks)
  43.  
  44. These higher capacities are obtained primarily by making better use of
  45. the unformatted disk capacity than DOS FORMAT does, in ways which are
  46. safe and fully supported by the drives and the diskette BIOS.  However,
  47. the highest-capacity formats make use of techniques which slightly
  48. exceed the drive or media specifications.  These techniques (identified
  49. below) are usually safe, and are used by default, but can be turned off
  50. if desired.  HCFORMAT has been thoroughly tested through several
  51. generations of DOS, with many different PCs and floppy drives, and
  52. works reliably on all known systems.
  53.  
  54. These formats do not use any data compression - you can use Doublespace,
  55. Stacker, or PKZIP on top of these capacities.  The ability of Stacker to
  56. create self-mounting floppy disks can be used, along with the similar
  57. ability of HCFORMAT, to create floppy disks of up to 3.6 Mb capacity
  58. which can be used on any system.
  59.  
  60. The HC TSR driver must be installed by HCFORMAT to read or write most of
  61. the high-capacity disk formats (see the TSR command below).
  62.  
  63.  
  64. PACKAGE CONTENTS
  65. ----------------
  66.  
  67. HCFLOPPY.DOC - this file
  68. HCFORMAT.EXE - main utility
  69. COPYANY.EXE - disk copy utility
  70.  
  71.  
  72. FORMATTING WITH HCFORMAT
  73. ------------------------
  74.  
  75. The high-capacity disk formats are created by the utility HCFORMAT. The
  76. syntax is very similar to the standard DOS FORMAT commmand:
  77.  
  78.     HCFORMAT d: [/F:xxxx] | [/L] [/3] [/T:tt]  [/[+|-]M]  [/Q]
  79.  
  80. where:
  81.  
  82.     d: is the drive containing the disk to format (A: or B:)
  83.  
  84.     /F:xxxx optionally specifies the format capacity, where xxxx is:
  85.  
  86.           1.804 (or 1804) for 1.804 Mb format on a 3.5" HD disk
  87.           1.76 (or 1760) for 1.76 Mb format on a 3.5" HD disk
  88.           1.476 (or 1476) for 1.476 Mb format on a 5.25" HD disk
  89.           1.44 (or 1440) for 1.44 Mb format on a 5.25" HD disk
  90.           984 for 984 Kb format on a 3.5" DD disk
  91.           960 for 960 Kb format on a 3.5" DD disk
  92.           820 for 820 Kb format on a 3.5" or 5.25" DD disk
  93.           800 for 800 Kb format on a 3.5" or 5.25" DD disk
  94.           720 for 720 Kb format on a 5.25" DD disk
  95.  
  96.        The default format is the highest capacity supported by the
  97.        drive type (1.804 Mb for 3.5" or 1.476 Mb for 5.25")
  98.  
  99.     /L specifies that a low-density (DD) disk is to be formatted,
  100.        changing the default formats to 984 Kb for 3.5" or 820 Kb for
  101.        5.25"
  102.  
  103.     /3 specifies that a 5.25" disk is to be formatted for 3.5"
  104.        compatibility (1.44 Mb for a high-density disk, 720 Kb for a
  105.        low-density disk)
  106.  
  107.     /T:tt specifies the number of tracks to be formatted (minimum
  108.        80). HCFORMAT uses 82 by default. The DOS standard is 80.
  109.  
  110.     /Q specifies a quick re-format of a previously-formatted disk,
  111.        re-initializing only the DOS FAT and root directory to erase
  112.        the disk
  113.  
  114.     /M formats the disk as self-mountable (defined below)
  115.     /+M makes an existing high-capacity disk self-mountable
  116.     /-M removes self-mountable format, reversing the effect of /+M
  117.  
  118. Use either /F:xxxx or a combination of the /L /3 /T switches to
  119. specify the format. The /F:xxxx switch always overrides the /L /3 /T
  120. switches if specified. /3 always formats 80 tracks, overriding /T if
  121. specified.
  122.  
  123. The switches /Q, /+M, and /-M can only be used on previously-formatted
  124. disks, and each should be the only switch on the command line if
  125. specified.  The switches /F:xxxx, /L, /3, /T, and /M can only be used
  126. when formatting new disks or unconditionally re-formatting disks, and
  127. can be combined in any order subject to the override rules above.
  128.  
  129. Drive letters and switches are not case-sensitive.
  130.  
  131. Example:
  132.  
  133.     >HCFORMAT A: /F:1.44
  134.     HCFORMAT V1.2 (c) 1992,1993 IMSL Software
  135.     Formatting A: as 1440 Kb
  136.  
  137.     Insert disk to be formatted and press Enter to proceed ...
  138.  
  139.     Cyl c Hd h  (counts while formatting)
  140.     Done
  141.  
  142.     >
  143.  
  144. HCFORMAT low-level formats the disk, verifying as it formats.  If an
  145. error is detected, HCFORMAT will report it and continue.  HCFORMAT does
  146. NOT mark faulty sectors as Bad in the FAT like DOS FORMAT - it is
  147. recommended that faulty disks not be used, or else they should be
  148. thoroughly tested and marked with a separate disk test utility like
  149. Norton Disk Doctor or PC Tools which can do a proper job of it.
  150.  
  151. When low-level formatting is complete, HCFORMAT initializes the boot
  152. sector, FAT, and root directory for DOS.
  153.  
  154. If /Q (Quick format) is specified, the disk is assumed to be already
  155. formatted, and the low-level format step is skipped.  The existing
  156. format type is read from the disk, and only the DOS FAT and root
  157. directory initialization is performed.    HCFORMAT /Q will Quick Format
  158. any floppy disk with valid boot sector parameters, including standard
  159. DOS disks and self-mountable high-capacity disks.  However, the HC TSR
  160. driver must be installed to Quick Format HC disks with capacities of
  161. 1.44 Mb or higher.
  162.  
  163. Self-mountable disk format is described in a separate section below.
  164.  
  165. HCFORMAT will create only the specified high-capacity formats - DOS
  166. FORMAT should be used for all other standard disk formats.  HCFORMAT
  167. will not disallow any combination of formats and drive types - it will
  168. only display a warning message (for example, HCFORMAT will write the
  169. 5.25" 1.44 Mb format on a 3.5" disk after displaying a warning, but this
  170. is NOT the same 1.44 Mb low-level format as normally used on a 3.5"
  171. disk).
  172.  
  173. The default formats use 82 tracks, which is the practical maximum on
  174. most disks and drives.    The /T:tt switch can be used to specify any
  175. number of tracks from the DOS standard of 80 up to whatever maximum you
  176. want to try on a particular disk and drive.  This can produce format
  177. capacities slightly different from the specific formats quoted here
  178. (e.g. 830 instead of 820), but the actual capacity is always
  179. correctly displayed by HCFORMAT and correctly handled by DOS.
  180. However, the /F switch accepts only the specific 80-track and 82-track
  181. format capacities listed here.
  182.  
  183. HCFORMAT supplies a variable DOS V4.0+ volume serial number, but not a
  184. volume label (use the DOS LABEL utility afterward if you want a volume
  185. label).  HCFORMAT does not support installing bootable system files on
  186. the floppy disk (you can do this with the DOS SYS command, but only the
  187. 800/820 Kb 3.5" and, on some systems, the 960/984 Kb non-self-mountable
  188. format are bootable).
  189.  
  190. HCFORMAT does not save Unformat information, but if you run a separate
  191. FAT preservation utility such as DOS V5.0 MIRROR, PC Tools MIRROR, or
  192. Norton IMAGE on the floppy disk before doing a Quick format, it is
  193. possible to recover the contents by running the corresponding UNFORMAT
  194. utility immediately afterward.    You can create a "SafeFormat" batch file
  195. or command line macro to always perform MIRROR before HCFORMAT /Q if you
  196. prefer.
  197.  
  198. As with standard DOS formats, you should never attempt to use a format
  199. requiring high-density (HD) media with double-density (DD) media.
  200. HCFORMAT always displays a reminder message to this effect when
  201. high-density media is required.  Attempting to format double-density
  202. media as high density will probably result in a large number of read
  203. errors or verification errors while formatting. You should specify the
  204. /L switch with DD media.
  205.  
  206. HCFORMAT supports only physical floppy drives 0 and 1 (A: and B:).
  207.  
  208.  
  209. TECHNICAL INFORMATION ON DISK FORMATS
  210. -------------------------------------
  211.  
  212. HCFORMAT uses the following physical format techniques in various
  213. combinations:
  214.  
  215. - smaller gaps between sectors to fit more sectors on a track
  216.  
  217. - 80 tracks (single-step) instead of 40 on 5.25" DD disks
  218.  
  219. - 1024-byte sector size (instead of 512) to reduce the amount of sector
  220.   overhead (gaps, headers, and trailers) on the track
  221.  
  222. - 20% higher recording density on 3.5" DD disks by using the higher data
  223.   rate intended for 5.25" DD disks
  224.  
  225. - 82 tracks instead of 80, allowed by almost all drives and disks
  226.  
  227. - multi-pass formatting to place two different physical formats on the
  228.   same track to support self-mounting
  229.  
  230. HCFORMAT also makes us of the following DOS format variations:
  231.  
  232. - single-sector clusters instead of double-sector clusters on DD disks
  233.   to waste less space per file
  234.  
  235. - smaller root directory on 800/820 Kb disks, mainly to allow
  236.   self-mounting
  237.  
  238. - "virtual" FAT2 on self-mounting 1.44-1.804 Mb disks
  239.  
  240. DOS is able to accept almost any disk format which fits its basic model
  241. of a fixed track/head/sector organization and 512-byte data sector size.
  242. This includes the HC formats, with the condition that 1024-byte sectors
  243. must be translated to equivalent 512-byte sectors for DOS.  However, DOS
  244. always leaves it up to the diskette BIOS to handle setting the
  245. appropriate drive hardware parameters.    While any standard PC BIOS is
  246. able to handle all the allowable variations in drive parameters if told
  247. what to do, the BIOS normally makes certain assumptions based on
  248. long-established DOS disk formats.  These assumptions must be explicitly
  249. overridden if you want to do something different.  This is the case with
  250. the HC formats which require non-standard combinations of data rate,
  251. track stepping, and sector size.
  252.  
  253. The 1.76+ Mbyte formats on 3.5" HD disks, and the 1.44+ Mbyte formats on
  254. 5.25" HD disks, use a 1024-byte sector size instead of the standard DOS
  255. 512-byte sector size.  Attempting to read a disk in one of these formats
  256. without the HC TSR driver installed will normally result in a "Sector
  257. not found" error.  When the HC TSR driver is installed, the disk will
  258. appear to DOS to have normal 512-byte sectors, with twice the actual
  259. number of sectors per track.
  260.  
  261. The 720 Kbyte format on 5.25" DD disks uses 80 tracks instead of 40, and
  262. is identical to the 3.5" DD 720 Kb format (and to the old quad-density
  263. 5.25" disk format skipped over by IBM).  Attempting to read a disk in
  264. this format without the HC TSR driver installed will appear to succeed
  265. initially, but will usually result in a "Sector not found" error when
  266. files beyond the first cylinder are accessed.  When the HC TSR driver is
  267. installed, the drive is set to the correct 80-track mode on the initial
  268. access.
  269.  
  270. The 800 Kbyte format on either 3.5" or 5.25" DD disks uses 10 sectors
  271. per track instead of 9. DOS correctly handles this difference, and no
  272. additional steps are required. The 5.25" 800 Kb disks still need the
  273. HC TSR driver installed to set 80-track mode, but the 3.5" 800 Kb disks
  274. can be read by DOS unaided, and do not require the driver.
  275.  
  276. The 960 Kbyte format on 3.5" DD disks uses 12 sectors per track instead
  277. of 9.  This format is written using the higher 300 Kpbs data rate
  278. intended for 5.25" HD drives which rotate at 360 rpm, instead of the
  279. normal 250 Kbps rate intended for 300 rpm 3.5" drives.  Most BIOS
  280. versions automatically recognize the data rate on the disk regardless of
  281. physical disk type, but a few do not (see compatibility notes below).
  282. Also, while some BIOS versions correctly assume that this is an 80-track
  283. format, others incorrectly assume 40 tracks.  If the BIOS recognizes the
  284. 300 Kbps data rate and assumes 80 tracks, the 960 Kb disk is directly
  285. readable by DOS unaided.  Otherwise, the HC TSR driver is required to
  286. select 80-track mode and/or the correct data rate.
  287.  
  288. Note that the use of 300 Kpbs data rate instead of 250 Kbps for the 960
  289. Kb format pushes the DD media to a 20% higher density than normal, but
  290. it seems to be reliable (unlike trying to use the 500 Kbps HD data rate
  291. on DD media, which seldom works and is never reliable).
  292.  
  293. The highest-capacity format for each media type (1.804 Mb, 1.476 Mb,
  294. 984 Mb and 820 Mb) uses 82 tracks instead of 80.  Standard floppy drives
  295. do not limit the heads to stop at the 80th track - the heads are free to
  296. keep stepping until they hit the head stop (you will hear a clunking
  297. sound if this happens).  Since the head movement range is designed a
  298. little larger than necessary in order to allow for drive variations, it
  299. is usually possible to fit in at least 82 tracks instead of the standard
  300. 80.  DOS and the diskette BIOS don't care how many tracks there, as long
  301. as the number of tracks is specified correctly in the boot sector
  302. parameters of the disk.
  303.  
  304.  
  305. ADDITIONAL FUNCTIONS OF HCFORMAT
  306. --------------------------------
  307.  
  308. HCFORMAT also has several other functions, invoked by the following
  309. keyword commands:
  310.  
  311.     HCFORMAT TSR
  312.          ON | OFF
  313.          STATUS
  314.          [/?]
  315.  
  316. where:
  317.  
  318.     TSR loads the HC TSR driver
  319.  
  320.     OFF turns the HC TSR driver off (disables translation)
  321.     ON  turns the HC TSR driver back on (re-enables translation)
  322.  
  323.     STATUS displays the HC TSR driver status and BIOS drive status
  324.  
  325.     /? (or no parameter) displays command line syntax help
  326.  
  327. Keywords can be abbreviated to the minimum unique length, and are not
  328. case-sensitive.
  329.  
  330. TSR:
  331.  
  332. The command HCFORMAT TSR installs the resident HC driver, which occupies
  333. a little over 2 Kbytes of memory.  This command should normally be
  334. placed in the AUTOEXEC.BAT file to load the driver every time the system
  335. boots.
  336.  
  337. If the HC TSR driver is already loaded, you will receive an error
  338. message.
  339.  
  340. Once installed, the driver operates automatically with any of the high-
  341. capacity formats, and is fully transparent to standard disk formats.
  342. The HC TSR driver is compatible with all programs which access the
  343. floppy drives through the BIOS, including Windows 3.1, SMARTDRV, and
  344. Stacker.  It is also compatible with most disk utilities, including
  345. Norton Utilities and PC Tools, with a few sensible exceptions (see
  346. Compatibility Notes below).
  347.  
  348. The HC TSR driver can be loaded HIGH, but note that while it occupies
  349. only a little over 2 Kb when resident, HCFORMAT requires up to 20 Kb
  350. to load initially (or you can load the driver with MOUNT.EXE instead of
  351. HCFORMAT as described below, in which case it requires only about 3 Kb
  352. to load initially).
  353.  
  354. If you receive the following non-fatal warning message when loading the
  355. HC TSR driver:
  356.  
  357.   Warning - Internal buffer moved up to 64K physical memory boundary
  358.   HC TSR should be loaded at a different address to save memory
  359.  
  360. it indicates that the driver's internal 1024-byte disk I/O buffer would
  361. have crossed a 64K physical memory boundary at the address where it was
  362. loaded, which is not allowed by the hardware DMA controller.  The driver
  363. has therefore moved its buffer up to start at the boundary, wasting a
  364. few bytes of unusable memory.  You can probably avoid this by simply
  365. re-arranging the order in which TSRs are loaded.  The operation of the
  366. HC TSR driver will be unaffected in any case.
  367.  
  368. ON/OFF:
  369.  
  370. The HC TSR driver can be turned off (disabled) and back on (enabled)
  371. with these commands.  This is only necessary if you wanted to view or
  372. access HC disks without the driver's translation, or if you suspect some
  373. interference with another disk utiltity (both unlikely).
  374.  
  375. The HC TSR driver is On (enabled) when initially loaded.  It cannot be
  376. unloaded from memory unless you use a separate TSR unloading utility,
  377. but it can be temporarily disabled by the OFF command.    When the OFF
  378. command is issued, a flag is set in the driver which causes it to pass
  379. all disk I/O commands through without modification.  Issuing the ON
  380. command clears this flag and causes the driver to resume normal
  381. processing.  The On command also causes a drive reset and re-read
  382. in order to insure that any disks currently in the drives are correctly
  383. recognized.
  384.  
  385. If you turn off the HC TSR driver, or remove it from memory with a TSR
  386. unloading utility, any 720+ Kb DD disks currently in the drives can
  387. continue to be accessed normally until they are removed.  However, any
  388. attempt to access any 1.44+ Mb HC disks left in the drives will
  389. result in a "Sector not found" error.
  390.  
  391. STATUS:
  392.  
  393. The command HCFORMAT STATUS displays the current status of the HC TSR
  394. driver (Not installed/On/Off) and the driver version number.  It also
  395. shows the BIOS-reported disk type and status of each of the floppy
  396. disks.
  397.  
  398. The disk types which may be reported are:
  399.  
  400.     5.25" 360 Kb DD
  401.     5.25" 1.2 Mb HD
  402.     5.25" 720+ Kb HC 80-track
  403.     5.25" 1.44+ Mb HC 1024-byte sectors
  404.     3.5" 720+ Kb DD
  405.     3.5" 960+ Kb HC 300 Kbps
  406.     3.5" 1.44 Mb HD
  407.     3.5" 1.76+ Mb HC 1024-byte sectors
  408.  
  409. Disks with 1024-byte sectors which are in self-mountable format have
  410. the word "Mounted" appended to their type.
  411.  
  412. Example:
  413.  
  414.     >HCFORMAT STATUS
  415.     HC TSR V1.2 On
  416.     A: 5.25" 1.2 Mb HD
  417.     B: 3.5" 1.76+ Mb HC 1024-byte sectors Mounted
  418.  
  419. Drives which have not yet been accessed, or do not exist as physical
  420. drives, or are not high-density floppy drives are shown as "n/a".
  421.  
  422. Drives from which the disk has been removed continue to show
  423. their status as of the last disk access. The STATUS command does not
  424. cause HCFORMAT to re-access the disk.
  425.  
  426. The STATUS command shows physical disk type reported by the BIOS and the
  427. HC TSR driver, not the disk capacity reported by DOS.  Neither the BIOS
  428. nor the HC TSR driver distinguish between similar formats such as the
  429. 720 Kb, 800 Kb and 820 Kb formats, so these are simply shown as "720+
  430. Kb". 3.5" disks in the 800/820 Kb format are not reported as HC type,
  431. since they do not require any translation by the HC TSR driver.
  432.  
  433.  
  434. SELF-MOUNTABLE FORMAT
  435. ---------------------
  436.  
  437. A high-capacity disk normally cannot be read by DOS on a system without
  438. the HC TSR driver installed (with the exception of the 3.5" 800/820 Kb
  439. format, and sometimes the 960/984 Kb format, depending on the BIOS).
  440. This is obviously a problem if you ever need to read your disks on
  441. another system which may not have the driver installed.  The solution is
  442. to place a loadable copy of the driver on the high-capacity disk itself,
  443. and install it on the destination system directly from the high-capacity
  444. disk in a "self-mounting" process.
  445.  
  446. The /M switch causes HCFORMAT to place a loadable copy of the HC TSR
  447. driver called MOUNT.EXE on the disk when it is formatted.  Running
  448. MOUNT.EXE from the floppy disk installs a copy of the HC TSR driver
  449. which is identical to that installed by the HCFORMAT TSR command. A
  450. disk with MOUNT.EXE on it in a loadable format is called Self-Mountable.
  451.  
  452. In the case of 720-820 Kb 5.25" HC disks, or 960/984 Kb 3.5" HC disks,
  453. no special disk formatting required to make them self-mountable - the
  454. file MOUNT.EXE is simply copied to the disk as the first file, and the
  455. disk can be mounted by running MOUNT.EXE from the floppy disk.
  456. MOUNT.EXE must be the first physical file on the disk and must be small
  457. enough to fit entirely on cylinder 0.  MOUNT.EXE lacks the formatting
  458. and command functions of HCFORMAT, and is therefore much smaller.
  459. MOUNT.EXE is marked as a hidden/read-only file on the disk, and
  460. therefore does not appear in a standard directory listing.
  461.  
  462. The /+M switch can be used to make an existing 720-984 Kb disk self-
  463. mountable by placing MOUNT.EXE at the beginning of the disk, even if
  464. existing files already occupy that space.  Any existing files occupying
  465. the beginning of the disk are safely moved to make room for MOUNT.EXE.
  466. An appropriate error message will be displayed if a file named MOUNT.EXE
  467. is already found on the disk, or if the disk is full and there is no
  468. room for MOUNT.EXE (there must be 2 Kb of space free). If you have a
  469. full 720-960 Kb disk which you want to make self-mountable, you must
  470. reformat it as the next higher capacity to make room for MOUNT.EXE.
  471.  
  472. If you subsequently want to make the disk non-mountable, use the /-M
  473. switch of HCFORMAT.  Alternatively, you can simply remove the read-only
  474. protection and un-hide MOUNT.EXE with the command:
  475.  
  476.     ATTRIB -R -H A:MOUNT.EXE
  477.  
  478. and then delete the file MOUNT.EXE.
  479.  
  480. Remember, if you try to access files on a 720-820 KB 5.25" high-capacity
  481. disk (or a 960 Kb 3.5" disk on some systems) without installing the HC
  482. TSR driver, the operation will fail with a disk error at the first
  483. attempt to read beyond cylinder 0.  MOUNT.EXE is able to load
  484. successfully because it is small enough to fit entirely on cylinder 0.
  485.  
  486.  
  487. Self-mounting formats with 1024-byte sectors:
  488.  
  489. Things are a little more complicated with the 1.44-1.804 Mb high-density
  490. HC formats.  Since they use 1024-byte sectors, they cannot be read at
  491. all by DOS without the HC TSR driver installed.  Therefore, some special
  492. formatting on the first track is required to make them self-mountable on
  493. another system.
  494.  
  495. When used with high-capacity 1.44-1.804 Mb floppy disks, the /M
  496. switch of HCFORMAT reformats track 0 of the disk to have two separate
  497. areas in different formats.  Part of the track is a standard DOS format
  498. with 512-byte sectors, and MOUNT.EXE is placed in this readable area.
  499. The other part of the track is a high-capacity format with 1024-byte
  500. sectors, where the standard high-capacity boot sector and FAT are
  501. placed.  None of the disk capacity is lost by this formatting (however,
  502. DOS must be tricked a little by the HC TSR driver to get away with this!).
  503.  
  504. When read by DOS without the HC TSR driver installed, the Mountable disk
  505. will initially appear to be a DOS disk of very small capacity (8 sectors
  506. total), labelled "HC DISK V1", with a single file called MOUNT.EXE
  507. occupying the entire disk.  The directory listing contains a message
  508. with instructions to run MOUNT instead of file names:
  509.  
  510.        Volume in drive A is HC Disk V1
  511.        Directory of  A:\
  512.  
  513.       1This is          0
  514.       2a high-          0
  515.       3capacty          0
  516.       4disk.          0
  517.       5Run          0
  518.       6MOUNT          0
  519.       7to          0
  520.       8access.          0
  521.       MOUNT    EXE     2048  17-09-93
  522.           9 File(s)     0 bytes free
  523.  
  524. When you run MOUNT from the floppy disk, it installs the HC TSR driver.
  525. The disk will then be automatically mounted and appear as a normal high-
  526. capacity 1.44-1.804 Mb disk, with no trace of MOUNT on it.  This process
  527. is known as "mounting" the disk, and the disk is then reported as
  528. "Mounted" by the STATUS command.  If the HC TSR driver is already
  529. installed, self-mountable disks are automatically mounted on the initial
  530. access, and there is no need to run MOUNT.  There is no indication that
  531. such a disk is mounted unless you run HCFORMAT STATUS.    You can use
  532. these disks in exactly the same way as non-mountable HC disks.
  533.  
  534. Only the normal high-capacity disk will appear as long as the HC TSR
  535. driver is operating, even if the disk is removed and reloaded later.
  536. Any other self-mountable disks inserted will also be mounted
  537. automatically.    If you remove or turn off the HC TSR driver, the mounted
  538. disk will again appear in its original form, showing MOUNT.EXE and the
  539. directory instructions as the only contents.  No changes are written to
  540. the disk by mounting or unmounting it.
  541.  
  542. The /+M switch of HCFORMAT can be used to make an existing 1.44-1.804 Mb
  543. HC disk self-mountable by reformatting track 0.  Any existing disk
  544. contents are preserved.  The conversion can be reversed by the /-M
  545. switch, restoring the normal non-mountable high-capacity format.  Using
  546. /+M on a high-capacity disk which is already in self-mountable format,
  547. or /-M on a high-capacity disk which is not in self-mountable format,
  548. has no effect.
  549.  
  550.  
  551. FALLBACK PROCEDURES
  552. -------------------
  553.  
  554. If you ever need to read a non-self-mountable 720-984 Kb HC disk on
  555. a system without the HC TSR driver, and the driver is not available,
  556. there is a simple way to temporarily mount these disks using the DOS
  557. DEBUG utility or BASIC.  You must change the BIOS media state byte at
  558. memory location 40:90 hex (for drive A:) or 40:91 hex (for drive B:)
  559. to select the correct drive mode (single-step/80-track and 300 Kbps
  560. data rate).  This fix will last as long as the disk stays in the drive.
  561.  
  562. With DEBUG:
  563.  
  564.     > DEBUG
  565.     -e 40:90 57        (substitute 40:91 for drive B:)
  566.     -q            (quit DEBUG)
  567.  
  568. With BASIC:
  569.  
  570.     DEFSEG    &H40
  571.     OUT &H90 &H57        (substitute 91 for drive B:)
  572.  
  573. You can write the three numbers "40:90 57" on the disk label if you want
  574. to remember them.
  575.  
  576. Additional fallback for 960/984 Kb disks:
  577.  
  578. If you get a "General failure" error trying to read a self-mountable
  579. 960/984 Kb disk on a machine without the HC TSR driver, the problem is
  580. that the BIOS is not automatically trying the 300 Kbps data rate.  The
  581. above DEBUG/BASIC fallback procedure will fix it, but there is also
  582. another way to get DOS to load MOUNT from the disk:  enter the machine's
  583. Setup mode, change the floppy drive type from 3.5" 1.44 Mb to 5.25" 1.2
  584. Mb, and re-boot.  The BIOS will then assume that the drive is a 5.25"
  585. 1.2 Mb drive, and will automatically try the 300 Kbps data rate.  Don't
  586. forget to change the drive type back after loading MOUNT.
  587.  
  588.  
  589. COPYANY
  590. -------
  591.  
  592. The 1.44 Mbyte and 720 Kb formats on 5.25" disks appear to DOS to be
  593. exactly the same as for 3.5" disks, and allow disk copying back and
  594. forth. There is one problem:  DOS DISKCOPY recognizes different
  595. physical drive types and will refuse to copy from a 3.5" drive to a
  596. 5.25" drive (although the opposite direction works, and DISKCOMP will
  597. work as long as the drives are specified in the correct order).
  598.  
  599. The COPYANY utility is provided to avoid this problem with DISKCOPY.
  600. COPYANY will copy any floppy disk exactly to any other disk in a
  601. compatible format without worrying about the drive type.  Compatible
  602. means that the number of tracks and the number of sectors per track of
  603. the destination disk must be equal to (or greater than) the source disk.
  604. Both source and destination disks must be pre-formatted, and the source
  605. and destination drives must be different.
  606.  
  607. DOS DISKCOPY will handle copying in the same drive or between compatible
  608. drives, even for high-capacity formats as long as the HC TSR driver is
  609. installed.
  610.  
  611. In addition, COPYANY will automatically handle disks in high-capacity
  612. format (1024-byte sector format or 80-track DD format) even without the
  613. HC TSR driver installed.  This provides a disk copy capability in the
  614. event that the driver is not installed on the host system.
  615.  
  616. Syntax: >COPYANY B: A:      (order is source: dest:)
  617.     COPYANY V1.0 (c) 1992 IMSL Software
  618.     Copying B: to A: - Press Enter when ready to proceed ...
  619.  
  620.     Copying 1440 Kb
  621.  
  622.     Cyl c Hd h      (counts while copying)
  623.     Done
  624.  
  625.     >
  626.  
  627. COPYANY will not reproduce a self-mountable copy of a 1.44 Mb
  628. disk.  It will copy the high-capacity portion of the disk if the disk is
  629. mounted.  The resulting copy can then be converted with HCFORMAT /+M if
  630. desired.  COPYANY cannot copy the unmounted disk.
  631.  
  632.  
  633. PROBLEMS/COMPATIBILITY NOTES
  634. ----------------------------
  635.  
  636. Compatibility with DOS versions and different types of PCs:
  637.  
  638. HCFORMAT has been extensively tested with PCDOS and MSDOS V3.3 through
  639. V6.0, on a variety of 286/386/486 machines including IBM, Compaq,
  640. Toshiba, AST, Zenith, clones with various AMI and Phoenix BIOS versions,
  641. and on systems with various combinations of floppy and hard disks.  The
  642. utilities have been made compatible with the few quirks found, and
  643. should operate reliably on any machine.
  644.  
  645. DOS problems:
  646.  
  647. The HC TSR driver is dependent on one major assumption about the way
  648. that DOS operates:  DOS always tests for a hardware disk change
  649. indication prior to accessing the disk, and reads the new disk
  650. parameters from the boot sector if a change is detected.  The driver
  651. relies on this action to detect when a HC disk requiring translation is
  652. inserted.  This is a very safe assumption, since DOS is designed to
  653. operate this way.  However, there are a few cases where programs or DOS
  654. itself may violate this assumption.  In particular, DOS may fail to
  655. re-read the type of disk from the boot sector after a disk change
  656. indication if the same disk is re-inserted.  This will result in a disk
  657. read failure if you remove and re-insert a disk with 1024-byte
  658. sectors, since the disk change indication causes the HC TSR driver to
  659. stop translating the disk format until the new disk type is read.
  660. If this should happen, simply remove and re-insert the disk, and then
  661. do a DIR listing on it (always a good idea when inserting a new HC
  662. disk).    An example of a program bypassing the disk type check after a
  663. disk change is probably the bug in PKZIP V2.04C reported below.
  664.  
  665. Some older versions of DOS (like Zenith DOS V3.3+) fail to recheck the
  666. disk parameters between operations. This can cause strange effects
  667. (like reporting the wrong amount of free space on the disk) if you
  668. have issued a command which changes the disk parameters without
  669. physically switching disks (e.g. MOUNT, or HCFORMAT /Q). Issuing a
  670. CHKDSK command after such operations avoids problems with these older
  671. versions of DOS.
  672.  
  673.  
  674. BIOS variations:
  675.  
  676. A minor BIOS quirk which you may notice is that the floppy disk controller
  677. on some machines returns an error code reported by DOS as "General failure"
  678. rather than the correct "Sector not found" when attempting to read a
  679. disk with 1024-byte sectors without the HC TSR driver installed.
  680. HCFORMAT therefore assumes that the BIOS might return almost any error
  681. code when initially accessing such a disk in order to work on all
  682. machines.
  683.  
  684. Another variation between machines is whether or not the BIOS will
  685. handle 960/984 Kb disks without the HC TSR driver installed.  The BIOS
  686. on most machines automatically tries all 3 possible data rates
  687. (500/300/250 Kbps) on each newly loaded disk to find the correct one,
  688. regardless of physical drive type.  However, on some machines the BIOS
  689. does not do this (e.g.    AMI and Phoenix 386 BIOS clones), and the disk
  690. is not readable without the driver to select the correct data rate.
  691. Even when the data rate is selected correctly, the BIOS does not know
  692. whether there should be 40 or 80 tracks on this type of disk - some
  693. machines correctly assume 80 tracks (e.g. Zenith, AST), while others
  694. incorrectly assume 40 tracks (e.g. Compaq, Phoenix 286 BIOS clones).
  695. If the BIOS assumes 80 tracks, DOS can read the disk without
  696. translation.  If not, then the HC TSR driver is required to set 80-track
  697. mode, and the disk must be made self-mountable if you may want to use it
  698. on another such system which does not have the driver installed.
  699.  
  700. If the BIOS of the target machine does not automatically recognize the
  701. 300 Kbps data rate on a 3.5" 960/984 Kb disk, the disk cannot self-mount
  702. on that machine (while it might be possible to create a unique
  703. self-mounting 960/984 Kb format for such machines, it's really too much
  704. trouble since they are the exception).    The fallback procedures
  705. described above for changing the drive media state byte or drive type
  706. will work around the problem if you are ever stuck needing to read the
  707. disk on such a machine without the HC TSR driver.
  708.  
  709. Most BIOS and DOS versions need the HC TSR driver to select 80-track
  710. mode for 720-820 Kb 5.25" disks, but there are a few BIOS versions
  711. around which do so on their own, whether by accident or because they are
  712. smarter.  On these machines you may find that the 720-820 Kb 5.25" disks
  713. are readable without the driver.
  714.  
  715.  
  716. Disk Repair Utilities (e.g. Norton Disk Doctor):
  717.  
  718. Most disk utilities accept the high capacity formats without problems.
  719. However, disk repair utilities like Norton Disk Doctor should not be
  720. allowed to attempt FAT repairs on high capacity diskettes.  Since they
  721. do not recognize the specific format, they may assume that the FAT is
  722. damaged and attempt to "repair" it by converting it to one of the
  723. standard DOS formats.  (For that matter, I have not found these disk
  724. repair utilities to be intelligent enough to turn loose on any disk.)
  725. The best defence against disk problems is to run a FAT backup utiltity
  726. like MIRROR or IMAGE on the disk - you can then recover the files if the
  727. disk is damaged by quick-formatting it and running the corresponding FAT
  728. recovery utiltiy.
  729.  
  730.  
  731. PKZIP V2.04C/V2.04E
  732.  
  733. PKZIP version 2.04C had a problem with non-standard disks when using its
  734. new option to span multiple disks with a single ZIP file.  The problem
  735. appears as a "Sector not found" error when loading the 3rd or 4th disk
  736. of a high-capacity backup set.    Apparently PKZIP bypasses DOS and
  737. assumes that new disks are the same format as the previous one, instead
  738. of following the normal practice of reading the boot sector to determine
  739. the disk format.  The maintenance release 2.04E of PKZIP (which quickly
  740. followed the inital 2.04C release of version 2) fixed this problem.
  741.  
  742.  
  743. Using DOS disks in an Apple MacIntosh:
  744.  
  745. Newer Macs can read and write the DOS 1.44 Mb HD floppy disk format using
  746. utilities such as Apple File Exchange or DOS Mounter.  The HC formats
  747. are NOT compatible with these utilities, and cannot be used to exchange
  748. data with a Mac.
  749.  
  750.  
  751. TIPS
  752. ----
  753.  
  754. Running HCFORMAT under Windows:
  755.  
  756. Make sure that you load the HC TSR driver BEFORE starting Windows;
  757. otherwise it will be loaded only for a single temporary DOS session.
  758.  
  759. Making multi-disk sets self-mounting:
  760.  
  761. Only the first disk of a multi-disk set need be made self-mounting - all
  762. subsequent disks will be automatically mounted once the HC TSR driver is
  763. installed from the first disk.
  764.  
  765. Maximum number of tracks:
  766.  
  767. Many drives will successfully read and format 83 or 84 tracks, but the
  768. lowest common denominator appears to be 82 (the HCFORMAT default).
  769. Experiment if you like, but best to stick to 82 maximum for
  770. compatibility between drives.
  771.  
  772. Compatibility with untested machines:
  773.  
  774. If you are trying an HCFORMAT disk on a new machine or a different
  775. version of DOS, it is a good idea to check out the disk with CHKDSK
  776. and DIR after inserting it, MOUNTing it, reformatting it, or
  777. quick-formatting it. As noted above under Compatibility Notes, there
  778. are some quirks to beware of with older versions of DOS.
  779.  
  780.  
  781. RELEASE HISTORY
  782. ---------------
  783.  
  784. V0.9 - Beta test
  785.  
  786. V1.0 - Initial release
  787.  
  788.      - BIOS/FDC variations between different machines accomodated
  789.  
  790. V1.1 - HCMOUNT combined into MOUNT, separate UNMOUNT utility added
  791.  
  792.      - HCFORMAT aborts immediately if disk is write-protected
  793.  
  794.      - A few other improved error messages
  795.  
  796. V1.2 - 960 Kb format added, other disk formats unchanged from previous
  797.        versions (note: V1.0 or V1.1 of the HC TSR driver will correctly
  798.        handle 960 Kb disks)
  799.  
  800.      - HCTSR, MOUNT, and UNMOUNT combined into HCFORMAT to make a single
  801.        program with multiple functions; only COPYANY is still separate
  802.  
  803.      - The HC TSR driver now incorporates disk mounting (formerly found
  804.        in MOUNT.EXE only); this makes the driver slightly larger, but
  805.        makes it easier to use self-mountable disks transparently (note:
  806.        MOUNT.EXE V1.2 is not identical to earlier versions of MOUNT.EXE
  807.        which may be found on existing self-mountable disks, but is
  808.        compatible)
  809.  
  810.      - TSR On/Off commands added to HCFORMAT to replace the
  811.        corresponding functions of MOUNT/UNMOUNT; Off command disables
  812.        the TSR entirely (rather than just for self-mountable disks),
  813.        allowing some internal simplifications
  814.  
  815.      - Status display command has been added to HCFORMAT to check status
  816.        of the TSR and drive format translation (note: the STATUS command
  817.        shows V1.0 or V1.1 of the HC TSR driver as "V1.0", and cannot
  818.        display the drive format translation with this version of the
  819.        TSR)
  820.  
  821.      - HCFORMAT can now format new self-mountable disks in one step, and
  822.        can make existing 720/800/960 Kb disks self-mountable without
  823.        removing the existing contents (note slight change in /M switch
  824.        syntax)
  825.  
  826.      - Floppy drives now reset when enabling the HC TSR driver
  827.  
  828. V1.3 - 82-track formats added (1.804/1.476 Mb and 984/820 Kb)
  829.  
  830.      - /T:tt switch to adjust number of tracks
  831.  
  832.      - simplified formatting options added: /L /3
  833.  
  834.      - DD formats now use single-sector cluster size (except 720 Kb
  835.        format remains with 2-sector cluster size for 3.5"/5.25"
  836.        compatibility)
  837.  
  838.      - root directory size is reduced on 800/820 Kb disks to allow space
  839.        on cylinder 0 for MOUNT.EXE in self-mounting format
  840.