From 16309bc3062606e63ff2455d6d09afb5131b5ccd Mon Sep 17 00:00:00 2001 From: Gregory Bowne Date: Sun, 3 Aug 2025 10:27:25 -0700 Subject: [PATCH] added checksum to boot1 --- bootloader/boot1.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootloader/boot1.asm b/bootloader/boot1.asm index 439beb7..4137bc9 100644 --- a/bootloader/boot1.asm +++ b/bootloader/boot1.asm @@ -180,3 +180,5 @@ page_directory times 1024 dd 0 align 4096 page_table times 1024 dd 0 +times 2047 - ($ - $$) db 0 ; Pad to the second-to-last byte of the 4th sector +checksum_byte db 0 ; This byte will be calculated and patched later