ProDOS-8 / ProDOS-8.github.io

ProDOS-8 Website
https://prodos8.com/
MIT License
12 stars 5 forks source link

Explain where the 32MB and 16MB limits come from. #36

Closed audetto closed 3 years ago

audetto commented 3 years ago

Explain where maximum sizes come from. 32MB for volume and 16MB for each file.

JohnMBrooks commented 3 years ago

Note that max ProDOS volume size is 65535 blocks, or 32767.5 KB.

audetto commented 3 years ago

Note that max ProDOS volume size is 65535 blocks, or 32767.5 KB.

I know it should be self evident if one reads carefully, but it might help to be super explicit.

If the first block is 0 and the last is 0xFFFF, there should be 65536 blocks in the volume. What you say implies that the last one is not usable, why?