Guest User

Untitled

a guest
Feb 17th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. bool SendData(unsigned char data)
  2. {
  3.     for(int i = 0; i < 200; i++)
  4.     {
  5.         if((inb(MSR) & 0xC0) == 0x80)
  6.         {
  7.             outb(FIFO, data);
  8.             return true;
  9.         }
  10.     }
  11.    
  12.     return false;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment