Shitty broken keyboard driver BUT azerty-compatible

This commit is contained in:
2025-12-28 10:28:17 +01:00
parent dbd068e55a
commit cc36c768cf
7 changed files with 274 additions and 3 deletions

View File

@@ -42,7 +42,8 @@ void pic_enable()
{
// Enabling IRQ0 (unmasking it) but not the others
uint8_t mask = inb(0x21);
mask &= ~(1 << 0); // Clear bit 0 (IRQ0)
mask &= ~(1 << 0); // Set IRQ0 (timer, clear bit 0)
mask &= ~(1 << 1); // Set IRQ1 (PS/2 Keyboard, clear bit 1)
outb(0x21, mask);
}