X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Mon, 15 Apr 2002 21:10:15 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Jacky Luk" Message-Id: <3069-Mon15Apr2002211014+0300-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (luckie@netvigator.com) Subject: Re: Another GAS problem References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Jacky Luk" > Newsgroups: comp.os.msdos.djgpp > Date: Mon, 15 Apr 2002 22:28:35 +0800 > > I have posted on this question in this arena before. In GAS, how do u > load the segment address into ES when dealing with BIOS interrupts like the > 13h ? as u know, interrupt 13h requires me to load the es register with the > .text segment value and bx with the offset... I suggest to do that in C, not in assembly. Use the __dpmi_int library function, as described in section 18.2 and 18.4 of the DJGPP FAQ list.