X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: DOS memory allocation Date: 3 Apr 2004 10:28:07 GMT Organization: Aachen University of Technology (RWTH) Lines: 22 Message-ID: References: <0e6401c41033$bf95f970$0600000a AT broadpark DOT no> NNTP-Posting-Host: accip02.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1080988087 8940 137.226.33.41 (3 Apr 2004 10:28:07 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 3 Apr 2004 10:28:07 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Gisle Vanem wrote: > Does DOS function 58h have any effect on DPMI function 100h > on how it allocates memory? AFAICS it always does low-memory > with first fit. Check out the DPMI docs hosted by DJ: http://www.delorie.com/djgpp/doc/dpmi/api/310100.html In particular, it says: The DOS allocation function (Int 21H Function 48H) is used. Since DOS function 48h is controlled by the strategy you set via 58h, I would think the answer is: yes, DPMI 0100h *is* controlled by DOS 58h. The RBIL may have more to say about this. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.