Mail Archives: djgpp/1998/10/19/04:37:56
On Sat, 17 Oct 1998, Diabelek wrote:
> i'm using a the int 33 func Bh to read the mouse mickeys. it gets the
> data just fine except when it should be negative it is a large
> positive number. ie
That's simply because intel's way to use negative numbers. 0xffff=-1,
0xfffe = -2 etc etc... Place them in a signed short -variable, and
you should be able to use them in C(++) just fine.
/// Toni Räsänen
/// torasane AT mail DOT student DOT oulu DOT fi
- Raw text -