From 12046ce96b7de8d12ff42369d60169e0949a4b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borna=20=C5=A0o=C5=A1tari=C4=87?= Date: Thu, 8 Jan 2026 05:20:42 +0100 Subject: [PATCH] fix vga clear section in `on_error` --- bootloader/stage2_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootloader/stage2_load.c b/bootloader/stage2_load.c index 5e9aa43..b5673cb 100644 --- a/bootloader/stage2_load.c +++ b/bootloader/stage2_load.c @@ -147,7 +147,7 @@ static void on_error(const char *msg) uint16_t *ptr = (uint16_t *)VGA_ADDRESS; // Clear - uint16_t val = 0x0f | (uint8_t)' '; + uint16_t val = 0x0f00 | (uint8_t)' '; for (size_t i = 0; i < VGA_COLS * VGA_ROWS; i++) { ptr[i] = val; }