@
computergeek
You don't understand:
If you have to ask, you are not ready.
Making an OS is
THE most difficult thing you can do --more difficult than writing games, compilers, device drivers, esoteric math simulators, sending people to the moon, etc. Doing it has a
very steep learning curve,
even for people who know what they are doing.
Thousands of people try to start writing their own OSes every year. Considering the number of new OSes you see on the market every year, you can easily follow that the probability that even
one of them will complete it is very low.
Avenues for the undaunted
If you really are bound and determined to do whatever it takes (including the
years of development it will require), then hie yourself over to
http://www.osdev.org/
There you will find forums, articles, and everything else you need to get started. You will also find links to a lot of unfinished OSes. You might want to adopt one.
If you are a member of the
ACM, you might want to check out the
SigOPs group. If you are not a member of the ACM, join it.
http://www.sigops.org/
A series of SigOPs lectures to help you along:
http://www.acm.uiuc.edu/sigops/roll_your_own/
More dire pronouncements
Even people like
Grey Wolf,
bnbertha,
Zaita, and other knowledgable folk around here would balk at having to write an OS. Not good enough?
Bill Gates didn't write his own: he
hired someone to write one.
Linus Torvalds didn't climb out of a vaccuum: he started with an
existing OS and refined it until it was his own.
I suggest that you first work on something less ambitious, like a small language interpreter, or a videogame, or a program that can drive cars, etc.
If you haven't already, take some University courses in programming language concepts, operating systems, compiler and language design, theory of computation and automata, algorithms, discrete mathematics, digitial hardware and systems, program transformation, concurrent programming and event systems, software engineering, and anything else 400 level and up I forgot in this list. I am not joking in the least.
If you are ready for all that, then good luck. Follow the links and have fun!
[edit]
Helios beat me to it...