Mail Archives: djgpp/1999/11/10/14:01:09
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 -