diff --git a/boot/boot_sect.asm b/boot/boot_sect.asm index 03a94c3..7aad84f 100644 --- a/boot/boot_sect.asm +++ b/boot/boot_sect.asm @@ -25,7 +25,7 @@ load_kernel: call print_string mov bx, KERNEL_OFFSET ; address to load the kernel to - mov dh, 1 ; number of sectors to load + mov dh, 3 ; number of sectors to load mov dl, [BOOT_DRIVE] ; drive to load from call disk_load diff --git a/kernel/kernel.c b/kernel/kernel.c index 53175c9..3100344 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -2,4 +2,5 @@ void main() { clear_screen(); + print("Kernel booted succesfully"); }