From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: 32bit DOS protection mode Date: Thu, 05 Feb 1998 20:59:14 +0100 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 41 Message-ID: <34DA1A12.9D43FA54@LSTM.Ruhr-UNI-Bochum.De> References: <6b1bfd$qrn AT news DOT csie DOT nctu DOT edu DOT tw> <34D49F97 DOT 6345 AT cs DOT com> <6bd2bd$hj6$3 AT cadmium DOT aware DOT nl> NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Rick wrote: [...] > > And when I reverse the question( like BTW the original author might > have ment it): does csdpmi comes with an api which can be used by > "any" program to make use of this dosextender, or alternativaly what > would be the startupcode to put in that "any" program to make it a > valid "csdpmi program " ?? I am sorry to ask this while I of course > could have looked it up in the sources, but maybe someone knows > this from memory( which would spare me a lot of time/wasted effort), I am not sure if I do get your question, but the DPMI API is rather well documented, IIRC, DJ has a copy of the specs on his www-server. Basically, a "bare-bone" application must do the following steps (at least) - Check if a DPMI host is available - Start CWSDPMI if not. Then, the API is pretty much the same under different DPMI hosts, and you could call the API anyway you like. You could do this e.g.,from Turbo Pascal and a TASM lib to stuff the right values into the right registers. Still, the use is not very clear to me because another RTLib doesn't know to benefit from the offers. It is then probably much like the pain when swapping memory to EMS/XMS/Disk under TP, where you had to do all this by yourself. -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************