home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / SRC / msdos_diskaccess.lzh / MS_DISK_ACCESS / README.osk < prev    next >
Text File  |  1991-10-20  |  2KB  |  34 lines

  1. This are tools for accessing MSDOS-Disks from OSK.
  2.  
  3. The Sources are ported for Atari ST computers running Cumana OSK, but the
  4. changes for other systems are simple.
  5.  
  6. There are two modes of Operation for this program. The first is the normal
  7. diskaccess mode. If you have a device driver, which is able to handle
  8. MSDOS-Disk change the name tos0 in the sources to this name. 
  9. The second mode is taken, if you set the environment variable FLOPPY.
  10. The the value of that variable is taken as the access path. It may be an
  11. alternative device, but an ordinary file is possible. The only thing you have
  12. to do is:
  13. read the physical data of the msdos disk by any tricky program into a
  14. diskfile. I called my program mstohd.
  15. Than setenv FLOPPY to that filename.
  16. And voila msdir, msread, mswrite, ... anything works.
  17. If you want to transfer it back take your tricky image writer. Mine is
  18. called hdtoms.
  19.  
  20. I prefer to read the whole disk and work on HD, since my floppydriver can
  21. read MSDOS-Disks, but it is awfully slow. The mstohd reads a disk in 70
  22. seconds, and on the Harddisk the access is fast.
  23.  
  24. mstohd uses the fact, that the WD 177x cannot detect the length of a sector.
  25. it just reads it in. Therefore i calculate the LSN for my track/sector-number
  26. and use the normal diskaccess. THIS WORKS, BUT MAY DAMAGE INTERNAL DATA
  27. STRUCTURES OF THE DRIVER. DON'T TRY IT ON A MULTIUSER SYSTEM UNLESS YOU ARE
  28. SECURE THE DRIVER CAN HANDLE THIS. The driver should handle this, because 
  29. otherwise a wrong disk could stop the whole system, but as i inserted a VAX
  30. Disk into a MAC, the MAC crashed awfully. Only reset helped. SO TRY IT ON
  31. A NOT CROWDED SYSTEM.
  32.  
  33. Knut Grunwald, Maximilianstr. 25, 6729 Jockgrim, BRD
  34.