English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I was intrested in learning how to make an OS. I know very little at the moment about this subject. I do know it involves lots of C and C++. Could anyone post links to tutorials that are good for beginning to make an OS. Also any good compilers you know of would help.
Thanks

2007-08-07 08:28:31 · 5 answers · asked by Dylan H 2 in Computers & Internet Programming & Design

5 answers

That's a rather advanced topic, but there a few guides out there.

http://cdsmith.twu.net/professional/osdesign.html
http://www.personal.kent.edu/~rmuhamma/OpSystems/Myos/osIntro.htm
http://en.wikibooks.org/wiki/Operating_System_Design/Contents

2007-08-07 08:33:54 · answer #1 · answered by ? 3 · 1 0

lol, a tutorial to create an OS does not exist. If you're serious, you need to purchase a library's worth of books on the subject. Probably one of the hardest parts will be writing tons of drivers, mostly in assembler (which is harder than C / C++) for all the various hardware that exists. A lot of the OS code will be in assembler too, to get access to the CPU.

2007-08-07 08:35:37 · answer #2 · answered by Pfo 7 · 0 0

The best place to start when learning about OS creation is with text parsing and simple command line interfacing. I would suggest familiarizing yourself with some basic flavors of UNIX or Linux, since they exemplify this well, and you can also do a lot of OS manipulation with the open source Linux code. But honestly, before you start any of this I would suggest learning a powerful programming language first (like C, C++, or Java), and not only learning it but practicing, and taking some classes.

2007-08-07 08:35:06 · answer #3 · answered by Tyler 2 · 1 0

It is a very advanced topic, there is no 'tutorial' for jumpstart, even a small one-man hobby project took very long to do, I've seen magazine articles showcasing various small OSes but I forgot the names since just reading them indicates they are of no more use beyond novelty hobbies and they are rather forgettable.

One of early one-man project is QDOS that was bought up by Microsoft as MS DOS 1.0, even that reportedly took one man month to do.

Learn Assembly first, C is somewhat directly translatable to that and that is needed.

2007-08-07 09:19:05 · answer #4 · answered by Andy T 7 · 0 0

Actually it requires a good working knowledge of machine code, as it needs to be able to operate straight to the system. This in turn requires good binary and hex maths. It also takes years to develop. Look at the build time for Vista, even with the hundreds of programmers employed by Microsoft.

2007-08-07 08:35:53 · answer #5 · answered by Anonymous · 0 0

fedest.com, questions and answers