Jump to content

need help to make a OS

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
34 replies to this topic

#1
Axalto

Axalto

    Newbie

  • Members
  • Pip
  • 9 posts
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.

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Considering you are a "C++ OOP expert", it's too easy for you!
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
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.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#4
Axalto

Axalto

    Newbie

  • Members
  • Pip
  • 9 posts
I can't find books, I'm a c++ pro,....
I NEED HELP, not somebody saying it is very hard.

#5
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
Go to the library.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#6
Axalto

Axalto

    Newbie

  • Members
  • Pip
  • 9 posts
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!

#7
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
Hmm. Try this website, this one, and this one. All have lots of books for your needs.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#8
birinight

birinight

    Learning Programmer

  • Members
  • PipPipPip
  • 36 posts

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 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!!!

#9
Feral

Feral

    Programmer

  • Members
  • PipPipPipPip
  • 162 posts
Might I suggest this site it is a set of tutorials being written about creating an os from scratch. They are very well written and easy to follow being a "c++ OOP expert" or not.

#10
Termana

Termana

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,057 posts
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.

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#11
h24a

h24a

    Newbie

  • Members
  • Pip
  • 1 posts

Quote

Considering you are a "C++ OOP expert", it's too easy for you!
good luck:)

#12
Steve.L

Steve.L

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 444 posts
Yeah... Good luck. Way out of your league, but good luck.