Page 1 of 1
Boot Strap Help Please
Posted: Sun Oct 05, 2003 11:00 pm
by deus_the_programmer
Hi can someone help /supply some code to read a boot sector from either floppy or read the hard disk mbr and jump to it.
ie a com file that reads the hard disk mbr and starts execting it.
many thanks
edwin
RE:Boot Strap Help Please
Posted: Sat Dec 27, 2003 12:00 am
by sysprogrammer
please see the reply i gave to user root and i am sysprogrammer.
thanks
RE:Boot Strap Help Please
Posted: Sat Dec 27, 2003 12:00 am
by sysprogrammer
please see the reply i gave to user 'root' and i am 'sysprogrammer'.
thanks
RE:Boot Strap Help Please
Posted: Sat Jan 10, 2004 12:00 am
by ltos
Actually, you just whack the reset button, this is one of the tasks that the BIOS performs for you.
Lucas
RE:Boot Strap Help Please
Posted: Mon Jan 12, 2004 12:00 am
by dumbass101
U need help with ur Jock Strap?
RE:Boot Strap Help Please
Posted: Wed Feb 25, 2004 12:00 am
by Rambo
Ehhh, are you insane? All I can do is direct you to BonaFide's forums. Don't ask this there, but look through the tutorials and try to do this yourself. In particular check the "What's wrong with my GDT" topic under "Getting started". In one of the last posts there is a working bootsector (it doesn't load from the floppy, it just runs and prints a 'P').
BonaFide is at <a href="http://www.osdever.net">www.osdever.net</a>
RE:Boot Strap Help Please
Posted: Thu Feb 26, 2004 12:00 am
by rexlunae
Well, assuming you are in real mode, which I assume is likely if you are using a com file, you can just use the BIOS. Figure out which drive you want to load the boot sector from, and load the first sector to physical address 0x7c00, then jump to it. For information on using the BIOS, try Ralph Brown's files found here:
http://www-2.cs.cmu.edu/afs/cs/user/ral ... files.html
RE:Boot Strap Help Please
Posted: Thu Feb 26, 2004 12:00 am
by rexlunae
Given that he mentions that he is using a com file, he is probably talking about doing this from dos, and then he is probably in real mode, so information about the GDT is not relevent to him, nor are working examples of boot sectors likely to be useful.