home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progbas / qbnws202.arj / RODENT.ZIP / MOUSE.BI < prev    next >
Encoding:
Text File  |  1991-04-16  |  1.3 KB  |  49 lines

  1. ' ===========================================================================
  2. '   FILE: MOUSE.BI 
  3. '
  4. '   Microsoft (tm) Compatible Mouse Driver and Support routines
  5. '   for QuickBASIC 4.5.
  6. '
  7. '           Copyright (c) 1991
  8. '           Daniel R. Berry (Traveller Software)
  9. '           All Rights Reserved
  10. '
  11. '   Portions Copyright <C> 1987 Microsoft Corporation (QB.BI)
  12. '
  13. '   This code is released to the Public Domain for distribution with the
  14. '   QBNews.
  15. '
  16. '   Daniel R. Berry
  17. '   3110-C S. Gen McMullen
  18. '   San Antonio, TX  78226
  19. '
  20. '
  21. ' Purpose:
  22. '      This include file defines the types and gives the DECLARE
  23. '      statements for the assembly language routine INTERRUPT.
  24. '      Also included are declaritions required to use the Mouse utilites.
  25. '
  26. '***************************************************************************
  27. '
  28. ' Define the type needed for INTERRUPT
  29. '
  30. TYPE RegType
  31.      ax    AS INTEGER
  32.      bx    AS INTEGER
  33.      cx    AS INTEGER
  34.      dx    AS INTEGER
  35.      bp    AS INTEGER
  36.      si    AS INTEGER
  37.      di    AS INTEGER
  38.      flags AS INTEGER
  39. END TYPE
  40. '
  41. '   Generate a software interrupt, loading all but the segment registers
  42. '
  43. DECLARE SUB INTERRUPT (intnum AS INTEGER, inreg AS RegType, outreg AS RegType)
  44. '
  45. '   Mouse utility requirements
  46. '
  47. Common Shared /Mouse/ MouseChk%, MouseStat%
  48.  
  49.