Hey guys, I am a mid-level C++ programmer (still in High school but pretty good at it). I just got finished learning C++ GUIs and I am ready to take my programming to the next level. What are the basic requirements to creating a basic operating system? Like, what major pieces of code need to be in it to make it a virtual machine?
Creating a Basic OS C++
Page 1 of 15 Replies - 2537 Views - Last Post: 08 December 2012 - 09:45 AM
Replies To: Creating a Basic OS C++
#2
Re: Creating a Basic OS C++
Posted 06 December 2012 - 08:59 PM
The defacto place to go for information on creating your own OS, is http://wiki.osdev.or...anded_Main_Page this has everything you need in one place to get started. This is not something that can be covered in a few posts. You need to do your own research, download opens source OS's and look at the code to see how it is done.
Writing your own OS is not something for the faint of heart, it takes time, time, time, and dedication.
Not too sure if this is a good project to take your programming to the next level. You need to learn A LOT, and I mean A LOT of internals to get everything to work. It won't hurt to learn a bit of Assembly for the boot loader and other things.
2 words for your journey... GOOD LUCK...
Writing your own OS is not something for the faint of heart, it takes time, time, time, and dedication.
Not too sure if this is a good project to take your programming to the next level. You need to learn A LOT, and I mean A LOT of internals to get everything to work. It won't hurt to learn a bit of Assembly for the boot loader and other things.
2 words for your journey... GOOD LUCK...
#3
Re: Creating a Basic OS C++
Posted 07 December 2012 - 05:06 PM
What would be a better idea for taking my programming to the next level then... just wondering
#4
Re: Creating a Basic OS C++
Posted 07 December 2012 - 05:12 PM
Well, I tried this once. I'll simply point you to this: http://www.dreaminco...c/107438-modos/ for more information on that.
Basically, if you are looking for something that will be good for you when it comes to programming, find something that interests you (though I strongly suggest getting used to socket and thread programming, as that will be quite common in most computer-related careers) and running with it. I have done a number of random projects for learning. Try creating a string class. Try making an IRC bot. Try making a web server. There are a TON of things you can make that will help you improve; but I don't believe an OS should be something you use as a learning exercise; it is far too hefty for that.
Hopefully that makes sense.
Basically, if you are looking for something that will be good for you when it comes to programming, find something that interests you (though I strongly suggest getting used to socket and thread programming, as that will be quite common in most computer-related careers) and running with it. I have done a number of random projects for learning. Try creating a string class. Try making an IRC bot. Try making a web server. There are a TON of things you can make that will help you improve; but I don't believe an OS should be something you use as a learning exercise; it is far too hefty for that.
Hopefully that makes sense.
#5
Re: Creating a Basic OS C++
Posted 07 December 2012 - 05:47 PM
I always suggest to anyone that wants to write an os, to write a boot loader first. It's a great example of what you're getting yourself into.
What I don't understand is how many people think writing an entire OS is logical. There are only a major ones on the market, & yet someone that is self-described as mid-level can pull it off. Uh-yeah.
What I don't understand is how many people think writing an entire OS is logical. There are only a major ones on the market, & yet someone that is self-described as mid-level can pull it off. Uh-yeah.
#6
Re: Creating a Basic OS C++
Posted 08 December 2012 - 09:45 AM
Ya; I've done stuff with boot loaders and basic kernel functionality but the whole thing is much harder.
I think if I were to get back into I would just try for a kernel that had a command line shell interface and allowed running Lua scripts. It would use a virtual file system too; I wouldn't go to the trouble of implementing a file system just yet. This would still require that I have allocation and deallocation which would be tough in and of itself; not to mention a whole C run-time library too.
I think if I were to get back into I would just try for a kernel that had a command line shell interface and allowed running Lua scripts. It would use a virtual file system too; I wouldn't go to the trouble of implementing a file system just yet. This would still require that I have allocation and deallocation which would be tough in and of itself; not to mention a whole C run-time library too.
This post has been edited by ishkabible: 08 December 2012 - 09:46 AM
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote









|