C Program to check if mouse support is available or not.


Program :

Output :


Explanation :

  • Int86() is a C function that allows to call interrupts in the C program
  • Header File : dos.h

  • In and out register must be type of REGS.
  • REGS is a built in UNION declaration in C.
  • It is defined in the header file <dos.h>