Pmode & GNU C/C++

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Ben Hsu

Pmode & GNU C/C++

Post 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.
Chase

RE:Pmode & GNU C/C++

Post 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/
Ben Hsu

RE:Pmode & GNU C/C++

Post 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/
Chase

RE:Pmode & GNU C/C++

Post 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.
Post Reply