delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/15/14:19:25

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" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Jacky Luk" <luckie AT netvigator DOT com>
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: <a9eobf$4v99@imsp212.netvigator.com> (luckie@netvigator.com)
Subject: Re: Another GAS problem
References: <a9eobf$4v99 AT imsp212 DOT netvigator DOT com>
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

> From: "Jacky Luk" <luckie AT netvigator DOT com>
> 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.

- Raw text -


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