delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/13/13:03:00

From: skb AT xmission DOT removethis DOT com (Scott Brown)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Calling DOS functions
Date: Sun, 13 Jun 1999 05:34:00 GMT
Organization: (none)
Lines: 11
Message-ID: <376342a1.172700986@news.xmission.com>
References: <376230d5 DOT 102598132 AT news DOT xmission DOT com> <dUG83.9466$PN5 DOT 25345 AT newsfeeds DOT bigpond DOT com>
NNTP-Posting-Host: slc173.modem.xmission.com
X-Trace: news.xmission.com 929251725 13147 166.70.9.173 (13 Jun 1999 05:28:45 GMT)
X-Complaints-To: abuse AT xmission DOT com
NNTP-Posting-Date: 13 Jun 1999 05:28:45 GMT
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 13 Jun 1999 11:54:33 +1000, "Johan Venter"
<jventer AT writeme DOT com> wrote:

>r.x.di = __tb & 0x0F;        //get the offset
>r.x.es = (__tb >> 4) & 0xFFFF;        //get the segment
>
>There you go!

That's what I was looking for.  Thank!

-Scott

- Raw text -


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