cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/25/05:26:32

Date: Mon, 25 Aug 1997 12:25:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ying Qin <yqin AT ece DOT uci DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: How to use real mode structure allocated in protected mode?
In-Reply-To: <33FDE2EF.64AC@ece.uci.edu>
Message-ID: <Pine.SUN.3.91.970825122230.3032F-100000@is>
MIME-Version: 1.0

On Fri, 22 Aug 1997, 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.

Did you read sections 18.2-18.4 of the DJGPP FAQ list (available as 
v2/faq210b.zip from the same place yuo get DJGPP)?  If so, please ask 
specific questions based on what the FAQ explains.

Basically, you need to move data to and from the DOS buffer you've 
allocated.  The FAQ should explain how in the above sections.

- Raw text -


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