www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/01/04:42:39

Date: Wed, 1 Apr 1998 12:36:37 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Daniel Urquhart <durquhart AT jlcrowe DOT org>
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: <Pine.SUN.3.91.980401123330.2919b-100000@is>
MIME-Version: 1.0

On Tue, 31 Mar 1998, Daniel Urquhart wrote:

> regs.w.ax = 3;
>  int86(0x33,&regs,&regs);
> 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.

- Raw text -


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