home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / DOS_HELP / UNNONDOS.ZIP / UNNONDOS.DOC < prev    next >
Encoding:
Text File  |  1990-01-28  |  2.0 KB  |  60 lines

  1. UNNONDOS.DOC 01/28/90 Ward Christensen 76703,302
  2.  
  3. This archive consists of UNNONDOS.EXE, UNNONDOS.C and UNNONDOS.DOC (this file).
  4.  
  5. The C source is included for anyone wanting to enhance the program to handle
  6. diskettes - non-trivial, since for example 360K usees FD as the ID, 720K
  7. uses F9, etc.
  8.  
  9. Possible enhancement would be determining if the drive is a 12 or 16 bit
  10. fat, and patching in F8 FF FF for 12 bit, and F8 FF FF FF for 16 bit.
  11.  
  12. ================================================================
  13.  
  14. UNNONDOS is a program designed to simply and safely patch the FAT byte 00
  15. of a hard disk back to an F8.  Use it when CHKDSK says "probable non-DOS disk".
  16.  
  17.                 ----------------
  18.  
  19. Here's a sample output screen of UnNonDOS running.  
  20.   "<====" highlights input.
  21.   "<----" is for comments.                
  22.  
  23. E:\LANG\TC>chkdsk <====
  24. Volume PRIAM-E     created Jan 15, 1989 9:38p
  25. Probable non-DOS disk.   <---- oops, the msg we don't want!
  26. Continue  (Y/N)? n <====
  27.  
  28. E:\LANG\TC>unnondos e: <====  <---- so fix up the drive.
  29.  
  30. UN-NON-DOS (unnondos) Version 1.0, by Ward Christensen
  31.  
  32. Ensures that a hard disk has an F8 in byte 0 of the first FAT.
  33.         and that bytes 1-2 are FF.
  34.  
  35. Used when CHKDSK reports Probable Non-DOS disk.
  36.  
  37. Your current FAT starts out:
  38.         00 FF FF FF 0D 00 FF FF FF FF FF FF FF FF 08 00 FF FF FF FF
  39.  
  40. After patching, your buffer looks like this:
  41.         F8 FF FF FF 0D 00 FF FF FF FF FF FF FF FF 08 00 FF FF FF FF
  42.  
  43. Do you want to write the patched value back to disk? y <====
  44.  
  45. Writing...Done.
  46.  
  47. E:\LANG\TC>chkdsk e: <====  <---- lets try again
  48. Volume PRIAM-E     created Jan 15, 1989 9:38p
  49.  
  50.  22288384 bytes total disk space      <---- No more problem.
  51.         0 bytes in 1 hidden files
  52.    100352 bytes in 42 directories
  53.  20428800 bytes in 1215 user files
  54.   1759232 bytes available on disk
  55.  
  56.    633856 bytes total memory
  57.    484320 bytes free
  58.  
  59. Enjoy.  Feedback to me on Compuserve or the Ward Board (708) 949-1132.
  60.