[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFFA and MicroDrive partitions



"Michael J. Mahon" <mjmahon@aol.com> wrote in message 
EvSdnT6-0ZEvF53RnZ2dnUVZ_umdnZ2d@giganews.com">news:EvSdnT6-0ZEvF53RnZ2dnUVZ_umdnZ2d@giganews.com...
> Charlie wrote:

> snip <

>> A ProDOS volume has a two byte entry in the volume directory 
>> which contains the total number of blocks used.  The highest 
>> number that can fit into two bytes is $FFFF or 65535 blocks. 
>> Both the ProDOS 8 Technical Reference Manual and Beneath Apple 
>> ProDOS say the number is total blocks.
>
> It wouldn't be the first time that documentation was incorrect.

True.

> I'd be very surprised if it were not just the maximum block 
> number,
> or size-1.  Of course, the programmers may have taken the buggy 
> path
> and left the last block out...
>
> Can anyone verify if a ProDOS volume is "full" at 65535 blocks 
> used?
> Or can all 65536 be used?

I have never actually tried to verify that, but I *have* verified 
that $118 is the number in the "total_blocks" field on a full 5.25" 
floppy volume.  $118 is 280 blocks.  35 tracks x 8 blocks/track = 
280 blocks.  So it would seem the number in that field represents 
the total number of blocks exactly.

> snip <

Charlie