Broken term scrolling

This commit is contained in:
2026-01-10 14:43:51 +01:00
parent b469952d91
commit 091f94f89e
6 changed files with 26 additions and 23 deletions

View File

@@ -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");
}