diff --git a/boot/kernel.asm b/boot/kernel.asm index ed565ed..fd056b3 100644 --- a/boot/kernel.asm +++ b/boot/kernel.asm @@ -94,6 +94,8 @@ conine: mov ah, 1 ret .has: xor ax, ax int 0x16 + test al, al + jz conine int 0x29 test ax, ax ret @@ -108,6 +110,8 @@ conin: mov ah, 1 ret .has: xor ax, ax int 0x16 + test al, al + jz conin test ax, ax ret