Mail Archives: djgpp/1998/02/05/18:52:43
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 *
*************************************************************
- Raw text -