Mail Archives: djgpp-workers/1997/06/15/15:30:07
> I don't think you can easily resize the transfer buffer.
In many environments, this is probably true, since some piece of dos memory
may be allocated after the transfer buffer. The ones which come to mind
are: 1) DPMI private memory area, 2) Unixy-sbrk DOS code 3) File handle
resize block 4) CWSDPMI exec. #1 and #4 will go high if possible; #4
could be pre-loaded or avoided with another DPMI. #2 is a problem for
environments using it (it probably should have been put high too...) and
#3 can usually be avoided until later after a resize.
But maybe the easiest fix for all of this is a new field in the stub header -
extra DOS memory paragraphs to allocate. This avoids the backward
compatibility problems; the true transfer buffer stays 63.5K or less,
the extra memory gets allocated contiguously for things like clipboard stuff.
- Raw text -