Broken term scrolling
This commit is contained in:
@@ -201,12 +201,11 @@ void keyboard_handler()
|
||||
|
||||
if (c)
|
||||
{
|
||||
putchar(c);
|
||||
// Should probably have a keyboard buffer here... instead of this
|
||||
//putchar(c);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
skputs("key pressed!\n");
|
||||
}
|
||||
|
||||
// End of Interrupt (to master PIC)
|
||||
@@ -233,5 +232,11 @@ void keyboard_init(unsigned char layout)
|
||||
skputs("Unsupported layout.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Unmask IRQ1
|
||||
uint8_t mask = inb(0x21);
|
||||
mask &= ~(1 << 1);
|
||||
outb(0x21, mask);
|
||||
|
||||
DEBUG("PS/2 Keyboard initialized");
|
||||
}
|
||||
Reference in New Issue
Block a user