home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2004 April / VPR0404.ISO / KNOPPIX / rawrite2-readme.txt < prev    next >
Text File  |  2003-11-26  |  2KB  |  32 lines

  1. rawrite version 2.0 - 04/30/92 - Write disk image files to floppy
  2. diskettes. Version 1 by Mark Becker; hacked by Guy Helmer to improve
  3. performance.
  4.  
  5. I'm releasing my improvements on rawrite.c to the public for general
  6. testing.  rawrite 1.2 was horribly slow on the computers I tried it
  7. on.  The main loop was writing only three sectors to the disk during
  8. each iteration.  Comments revealed that the original author found
  9. full-track writes didn't work on some machines; my bet for the reason
  10. for this problem is that the source buffer happened to cross a 64Kb
  11. physical memory boundary, which the PC's DMA can't handle.
  12.  
  13. I've included code to check for the DMA boundary problem and changed
  14. the program to write a track full of sectors in each iteration of the
  15. main loop.  The result of this modification is that version 2 should
  16. only take 1/5 or 1/6 of the time that version 1 took to write a 1.2Mb
  17. or 1.44Mb diskette.  The performance increase is nice :-)
  18.  
  19. I've also added the features to accept the disk image file, target
  20. diskette drive, and a "don't wait" option from the command line.  If
  21. the "don't wait" option is specified, the program doesn't pause for
  22. the user to insert the diskette and press <Enter>; it assumes the
  23. diskette is ready and waiting in the target drive.  Version 2 only
  24. accepts drives A and B as target drives.
  25.  
  26. Please check this program - I'm not 100% postive that it will work for
  27. all PC's. If it doesn't work, try Mark's rawrite version 1.2 to see if
  28. it will work for you, and maybe drop me an email describing the
  29. problem you encountered and the type of system you were using.
  30.  
  31. Guy Helmer
  32. ghelmer@dsuvax.dsu.edu