How do I create a bootloader with visual studio?
-
- Posts: 4
- Joined: Tue Aug 10, 2010 6:09 pm
- Contact:
How do I create a bootloader with visual studio?
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?
Have you read the wiki ? There is more information there can can fit in a forum reply.
If a trainstation is where trains stop, what is a workstation ?
-
- Posts: 4
- Joined: Tue Aug 10, 2010 6:09 pm
- Contact:
Re: How do I create a bootloader with visual studio?
Can you give me the link to this page? I can't find it.
Re: How do I create a bootloader with visual studio?
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.
If a trainstation is where trains stop, what is a workstation ?
-
- Posts: 4
- Joined: Tue Aug 10, 2010 6:09 pm
- Contact:
Re: How do I create a bootloader with visual studio?
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?
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.
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.
If a trainstation is where trains stop, what is a workstation ?
Re: How do I create a bootloader with visual studio?
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.
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.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
-
- Posts: 4
- Joined: Tue Aug 10, 2010 6:09 pm
- Contact:
Re: How do I create a bootloader with visual studio?
@neon
I sent you a PM. I want to know how you did it.
I sent you a PM. I want to know how you did it.
Re: How do I create a bootloader with visual studio?
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.
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.