delorie.com/archives/browse.cgi | search |
From: | Adam Majer <ummajera AT cc DOT UManitoba DOT CA> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: How to call a far code segment |
Date: | Tue, 8 Aug 2000 09:09:31 -0500 |
Organization: | The University of Manitoba |
Lines: | 15 |
Message-ID: | <Pine.GSO.4.20.0008080908210.7452-100000@merak.cc.umanitoba.ca> |
References: | <Pine DOT GSO DOT 4 DOT 20 DOT 0008061113060 DOT 4908-100000 AT toliman DOT cc DOT umanitoba DOT ca> <200008061820 DOT OAA02138 AT delorie DOT com> |
NNTP-Posting-Host: | merak.cc.umanitoba.ca |
Mime-Version: | 1.0 |
X-Trace: | canopus.cc.umanitoba.ca 965743772 15689 130.179.16.10 (8 Aug 2000 14:09:32 GMT) |
X-Complaints-To: | Postmaster AT cc DOT umanitoba DOT ca |
NNTP-Posting-Date: | 8 Aug 2000 14:09:32 GMT |
In-Reply-To: | <200008061820.OAA02138@delorie.com> |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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 |
On Sun, 6 Aug 2000, Eli Zaretskii wrote: > > How can I call a far code segment? ie. something like ES:EDI? I need this > > for the protected mode interface to the hardware. > > If the former, use the "lcall" instruction, it accepts a selector and > an offset. If the latter, use the library function > __dpmi_simulate_real_mode_procedure_retf. It is actually the lcall I was looking for. Thanks. :) Sincerely, Adam
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |