Required to load more sectors.

This commit is contained in:
Nicolás Ortega Froysa 2018-02-26 16:59:50 +01:00
parent 3f35a78c07
commit 458de6f4ac
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ load_kernel:
call print_string call print_string
mov bx, KERNEL_OFFSET ; address to load the kernel to 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 mov dl, [BOOT_DRIVE] ; drive to load from
call disk_load call disk_load

View File

@ -2,4 +2,5 @@
void main() { void main() {
clear_screen(); clear_screen();
print("Kernel booted succesfully");
} }