Translate

Labels

Friday, 7 June 2013

PROGRAM FOR ENABLING AND DISABLING THE KEYBOARD

#include #include #include main() 

 clrscr();
 outportb(0x64,0xAD); /*Code for disabling the KEYBOARD*/
 printf(" Keyboard Disabled");
 delay(10000);



 clrscr();
 printf(" Keyboard Enabled");
 outportb(0x64,0xAE); /*Code for enabling the KEYBOARD*/ 
 getch();
 }

No comments: