#include #include /* get current mouse interrupt handler address */ void main() { union REGS r; struct SREGS s; r.h.ah = 0x35; /* DOS get vector */ r.h.al = 0x33; /* interrupt vector 0x33 */ int86x( 0x21, &r, &r, &s ); printf( "mouse handler address=%4.4x:%4.4x\n", s.es, r.w.bx ); }