Mail Archives: djgpp-workers/1997/09/10/11:46:12
DJ Delorie wrote:
> Also, I've changed the default transfer buffer size to 32k and stack
> size to 512k in stub.asm. Should we default to a max size (63.5K)
> transfer buffer now ?
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.
Or reading 16 times 512 bytes = 8192
8 1024 = 8192
-------------------------
16384
Or reading 8 times 512, 4 times 1024, 2 times 2048, once 4096 and then
in chunks of 16384 ?
--
+----------------+
| Vik Heyndrickx |
+----------------+
- Raw text -