home *** CD-ROM | disk | FTP | other *** search
- /**
- *
- * Name movars -- Global variables used by some MO functions:
- * b_mocatch, b_momask, b_modispat, b_mohanmask
- *
- * Description This module defines four global variables used by
- * MOHANDLR, MOPRECLK, and MOCATCH. These variables allow
- * MOCATCH to coexist freely with a user interrupt handler.
- *
- * If MOCATCH is installed via MOPRECLK, b_mocatch contains
- * the address of MOCATCH and b_momask contains its call
- * mask (namely MOCATCH_MASK). If MOCATCH is not
- * installed, both variables contain 0.
- *
- * If a user mouse interrupt handler is installed via
- * MOHANDLR, b_modispat contains the entry address of the
- * dispatcher inside MOHANDLR.C and b_mohanmask contains
- * the user's call mask. If no user interrupt handler is
- * installed, both variables contain 0.
- *
- * (These variables are here provided in a separate module
- * to allow MOPRECLK or MOHANDLR to be invoked without also
- * linking in the other unnecessarily.)
- *
- * Version 6.00 (C)Copyright Blaise Computing Inc. 1989
- *
- **/
-
- #include <bmouse.h>
-
- void (far *b_mocatch)(void) = 0; /* Pointer to MOCATCH if */
- /* installed, or 0 if not. */
- /* */
- unsigned b_momask = 0; /* Current MOCATCH event mask */
- /* (0 or MOCATCH_MASK). */
- /* */
- ISRCTRL far *b_modispat = FARNIL; /* Address of dispatcher that */
- /* invokes user interrupt */
- /* handler, or 0 if no handler */
- /* installed. */
- /* */
- unsigned b_mohanmask = 0; /* Call mask for user mouse */
- /* interrupt handler (0 if */
- /* none). */