Fix keyboard input for text-mode applications using IRQ1
authorRobert Pengelly <robertapengelly@hotmail.com>
Sun, 25 Oct 2026 17:40:15 +0000 (17:40 +0000)
committerRobert Pengelly <robertapengelly@hotmail.com>
Sun, 25 Oct 2026 17:40:15 +0000 (17:40 +0000)
interrupts.c

index 7f4bc60724ac862b3c0f190f5a663710a73e4d2c..1a425aa93acb3581727f487812fb60e19d292a4e 100644 (file)
@@ -2332,7 +2332,7 @@ void bios_keyboard_poll (CPU8086 *cpu) {
     uint8_t scan;
     
     /* Ordinary DOS and BIOS keyboard reads still use the existing input path. */
-    if (!cpu->vga_graphics_mode || video_native_active () || cpu->kbd_scancode_pending || cpu->kbd_release_scancode) {
+    if (video_native_active () || cpu->kbd_scancode_pending || cpu->kbd_release_scancode) {
         return;
     }