Guest User

Untitled

a guest
Apr 29th, 2013
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.97 KB | None | 0 0
  1. /**
  2.  *   MTGos - LowLevel OS
  3.  *   Copyright (C) 2013 Morten Delenk
  4.  *
  5.  *   This program is free software: you can redistribute it and/or modify
  6.  *   it under the terms of the GNU General Public License as published by
  7.  *   the Free Software Foundation, either version 3 of the License, or
  8.  *   (at your option) any later version.
  9.  *
  10.  *   This program is distributed in the hope that it will be useful,
  11.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  *   GNU General Public License for more details.
  14.  *
  15.  *   You should have received a copy of the GNU General Public License
  16.  *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17.  *   Please Read "LICENSE" for the Complete License
  18. **/
  19. #include "iohelper.h" //Used for the Most KBC-Functions
  20. void waitKYB(void) {
  21.     char kybbuffer=inb(0x64);
  22.     char test=kybbuffer | 0x02;
  23.     if(kybbuffer==test) {
  24.         waitKYB();
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment