Looking for a bootloader for a PC

Sep 09, 2004 2 Replies

I am looking for a piece of software that would sit in the boot sector of a hard disk and load an application thus making possible an embedded application without having to use an OS. Source code is needed. The application will be coded in C or C++ using the GCC compiler.



please reply to this newsgroup. Thank you


Followup to: By author: "F;,VN[OWIR" In newsgroup: comp.arch.embedded

Check out SYSLINUX,

formatting link
; it has all the code to run 32-bit gcc-compiled code with a simple API in addition to any functions offered by the BIOS.

-hpa

If you look at

formatting link
you will find public domain source code loader.asm and a web page of explanation about how it words. However, you'll need to set up the registers and go into 32-bit protected mode if you're going to use gcc. The loader currently does not do that.

Ed

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required