delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/01/03:06:16

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <05ff01c4a785$07cef870$0600000a@broadpark.no>
From: "Gisle Vanem" <giva AT bgnett DOT no>
To: <djgpp AT delorie DOT com>
References: <878e8c25 DOT 0409302228 DOT 69fe8d24 AT posting DOT google DOT com>
Subject: Re: __tb troubles
Date: Fri, 1 Oct 2004 09:05:27 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Reply-To: djgpp AT delorie DOT com

"Hemant Kumar" wrote:

>    regs.d.ebx = dwHandle;      //Previous handle returned by
> interrupt
>    regs.d.eax = 0xE820;
>    regs.x.es = __tb >> 4; // just need 20 bytes so using transfer
> buffer
>    regs.x.di = __tb >> 0x0f;

That should be '__tb & 0x0f' or simply '__tb' since the lower bits
are always (?) 0.

--gv

- Raw text -


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