Date: Sun, 21 Dec 1997 13:34:55 +0200 (IST) From: Eli Zaretskii To: krizz cc: djgpp AT delorie DOT com Subject: Re: es:di with interrupts? In-Reply-To: <349792B9.34FCF982@mailto.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.