From 8b00afe1b255682cf8c219ab44a3d9fc590cc003 Mon Sep 17 00:00:00 2001 From: kotorifan Date: Sun, 8 Mar 2026 16:37:02 +0100 Subject: Clear message at bootup without extra ascii characters --- src/boot/boot.stage2.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/boot/boot.stage2.asm') diff --git a/src/boot/boot.stage2.asm b/src/boot/boot.stage2.asm index 13d844b..5131786 100644 --- a/src/boot/boot.stage2.asm +++ b/src/boot/boot.stage2.asm @@ -46,10 +46,10 @@ _protected_mode: mov esp, 0x90000 and esp, 0xFFFFFFF0 ; Align to 16-byte boundary - mov esi, boot_protmode_msg - call _print_string_pm_vga + ;; mov esi, boot_protmode_msg + ;; call _print_string_pm_vga - call 0x10000 + jmp CODE_SEG32:0x10000 boot_s2_msg: db "Entering Stage 2", 13, 10, 0 @@ -63,10 +63,10 @@ align 16 DAP_kernel: db 0x10 db 0 - dw 1 ; Number of sectors + dw 16 ; Number of sectors dw 0x0000 dw 0x1000 ; Offset - dq 66 ; Starting sector + dq 66 ; Starting sector %include "boot.stage1.print.asm" %include "boot.stage2.a20.asm" -- cgit v1.3