I started asm programming a while back and i' m trying to drop the OS routines and go closer to te basic routine.
Now i' m trying make a bootloader, it was going quite good until i tried leaving the bootsector by loading the rest of the floppy to the memory.
I'm trying to load the second to the eight sector from the floppy to 0x7E00.
I'm using the following code:
mov ax,07e0h
mov es,ax
mov dx,0000h
mov ah, 0x02
mov al, 6h
mov ch, 0h
mov cl, 2h
mov dl,0h
int 0x13
After witch i just call my normal print routine that worked before but the code seems to get stuck at the int 13h I treid everything i could think about.
i' m running from a IMA floppy image in virtual box, usinf NASM on x86 real mode.
Tanx,
Joran


Sign In
Create Account

Back to top









