From ec205407a7fb2a60ffa56ab2cf009e0e971bffd8 Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Fri, 19 Feb 2021 19:41:24 +0000 Subject: [PATCH] fix conout using stray DS --- kernel/char.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/char.asm b/kernel/char.asm index cf6ea6e..4c1998e 100644 --- a/kernel/char.asm +++ b/kernel/char.asm @@ -8,7 +8,7 @@ section .text ; IN dl character conout mov al, dl mov ah, 0x0e - mov bx, [conbx] + mov bx, [cs:conbx] int 0x10 ret