I need help with making a OS.
I'm a c++ Object Oriented expert and I'm looking for years to learn something new (not found yet).
I really HATE replys like: "This is to hard for you!", so please don't say this.
need help to make a OS
Started by Axalto, Dec 14 2008 08:56 AM
34 replies to this topic
#1
Posted 14 December 2008 - 08:56 AM
|
|
|
#3
Posted 14 December 2008 - 09:04 AM
Well, for a decent OS you're going to need some books on the really low-level details of how computers work, and probably learn C and ASM. Even if you have lots of experience with high-level OOP, you'll need to study up.
#4
Posted 14 December 2008 - 09:10 AM
I can't find books, I'm a c++ pro,....
I NEED HELP, not somebody saying it is very hard.
I NEED HELP, not somebody saying it is very hard.
#6
Posted 14 December 2008 - 09:22 AM
The libery in my village (if you mean this) has got 1 book about programming (in Java).
The liberys close to my village hasn't got any books about programming.
Please I need GOOD help!
The liberys close to my village hasn't got any books about programming.
Please I need GOOD help!
#8
Posted 14 December 2008 - 12:48 PM
Axalto said:
I need help with making a OS.
I'm a c++ Object Oriented expert and I'm looking for years to learn something new (not found yet).
I really HATE replys like: "This is to hard for you!", so please don't say this.
I'm a c++ Object Oriented expert and I'm looking for years to learn something new (not found yet).
I really HATE replys like: "This is to hard for you!", so please don't say this.
I'm responding to this because I'm very interested in this subject.
I'm not going to say that it's to hard for you, but I am going to say that is VERY, VERY hard, period.
Since this is a theme that is so vast , it's probably that you don't know half the stuff needed to make an operating system. Learning all requires many patience and sometimes dedication to stuff that we don't like so much. I'm going to tell you my own process of learning so maybe you can start. If by the end you didn't give up you are ready.
I've started to try to understand how OS works, and I'm not talking about the programming. How are they built, what all have in common and what can be my choice. Since I was an Linux user, I've started to try building a Linux from scratch. That gave me a lot of inside about operating systems. I've build 3 Linux from scratch, one 32bit, one 64bits and one multi-lib. My advice to you is to take an open-source operating system and try to built one. I'm making a break right know from building one to write this message .Go to Linux From Scratch!.
After building many kernels, I've went deeper in the code, and try to understand some of the principles that the kernel is made of. Note that even that you know assembly already, it's probably that you don't know many stuff that is in a kernel, because OS operate on a different level of the machine. For example the stack that you are so used to have is allocated by the OS, so you have to program it also.
Try to make a driver for something that doen't exist. You may need the manufacture specifications. Building drivers give you a big insite of building operating systems, since you will have to build a driver to every piece of hardware. O'Reilly has a great free ebook about this: Linux Device Drivers | O'Reilly Media
If you don't know assembler than you too have a long way to walk, OOP is not going to help you on this because there isn't any of the high languages easiness in assembly. If you know the C stuff of C++ that may help you understand faster.
Then you have to decide if either you wand a monolithic kernel, or a micro-kernel, etc.
After all that I advise you to go to Main Page - OSDev Wiki. There are literally hundreds of unfinished OS there and you can pick one to study, improve or even finish one.
Have a look at kpgen at sourceforge
Neither Emacs or Vi are my primary editors...
..and I'm not ashamed!!!
Neither Emacs or Vi are my primary editors...
..and I'm not ashamed!!!
#10
Posted 15 December 2008 - 05:37 AM
I don't know if anyone has realized or not, but this is posted in the Managed C++ section...
Anyway, if your looking to do a managed os, I have a tutorial in the C# section that may be of interest.
Anyway, if your looking to do a managed os, I have a tutorial in the C# section that may be of interest.
Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!
#11
Posted 13 January 2009 - 06:58 AM
Quote
Considering you are a "C++ OOP expert", it's too easy for you!
#12
Posted 13 January 2009 - 08:14 AM
Yeah... Good luck. Way out of your league, but good luck.


Sign In
Create Account

Back to top









