readline: Fix issue where timeouts were not reported properly on BIOS

This commit is contained in:
mintsuki 2021-05-13 02:56:25 +02:00
parent df6a0d3c24
commit 4c1782357a

View File

@ -119,6 +119,9 @@ _pit_sleep_and_quit_on_keypress:
mov edx, dword [int_08_callback]
mov dword [0x08*4], edx
test eax, eax
jz .out
xor edx, edx
mov dl, ah
xor ah, ah
@ -128,6 +131,7 @@ _pit_sleep_and_quit_on_keypress:
pop edx
pop edx
.out:
ret
.gdt: dq 0