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