Mail Archives: djgpp-workers/1997/09/10/21:33:10
> DOS internally reads clusters at a time. Since the maximum cluster size
> is 16384, I think, and we don't want DOS buffer our data the TB size
> should be a multiple of 16384 (2x or 3x) and any read should concur with
> this limit. e.g. reading 32 times 512 bytes and then switch to 16384
> reads.
If we just read 512 bytes twice, scaling by powers of two each time
will automatically keep everything on power-of-two boundaries.
read total
512 512
512 1024
1024 2048
2048 4096
4096 8192
etc.
- Raw text -