home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / apple2 / 19017 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.3 KB

  1. Path: sparky!uunet!olivea!apple!apple!dlyons
  2. From: dlyons@Apple.COM (David A Lyons)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: How many files in a ProDOS directory ?
  5. Message-ID: <71207@apple.Apple.COM>
  6. Date: 14 Aug 92 06:19:50 GMT
  7. References: <1992Aug8.140049.17236@unlv.edu> <56394@mentor.cc.purdue.edu> <1992Aug10.060546.2276@blkbox>
  8. Organization: Apple Computer Inc., Cupertino, CA
  9. Lines: 20
  10.  
  11. In article <1992Aug10.060546.2276@blkbox> jdb8042@blkbox (John D. Baker) writes:
  12. >[...]
  13. >I opt for saying that a maximum size ProDOS 8 volume has 65535 blocks
  14. >numbered from $0 to $FFFE.  $FFFF is the maximum number of blocks, one
  15. >greater than the maximum block number. [...] The NUMBER OF BLOCKS supported
  16. >by a device (not maximum block number) is returned by the driver's STATUS
  17. >routine and is a 16-bit quantity.
  18.  
  19. Yes, you're correct.  You can never do anything useful with block $FFFF on
  20. a ProDOS disk, because there's no way in the 16-bit value in block 2 to say
  21. that there are $10000 blocks available.
  22.  
  23. (It could have been defined differently, but it wasn't...everyone will just
  24. have to settle for 31.999511719 Meg volumes. :-)
  25. -- 
  26. David A. Lyons, Apple Computer, Inc.      |   DAL Systems
  27. Apple II System Software Engineer         |   P.O. Box 875
  28. Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875
  29.  
  30. My opinions are my own, not Apple's.
  31.