diff --git a/kernel/main.asm b/kernel/main.asm index 1cee52f..f9ea6c7 100644 --- a/kernel/main.asm +++ b/kernel/main.asm @@ -54,6 +54,7 @@ putc: ret announce: + push ds push cs mov ax, cs mov ds, ax @@ -62,6 +63,7 @@ announce: call printf db "%S (CS=%Xh)", 0x0A, 0x0D, 0x00 add sp, 4 + pop ds ret start: