delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/08/04:50:11

Date: Wed, 8 Jul 1998 11:49:59 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: dangfrancois AT my-dejanews DOT com, dangfrancois AT yahoo DOT com
cc: djgpp AT delorie DOT com
Subject: Re: Mouse program in djgpp
In-Reply-To: <6ntr6e$sle$1@nnrp1.dejanews.com>
Message-ID: <Pine.SUN.3.91.980708114908.5286N-100000@is>
MIME-Version: 1.0

On Tue, 7 Jul 1998 dangfrancois AT my-dejanews DOT com wrote:

> I tried to adapt the program which returns the mouse coordinate(from
> Turbo C) to djgpp but it doesn't work : it returns random figures.

If that program uses int86 library functions, you need to read the
description of the problems with the .x members in union REGS in the
library reference (type "info libc alpha int86" from the DOS prompt),
and you will probably need to AND the values int86 returns with
0xffff, to mask off the high 16 bits.

- Raw text -


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