Page 1 of 1

Pmode & GNU C/C++

Posted: Tue Feb 13, 2001 12:00 am
by Ben Hsu
GNU C/C++ codes needs a DPMI service,
but what can a DPMI do to the C programs?

Is there any relavance between the DPMI, C, and
Pmode?

These stuff are very hard to find over the net.
Any one got a good tutorial or source?

Thanks.

RE:Pmode & GNU C/C++

Posted: Wed Feb 14, 2001 12:00 am
by Chase
>Is there any relavance between the DPMI, C, and
>Pmode?

Basically DPMI is for making it easier to write PMode
programs under DOS. DPMI stands for Dos Protected Mode
Interface. It's main use is to provide services like
get memory, and simulate real mode int under DOS(running
32 bit PMode).

>These stuff are very hard to find over the net.
>Any one got a good tutorial or source?

There's a DPMI ref at http://www.delorie.com/djgpp/

RE:Pmode & GNU C/C++

Posted: Thu Feb 15, 2001 12:00 am
by Ben Hsu
Hello,
I've already seen the site. But still I have question
for example, what's the difference between
DPMI a Pmode switcher (self-made). I already know
DPMI is better and professionallt developed but
an DPMI requires some large amount of disk space.

>On 2001-02-14 00:12:58, Chase wrote:
>>Is there any relavance between the DPMI, C, and
>>Pmode?
>
>Basically DPMI is for making it easier to write PMode
>programs under DOS. DPMI stands for Dos Protected Mode
>Interface. It's main use is to provide services like
>get memory, and simulate real mode int under
DOS(running
>32 bit PMode).
>
>>These stuff are very hard to find over the net.
>>Any one got a good tutorial or source?
>
>There's a DPMI ref at http://www.delorie.com/djgpp/

RE:Pmode & GNU C/C++

Posted: Fri Feb 16, 2001 12:00 am
by Chase
>On 2001-02-15 11:13:05, Ben Hsu wrote:
>Hello,
>I've already seen the site. But still I have question
>for example, what's the difference between
>DPMI a Pmode switcher (self-made). I already know
>DPMI is better and professionallt developed but
>an DPMI requires some large amount of disk space.

If you're asking if there is a differance as to how they
operate internally, there doesn't have to be any.
DMPI is any API nothing more, how it's implemented
is up to the coder.

There's no sigle DPMI extender, so you really cann't
make assumptions as to the quality or size. Look at
http://www.programmersheaven.com/zone5/cat19/
There are some very small ones listed.