Mail Archives: djgpp/1998/07/08/04:50:11
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 -