delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/21/06:35:00

Date: Sun, 21 Dec 1997 13:34:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: krizz <krizz AT mailto DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: es:di with interrupts?
In-Reply-To: <349792B9.34FCF982@mailto.de>
Message-ID: <Pine.SUN.3.91.971221133433.8399C-100000@is>
MIME-Version: 1.0

On Wed, 17 Dec 1997, krizz wrote:

> i want to use an interrupt under djgpp. the interrupt need a buffer
> with a segment and offset (es:di). how can i convert my flat to real
> memory?

You can't: DOS cannot access memory outside the first 1MB, since
real-mode addresses are only 20-bit wide.  You will have to use the
transfer buffer.  The way to do that is explained in detail in the
DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP),
section 18.2.

- Raw text -


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