bootloader: Fix stack corruption when pressing non ascii keys

This commit is contained in:
2026-07-08 23:19:29 +03:00
parent 3148c28c3d
commit 9bdf60bb88

View File

@@ -35,13 +35,13 @@ read_user_command_line:
cmpb $'\n', %al
je .read_user_command_line_done
pushw %ax
movb %al, %bl
call isprint
testb %al, %al
jz .read_user_command_line_loop
popw %ax
movb %bl, %al
# put byte to buffer
movb %al, (%di)