diff options
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/disk_load_16.asm | 2 | ||||
| -rw-r--r-- | boot/mbr.asm | 2 | ||||
| -rw-r--r-- | boot/mp.asm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/boot/disk_load_16.asm b/boot/disk_load_16.asm index e45b89a..fd05889 100644 --- a/boot/disk_load_16.asm +++ b/boot/disk_load_16.asm @@ -59,7 +59,7 @@ lba_adr: dw 0x10 ; size of packet ( 16 byte) - dw 52 ; number of sectors to read + dw 53 ; number of sectors to read dw 0x1000 ; target addr. dw 0 ; diff --git a/boot/mbr.asm b/boot/mbr.asm index ca851c3..8483705 100644 --- a/boot/mbr.asm +++ b/boot/mbr.asm @@ -109,7 +109,7 @@ boot_16: ; ; ;Load the KERNEL (52 sectors starting at sector 2) mov bx,KERNEL_OFFSET - mov dh, 52 ; for lba mode this is hardcoded anyway + mov dh, 53 ; for lba mode this is hardcoded anyway mov dl, [BOOT_DRIVE] call disk_load_16 diff --git a/boot/mp.asm b/boot/mp.asm index 6c794bc..497a0a8 100644 --- a/boot/mp.asm +++ b/boot/mp.asm @@ -34,7 +34,7 @@ init_pm: call boot_32_pm ;continue booting in 32-bit protected mode -boot_32_pm +boot_32_pm: mov eax,1 ; |
