OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:56 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: How do I create a bootloader with visual studio?
PostPosted: Tue Aug 10, 2010 6:25 pm 
Offline

Joined: Tue Aug 10, 2010 6:09 pm
Posts: 4
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.


Top
 Profile  
 
 Post subject: Re: How do I create a bootloader with visual studio?
PostPosted: Tue Aug 10, 2010 6:54 pm 
Offline
Member
Member

Joined: Thu Mar 25, 2010 11:26 pm
Posts: 1801
Location: Melbourne, Australia
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 ?


Top
 Profile  
 
 Post subject: Re: How do I create a bootloader with visual studio?
PostPosted: Tue Aug 10, 2010 7:22 pm 
Offline

Joined: Tue Aug 10, 2010 6:09 pm
Posts: 4
Can you give me the link to this page? I can't find it.


Top
 Profile  
 
 Post subject: Re: How do I create a bootloader with visual studio?
PostPosted: Tue Aug 10, 2010 7:27 pm 
Offline
Member
Member

Joined: Thu Mar 25, 2010 11:26 pm
Posts: 1801
Location: Melbourne, Australia
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 ?


Top
 Profile  
 
 Post subject: Re: How do I create a bootloader with visual studio?
PostPosted: Tue Aug 10, 2010 7:36 pm 
Offline

Joined: Tue Aug 10, 2010 6:09 pm
Posts: 4
I meant the link to the page in the wiki explaining how to create a bootloader with visual studio.


Top
 Profile  
 
 Post subject: Re: How do I create a bootloader with visual studio?
PostPosted: Tue Aug 10, 2010 8:09 pm 
Offline
Member
Member

Joined: Thu Mar 25, 2010 11:26 pm
Posts: 1801
Location: Melbourne, Australia
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.

_________________
If a trainstation is where trains stop, what is a workstation ?


Top
 Profile  
 
 Post subject: Re: How do I create a bootloader with visual studio?
PostPosted: Tue Aug 10, 2010 10:52 pm 
Offline
Member
Member
User avatar

Joined: Sun Feb 18, 2007 7:28 pm
Posts: 1564
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.

_________________
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}


Top
 Profile  
 
 Post subject: Re: How do I create a bootloader with visual studio?
PostPosted: Wed Aug 11, 2010 11:11 am 
Offline

Joined: Tue Aug 10, 2010 6:09 pm
Posts: 4
@neon

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


Top
 Profile  
 
 Post subject: Re: How do I create a bootloader with visual studio?
PostPosted: Tue Sep 07, 2010 3:11 am 
Offline

Joined: Fri May 07, 2010 7:27 am
Posts: 5
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group