Looking for a bootloader for a PC

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

Reply to
F;,VN[OWIR
Loading thread data ...

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

Reply to
H. Peter Anvin

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

Reply to
Ed Beroset

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.