home *** CD-ROM | disk | FTP | other *** search
/ Login Magazine 68 / LoginMagazineNo68.bin / bootdsks.144 / RAWRITE12.DOC < prev    next >
Text File  |  1999-11-07  |  2KB  |  87 lines

  1. RaWrite 1.2
  2. -----------
  3.  
  4. Purpose
  5. -------
  6.  
  7. Write a disk image file to a 360K floppy disk.
  8.  
  9.  
  10. Equipment/Software Requirements
  11. -------------------------------
  12.  
  13. PC/XT/AT with a floppy disk drive capable of reading and writing a 360K
  14. diskette.
  15.  
  16. This program uses generic low-level BIOS diskette read/write functions.  It
  17. should be portable to nearly every PC in existance.  PS/2's should be able
  18. to run RawWrite but this has not been tested.
  19.    
  20.  
  21. CAVEAT
  22. ------
  23.  
  24. This program will write ANY disk file to a floppy, overwriting any previous
  25. information that may have been present.  If you wish to re-use a diskette
  26. under MS-DOS thats been written to by RawWrite then the disk will need to be
  27. reformatted; all MS-DOS specific information will have been erased.
  28.  
  29.  
  30. How to Compile
  31. --------------
  32.  
  33. TCC rawrite.c
  34.  
  35. The source code is specific to Borland International's Turbo C 2.01 and has
  36. been tested in all memory models.
  37.  
  38.  
  39. Usage
  40. -----
  41.  
  42. C> RAWRITE
  43.  
  44. And follow the prompts.  All arguments are case-insensitive.
  45.  
  46. A sample run is shown below.  The disk file being written, in this example,
  47. is named DEMODISK and the destination - where the image is being written -
  48. is the B: drive.
  49.  
  50. This program may be aborted at any time by typing ^C.
  51.  
  52.  
  53. Sample Run
  54. ----------
  55.  
  56. C> RAWRITE
  57. RaWrite 1.2 - Write disk file to raw floppy diskette
  58.  
  59. Enter source file name: DEMODISK
  60. Enter destination drive: B
  61. Please insert a formatted 360K diskette into drive B: and press -ENTER- :
  62. Writing image to drive B:
  63.  
  64.  
  65. Errors
  66. ------
  67.  
  68. RaWrite attempts to determine if the diskette is a 360K, 720K, 1.2M, or
  69. 1.44M diskette by reading specific sectors.  If the inserted diskette is not
  70. one of the mentioned types, then RaWrite will abort with a short error
  71. message.
  72.  
  73. Errors such as write protect, door open, bad disk, bad sector, etc. cause a
  74. program abort with a short error message.
  75.  
  76.  
  77. History
  78. -------
  79.  
  80.   1.0    -    Initial release
  81.   1.1    -    Beta test (fixing bugs)                4/5/91
  82.           Some BIOS's don't like full-track writes.
  83.   1.101    -    Last beta release.                4/8/91
  84.           Fixed BIOS full-track write by only only
  85.         writing 3 sectors at a time.
  86.   1.2    -    Final code and documentation clean-ups.        4/9/91
  87.