the problem is keyboard driver print character only on first miliseconds of boot if i continue type after bios keyboard doesnt work
keyb.c
Code: Select all
void getc() {
int i, scancode;
scancode = inw(0x60);
for (i = 1000; i < 0; i++) {
return scancode;
}
}
Code: Select all
while ( 1 == 1 ) {
if (scan & 0x80) {
}
else {
kprintf(scan, k++, 0x17);
}
}
but without it prints but only on first second of boot when i type after one second it doesnt print