home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / apple2 / 25380 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  1.8 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!stanford.edu!apple!goofy!mumbo.apple.com!gallant.apple.com!city-lights.apple.com!user
  2. From: mattd@apple.com (Matt Deatherage)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: RamFAST & GS/OS cache
  5. Message-ID: <mattd-111292184623@city-lights.apple.com>
  6. Date: 12 Dec 92 02:48:32 GMT
  7. References: <mattd-011292180158@city-lights.apple.com> <75118@apple.apple.COM> <1fneioINNpgi@gap.caltech.edu> <75464@apple.apple.COM>
  8. Sender: news@gallant.apple.com
  9. Followup-To: comp.sys.apple2
  10. Organization: Developer Support Center, Apple Computer, Inc.
  11. Lines: 28
  12.  
  13. In article <75464@apple.apple.COM>, dlyons@Apple.COM (David A Lyons) wrote:
  14. > No need to get started on that, it *is* easy.  It's also as-designed.  We
  15. > don't recommend doing DWrites to a volume that has open files.
  16.  
  17. True.  We've been telling folks for years (like you don't know this, but
  18. the readers might not) to either:
  19.  
  20. 1)  Make sure a volume has no open files before using DWrite, or
  21. 2)  Just use READ_BLOCK if you're going to manipulate ProDOS-specific
  22. structures.
  23.  
  24. #2 is easier -- READ_BLOCK goes through the ProDOS FST and won't let you
  25. write to a non-ProDOS disk, and since it goes through the FST it won't
  26. work if files are open on the disk.
  27.  
  28. #1 is now easier than it was -- there was a bit added to the
  29. characteristics
  30. word from DInfo in 6.0 that's set if there are any open files on the
  31. volume.  Beats a loop on GetRefInfo between $0001 and $FFFF.
  32.  
  33. ============================================================================
  34. Matt Deatherage, Developer Support Center, Apple Computer, Inc.
  35. Personal mail only -- please POST technical questions, questions about
  36. Apple and its policies, where to find documents and related inquiries.
  37. The opinions I express don't represent Apple, which makes us both happy.
  38. ============================================================================
  39.