Date: Tue, 9 Apr 1996 10:43:53 +0200 (IST) From: Eli Zaretskii To: peter DOT stebej AT guest DOT arnes DOT si Cc: djgpp AT delorie DOT com Subject: Re: ES:EDI In-Reply-To: <01I3AU7E6F8I0003ZH@arnes.si> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 8 Apr 1996 peter DOT stebej AT guest DOT arnes DOT si wrote: > routine a pointer to buffer with ES:DI in real mode. I tryed with > putting DS in ES and a linear addres of buffer into EDI but it doesn't work. Please download the file faq102.zip from the same place you get DJGPP and read Chapter 18 of the DJGPP FAQ list. To call real-mode interrupts from a protected-mode program, you have to use the library function `_go32_dpmi_simulate_int'; the details are explained in that chapter of the FAQ, in particular sections 18.1 and 18.2.