Required to load more sectors.
This commit is contained in:
parent
3f35a78c07
commit
458de6f4ac
@ -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
|
||||
|
||||
|
@ -2,4 +2,5 @@
|
||||
|
||||
void main() {
|
||||
clear_screen();
|
||||
print("Kernel booted succesfully");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user