C Program to Hide Mouse Pointer : Dos Programming

C Program to Hide Mouse Pointer :

Explanation Of C Program :

Firstly let us study some important points about interrupts handeling.

will check whether the mouse driver exists or not.

ax=0x0000ax=0x0000 or 0xFFFF
bx=number of buttons
0x0000 installed
0xFFFF not installed

Int86() is a C function that allows to call interrupts in the program. prototype in dos.h

Int 33,0×01 : Show Mouse cursor


Int 33,0×02 : Hide Mouse Cursor


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

Syntax :