diff options
Diffstat (limited to 'boot/mbr.asm')
| -rw-r--r-- | boot/mbr.asm | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/boot/mbr.asm b/boot/mbr.asm index 4513100..a854615 100644 --- a/boot/mbr.asm +++ b/boot/mbr.asm @@ -111,14 +111,8 @@ boot_16: ; ; ;remember BOOT_DRIVE (as was set by BIOS) mov [BOOT_DRIVE],dl -; -; ;Load the KERNEL (sectors starting at sector 2) - mov ax,KERNEL_SECTOR - mov es,ax - mov bx,KERNEL_OFFSET - mov dh, 53 ; for lba mode this is hardcoded anyway - mov dl, [BOOT_DRIVE] +; ;Load the IMAGE call disk_load_16 ; @@ -139,7 +133,7 @@ boot_16: ; je a20check ;hang if a20 is disabled! ; ;VESA: also setup vesa stuff before entering 32 bit protected mode - call VesaSetup +; call VesaSetup ; ; ;finally lets enter Protected mode!!! call switch_to_pm @@ -175,7 +169,7 @@ boot_32_pm: ;fill partition table (4x16byte) with zeroes. ;(otherwise my Acer Aspire will not boot) -times 64 db 0x0 +;times 64 db 0x0 ;so we get identified as MBR times 510-($-$$) db 0x0 |
