Could someone guide me on what path/steps to take to create a simple bootable hello world program? I have the basic knowledge of C/C++.
My aim is to create a very simple OS.
I would like as much relevant links to references and samples as possible.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See this. It’s a tutorial for a very basic boot loader. It doesn’t have much to do with C/C++, but it has some really good information on the basic building blocks of a bootloader.
If you’re really curious about the building blocks, there are more in-depth resources in the form of textbooks. This tutorial, for instance, doesn’t explain why the boot loader must end with
55 AA. In addition, it’s relatively narrow.