Write Operating System

C

Carl Daniel [VC++ MVP]

Matt said:
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
 
O

Olaf Baeyens

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.
 
N

Nishant Sivakumar

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top