OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:30 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Pmode & GNU C/C++
PostPosted: Tue Feb 13, 2001 12:00 am 
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.


Top
  
 
 Post subject: RE:Pmode & GNU C/C++
PostPosted: Wed Feb 14, 2001 12:00 am 
>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/


Top
  
 
 Post subject: RE:Pmode & GNU C/C++
PostPosted: Thu Feb 15, 2001 12:00 am 
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/


Top
  
 
 Post subject: RE:Pmode & GNU C/C++
PostPosted: Fri Feb 16, 2001 12:00 am 
>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.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 66 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group