delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/24/19:33:37

From: Wojciech Galazka <wgalazka AT chem DOT uw DOT edu DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to use real mode structure allocated in protected mode?
Date: Sat, 23 Aug 1997 11:45:42 +0200
Organization: University of Warsaw
Lines: 16
Message-ID: <33FEB146.6C6D@chem.uw.edu.pl>
References: <33FDE2EF DOT 64AC AT ece DOT uci DOT edu>
NNTP-Posting-Host: animal.chem.uw.edu.pl
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ying Qin wrote:
> 
> In fact, a real mode structure will be used in a real mode interrupt, I
> have allocated the dos memory with a _go32_dpmi_allocate_dos_memory()
> call and got a real mode segment base address and a protected mode
> selector of allocated block. How can I use it as a structure? Thx.

Please specify more exactly what do you wan to do. Do you have a 
real mode pointer to a structure or anything else?
There just have been a thread here on this group 
"how to convert a real mode poiter" I'd started. You may search
it in the mail archive.
Or just take a look at dosmemget function :)
-- 
Wojciech Galazka
Computer Security Advisor

- Raw text -


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