From a6efba7a22b85c0556c8c262f3bbcaf7bda7ddfa Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 3 Sep 2014 14:04:12 +0200 Subject: Moved kernel to 0x10000 ! --- boot/disk_load_16.asm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'boot/disk_load_16.asm') diff --git a/boot/disk_load_16.asm b/boot/disk_load_16.asm index fd05889..2fa88ee 100644 --- a/boot/disk_load_16.asm +++ b/boot/disk_load_16.asm @@ -34,6 +34,9 @@ disk_load_16: ; int 0x13 ;bios interrupt + mov bx, DISK_LOAD + call print_string + popa ret @@ -61,8 +64,8 @@ lba_adr: dw 53 ; number of sectors to read - dw 0x1000 ; target addr. - dw 0 ; + dw 0x0000 ; target addr. offset + dw 0x1000 ; target addr. sector dd 1 ; first sector to read dd 0 ; -- cgit v1.2.3