Hello,
How can I write an Operating System in C or C++

Signature
Mateusz Rajca
Carl Daniel [VC++ MVP] - 29 Oct 2005 23:22 GMT
> Hello,
>
> How can I write an Operating System in C or C++
Start studying. A typical production-strength OS represents somewhere
between 2 and 2000 man-years of labor for version 1, depending on how
sophisticated the OS and how extensive the supported hardware.
What is it that you're wanting to write an operating system for?
-cd
Nishant Sivakumar - 31 Oct 2005 16:23 GMT
> Start studying. A typical production-strength OS represents somewhere
> between 2 and 2000 man-years of labor for version 1, depending on how
> sophisticated the OS and how extensive the supported hardware.
Also, if you looked up OS writing history, you'd probably find that none of
the guys who went about writing OSes had to ask how to do it. Writing OSes
is not every day programming!

Signature
Regards,
Nish [VC++ MVP]
>> Hello,
>>
[quoted text clipped - 7 lines]
>
> -cd
Tom Serface - 31 Oct 2005 18:36 GMT
Seems like Bill Gates had to ask Tim Paterson:
http://inventors.about.com/library/weekly/aa033099.htm
:o)
Tom
>> Start studying. A typical production-strength OS represents somewhere
>> between 2 and 2000 man-years of labor for version 1, depending on how
[quoted text clipped - 3 lines]
> of the guys who went about writing OSes had to ask how to do it. Writing
> OSes is not every day programming!
Tom Serface - 29 Oct 2005 23:40 GMT
Like Carl says, it's tons of work. You might want to take a look at this:
http://www.ibiblio.org/linux-source/
For a start :o)
Tom
> Hello,
>
> How can I write an Operating System in C or C++
Olaf Baeyens - 31 Oct 2005 10:43 GMT
> How can I write an Operating System in C or C++
This is very vague, and I believe that you will discover that it will take a
looooonnnng time to have something functional.
First start to learn about the chipset used in computer you wish to run on.
You will need to create your own drivers, like keyboard, harddisk/floppy
monitor as a first step. Step 2 learn to create a Floppy/harddisk bootstrap.
You have no other choice to create this in assembler since you have only 256
bytes to start up the rest on a floppy drive. I do not know about the
harddisk.
Next create your file system.
And now you are ready to begin your OS.
You cannot use any MFC or windows functionality in C++, you must create a
complete stripped C++ program to do that. But it is possible. Avoid .NET.
And make a converter that converts the executable to the binary format you
need for you OS.
Good luck. :-)
PS it is possible, but it takes a hell of a time to do it.
aa - 31 Oct 2005 17:53 GMT
Modern Operating Systems By Andrew Tanenbaum
> Hello,
>
> How can I write an Operating System in C or C++