Fix sleep_and_quit_on_keypress on BIOS

This commit is contained in:
mintsuki 2021-03-03 22:47:46 +01:00
parent f7a8bbd7f6
commit e21b9d87c9
1 changed files with 5 additions and 0 deletions

View File

@ -105,8 +105,13 @@ pit_sleep_and_quit_on_keypress:
mov edx, dword [int_08_callback]
mov dword [0x08*4], edx
xor edx, edx
mov dl, ah
xor ah, ah
push eax
push edx
call getchar_internal
pop edx
pop edx
ret