Mail Archives: djgpp/1997/05/01/11:45:43
John M. Aldrich (fighteer AT cs DOT com) wrote:
: George Foot wrote:
: >
: > application. In DOS, in the absence of a different DPMI server your
: > programs will use CWSDPMI (provided you distribute it with your packages)
: > which lets you use up to 128Mb physical (conventional+EMS+XMS+extended,
: > minus any disk caches, RAM-drives, etc) and up to 128Mb virtual (on the
: Actually, cwsdpmi does not use conventional memory except to load itself
: and its internal data structures, unless there is less than a certain
: predefined amount of EMS/XMS available. The main reason for this is
: that conventional memory is a major PITA to swap to disk. There may be
: others; Charles would be the best one to ask. But in general, DPMI
: hosts do not let your program touch the low 1 MB of memory.
Oh right. Thanks. But it seems a shame to let all that good memory go to
waste. Why is the default transfer buffer only 16K? If there's 640K minus
a bit for system information, minus a bit more for CWSDPMI and the stub,
why not use more of it for the buffer?
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -