home *** CD-ROM | disk | FTP | other *** search
/ hobbes.nmsu.edu / 2008-06-02_hobbes.nmsu.edu.zip / dos / 2GBFIXPA.ZIP / 2GBFIXPA.TXT
Text File  |  2007-05-22  |  1KB  |  28 lines

  1. A patch to further fix 2GBFIX.
  2.  
  3. Using 2GBFIX, found that my DOS word processor (the obscure Celebrity) STILL
  4. wouldn't save if free space > 2G AND file > 65000, so experimented with
  5. patching $FFFF value returned (MAXCLUSTERS in .asm, offsets $0174 and $018A in
  6. .com); $FFFE didn't help, but $FF00 solved my problem. (BTW, I rarely edit
  7. files over 65000 bytes, though the program isn't limited, so perhaps will run
  8. into this yet again sometime when free space + file size exceeds maxint!)
  9.  
  10. This may apply only to my unique circumstances with a cranky but cherished
  11. antique w/p. But I noticed that 2GBFIX is in the top 50 downloads from Hobbes
  12. in May of 2007 (!), so this patch to it may help someone else. -- I'm not the
  13. author (my thanks to him), just long-time user of 2GBFIX.
  14.  
  15. Patching the .com with debug from a DOS prompt is easier than re-assembling:
  16.  
  17. >debug 2gbfix.com
  18. -e cs:0174
  19. (shows byte as FF; type 00, and <enter>)
  20. -e cs:018a
  21. (again shows byte as FF; type 00, and <enter>)
  22. -w
  23. -q
  24. > (done, back to DOS prompt)
  25.  
  26. If trying other values, remember that in Intel format numbers are stored with
  27. the lower-order byte in the lower address!
  28.