Page 1 of 1

How do I create a bootloader with visual studio?

Posted: Tue Aug 10, 2010 6:25 pm
by Shadowhunter9636
I want to make my own OS, so I decided to start with the bootloader. I want to know how to use Visual Studio to make a bootloader and how to use Bochs to test it. I am using C++ and my platform is Windows XP. I searched it up on Google, but the results were either irrelevant or skipped information I needed. Please help.

Re: How do I create a bootloader with visual studio?

Posted: Tue Aug 10, 2010 6:54 pm
by gerryg400
Have you read the wiki ? There is more information there can can fit in a forum reply.

Re: How do I create a bootloader with visual studio?

Posted: Tue Aug 10, 2010 7:22 pm
by Shadowhunter9636
Can you give me the link to this page? I can't find it.

Re: How do I create a bootloader with visual studio?

Posted: Tue Aug 10, 2010 7:27 pm
by gerryg400
The wiki is there ==> http://wiki.osdev.org/Main_Page. I'm not sure what your specific question is. There are pages on assembly language, bootloaders, Bochs, Visual Studio and much more.

Re: How do I create a bootloader with visual studio?

Posted: Tue Aug 10, 2010 7:36 pm
by Shadowhunter9636
I meant the link to the page in the wiki explaining how to create a bootloader with visual studio.

Re: How do I create a bootloader with visual studio?

Posted: Tue Aug 10, 2010 8:09 pm
by gerryg400
I don't think there's a single page that'll tell you how to do it. You're going to have to ask specific questions to get your answer and build up your knowledge as you go. You need to provide information about what you know and what you've done so far so that people can answer your questions.

BTW, may I ask why you want to use Visual Studio ? I feel that for a beginner that there are more suitable tools.

EDIT: If you were to use Cygwin, for example, you could follow many of the tutorials in the wiki without having to make changes.

Re: How do I create a bootloader with visual studio?

Posted: Tue Aug 10, 2010 10:52 pm
by neon
Hello,

There isnt really anything special involved here. As long as you know how to set up MSVC and find a nice way of allowing your C code to call Bios services, its shouldnt be that difficult as those are the main obstacles. I can provide more info of how I did it if requested. Not recommended for beginner system developers though do to lack of tutorials.

Re: How do I create a bootloader with visual studio?

Posted: Wed Aug 11, 2010 11:11 am
by Shadowhunter9636
@neon

I sent you a PM. I want to know how you did it.

Re: How do I create a bootloader with visual studio?

Posted: Tue Sep 07, 2010 3:11 am
by gboers
Hello Shadowhunter9636,

A while ago I stumbled over a nice article on CodeProject which explains on how to do this.
Here is the link for you : Click here

I hope that I was of any help to you.