Loading MBR

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
deus_the_programmer

Loading MBR

Post 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.
Post Reply