Page 1 of 1

Loading MBR

Posted: Sun May 30, 2004 11:00 pm
by deus_the_programmer
Hi can anyone help me with some c code to load an mbr from C: and jump to it. this is what i have come up with so far:

int boot_hda(void)
{
cprintf("\n\r\nBooting /dev/hda...\n\r");
reset_video_mode();

/*PLEASE INSERT CODE TO LOAD AND RUN MBR*/

return 0;
}

thanks,

ed.