Ticket #2654: keyboard.cpp.diff
File keyboard.cpp.diff, 516 bytes (added by , 13 years ago) |
---|
-
src/system/boot/platform/bios_ia32/keyboard.cpp
43 43 extern "C" union key 44 44 wait_for_key(void) 45 45 { 46 bios_regs regs;47 regs.eax = 0;48 call_bios(0x16, ®s);49 50 46 union key key; 51 key.ax = regs.eax & 0xffff;52 47 48 do { 49 key.ax = check_for_key(); 50 } while(key.ax == 0); 51 53 52 return key; 54 53 } 55 54