delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/10/14:01:09

To: djgpp AT delorie DOT com
Subject: Re: Still frustrated with mouse problem (actually a blitting prob)
Message-ID: <19991110.105611.10279.0.vmccar@juno.com>
References: <6A5W3.270$Up1 DOT 2636 AT newsfeed DOT slurp DOT net>
X-Mailer: Juno 1.49
X-Juno-Line-Breaks: 0,2-29
From: Vince McCarthy <vmccar AT juno DOT com>
Date: Wed, 10 Nov 1999 13:55:16 EST
Reply-To: djgpp AT delorie DOT com

Tim
    This program was used with DJGPP Ver 2.01 & 2.02 and works fine. I
didn't use Allegro or GRX23. Hope this will help you. 
   Use the following include files with the mouse. <stdio.h & dpmi.h. 


    Samples:
      show mouse, hide mouse similiar to this. 
     ShowMouse() {
           __dpmi_reg r;
           r.x.ax = 1
           __dpmi_int(0x33, &r);
          return 0;
         }


      Will return the int of button pressed
     WhichButton(int Button) {
          __dpmi_reg r;
          r.x.ax = 3
          Botton = r.x.bx    /* which button*/
          __dpmi_int(0x33, &r);
          return(Button);
          }
        
    These samples are part of my mouse.h file. 
  
    Vince McCarthy
     vmccar AT juno DOT com 
     

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.

- Raw text -


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