Date: Wed, 1 Apr 1998 12:36:37 +0300 (IDT) From: Eli Zaretskii To: Daniel Urquhart cc: djgpp AT delorie DOT com Subject: Re: Boarland 3.x to DJGPP v2 In-Reply-To: <6fsgdi$988$2@news.bctel.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 31 Mar 1998, Daniel Urquhart wrote: > regs.w.ax = 3; > int86(0x33,®s,®s); > to get the distance the mouse has moved. It works when returning positive > value's but what it returns a neative vaue I get a HUGE number instead (ie. > < 6000). Please read carefully the docs of `int86'. It describes several symbols defining which will change the behavior of `int86' and could be necessary in several cases. > Also I have tried several variations with equal results (__dpmi_int() > and used regs.x.ax) Please post the shortest program that exhibits this behavior. > Please respond by E_Mail also (this is a REALLY BIG newsgroup) If you want direct e-mail replies, please don't use anti-spammed address. It's quite a nuisance to edit the addresses when I'm asked for help.