reading floppy
Posted: Fri Mar 14, 2008 5:35 pm
Im trying to load the kernel rom my bootloader.
I use the following code:
and the following code to jump to it:
But it just restarts any ideas why?
Thanks in advance,
Jules
I use the following code:
Code: Select all
mov cx, 0x10
.cylinder1
mov ax,0x100000
mov es,ax
mov bx,0x10
mov ah,2
mov al,17
mov ch,0
mov cl,2
mov dh,0
int 0x13
jc .finish
loop .cylinder1
Code: Select all
jmp 08h:0x100000
Thanks in advance,
Jules