How to change tha size of keyboard buffer?
One of tha guy asked me this question here's your solution Prashant......
Question: How to change the size of keyboard buffer from 32 bytes to 16 bytes in C language........plzzzz help me .....
Solution: Try this....
void main(void){
void far * ptrHead = (void far *)0x00400080;
void far * ptrTail = (void far *)0x00400082;
printf("Head = %.4x, Tail = %.4x\n", *((unsigned int far *)ptrHead), *((unsigned int far *)ptrTail));
*((unsigned int far *)ptrTail) = *((unsigned int far *)ptrTail) - 0x10;
printf("Head = %.4x, Tail = %.4x", *((unsigned int far *)ptrHead), *((unsigned int far *)ptrTail));
}
Check Out this page too. [http://www.clipx.net/ng/bios/ng3752.php]
INTERESTING SITES LIST BELOW "DO NOT MISS THEM!!!"(SPONSORED LISTING)
SEARCH IN THIS BOX TO KNOW THE PAGERANK OF YOUR SITE
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment