www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/04/17:10:31

Xref: news2.mv.net comp.os.msdos.djgpp:1638
From: jstuart AT iastate DOT edu (Joshua D Stuart)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Memory in real mode and protected mode?
Date: 4 Mar 96 04:42:24 GMT
Organization: Iowa State University, Ames, Iowa
Lines: 19
Message-ID: <jstuart.825914544@isua2.iastate.edu>
References: <jstuart DOT 825876257 AT isua2 DOT iastate DOT edu>
NNTP-Posting-Host: isua2.iastate.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In <jstuart DOT 825876257 AT isua2 DOT iastate DOT edu> jstuart AT iastate DOT edu (Joshua D Stuart) writes:

>  I just got djgpp, and I'm trying to learn the diffrences between real
>mode and protected mode.  Is there any way to allocate a block of memory
>that is both in real mode and protected mode?  I need to have a real
>mode function put some stuff in a buffer that my protected mode
>procedure can access.  I've been looking at the function
>__dpmi_allocate_shared_memory but I don't see how this function works.
>Is this the right function, or am I going about this all wrong?

  Never mind.  I found a way to do this, I think.  
-- 
--
"No dictator, No invader, can hold an imprisoned population by force of 
arms, forever.  There is no greater power in the universe, than the need 
for freedom.  Against that power, governments, and tyrants, and armies 
cannot stand.  The Centauri learned this lesson once.  We will teach it to 
them again.  Thou it take a thousand years, we will be free."
			-- G'Kar (Babylon 5, "The Long, Twilight Struggle")

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019