delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/03/07:15:37

From: wajnberg AT antibes DOT inra DOT fr (Eric Wajnberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using the mouse
Date: Thu, 3 Apr 2003 11:45:37 +0000 (UTC)
Organization: I.N.R.A. Antibes (France) - Ecologie des Parasitoides
Lines: 39
Message-ID: <b6h6t1$5uv$1@saphir.jouy.inra.fr>
References: <b6e7d6$o6b$1 AT saphir DOT jouy DOT inra DOT fr> <UbDia.5383$1s1 DOT 64076 AT newsfeeds DOT bigpond DOT com>
NNTP-Posting-Host: antibes.inra.fr
X-Trace: saphir.jouy.inra.fr 1049370337 6111 195.221.33.1 (3 Apr 2003 11:45:37 GMT)
X-Complaints-To: usenet AT news DOT inra DOT fr
NNTP-Posting-Date: Thu, 3 Apr 2003 11:45:37 +0000 (UTC)
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ben Peddell (lightspeed85 AT hotmail DOT com) wrote:
: Eric Wajnberg <wajnberg AT antibes DOT inra DOT fr> wrote in message
: news:b6e7d6$o6b$1 AT saphir DOT jouy DOT inra DOT fr...
: > Dear all,
: >
: > I need your help with DJGPP. I am currently developing a C code, and, in
: it, I
: > need to know the location of the mouse, and if the left button is pressed
: or
: > not. That's all!
: >
: > I am sure that this can be coded in a couple of lines only. Can somone
: help
: > me?
: >
: > Best, Eric.
: >

: If you can, you should try to determine whether interrupt 0x33 has been
: initialized. An un-initialized int 0x33 will lead to problems (Page Faults,
: GPFs, etc) when you try to call it.

: These functions are just as an example. They would be better as assembly
: functions (in an S file).


:     [ stuff deleted.. ]

: There are further functions that you can call. They are shown in Ralf
: Brown's Interrupt List.

Thank you! The functions you gave me are working nicely and efficiently. This
is exactly what I needed. Thanks again.

Eric.




- Raw text -


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