Computing.Net > Forums > Programming > Write An OS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Write An OS

Reply to Message Icon

Name: Chad Johnson (by ChadJohnson)
Date: September 23, 2004 at 07:28:23 Pacific
OS: n/a
CPU/Ram: n/a
Comment:

I'm taking a course on operating system concepts, and I've found it very interesting.

Most of the examples that we've looked at have been in C. Can you actually write one in C? It would be too hard to write one in assembly...

Are there any good tutorials for this, like how to make the first program that runs on the computer upon bootup and how to interface with the hardware, etc.?



Sponsored Link
Ads by Google

Response Number 1
Name: Infinite Recursion
Date: September 23, 2004 at 13:55:46 Pacific
Reply:

Yes, you can write an entire OS in C/C++ with a few embedded blocks of Assembly.

Google has tons of links regarding this.. for instance, here is one:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4513&lngWId=3


0

Response Number 2
Name: Chad Johnson (by ChadJohnson)
Date: September 23, 2004 at 15:00:01 Pacific
Reply:

sweet - that's awesome


0

Response Number 3
Name: Dr. Nick
Date: September 23, 2004 at 15:33:01 Pacific
Reply:

I'm no expert on the subject, in fact I'll be taking an Operating Systems course next year, but from reading the class description it looks like we do actually use C/C++ to write an entire (if small an very non-functional) OS. We write the bootstrap loader and eventually give the user a prompt which will allow them to execute very simple commands.

Looks very cool (and probably fairly difficult, but that's half the fun). I shall decalare it NickOS and give Microsoft a run for their money :)


0

Response Number 4
Name: Infinite Recursion
Date: September 24, 2004 at 06:03:37 Pacific
Reply:

The drawback is, MS has thousands of employees that contribute to their OS. Tens of Thousands of man hours invested in it.

I too want to write my own OS, but for now I think I will settle for working on my own programming language.

C++ and Assembly would be your best bet for your OS development.


0

Response Number 5
Name: BlueRaja
Date: September 24, 2004 at 15:36:26 Pacific
Reply:

Yes, you can write an entire operating system in C; C was originally developed for writing OS code (for a little-known OS named UNIX ^_^)

If you want to write an OS, your best option would be to take a look at the Linix code (mostly C), and edit it where appropriate.

btw, MS doesn't have thousands of programmers working on Windows, it's probably more around the vicinity of a few dozen, if that..

AKhalifman@hotmail.com


0

Related Posts

See More



Response Number 6
Name: gimmpy224
Date: September 24, 2004 at 19:48:27 Pacific
Reply:

? id settle for around a hundred or so

GIMPS


0

Response Number 7
Name: Infinite Recursion
Date: September 26, 2004 at 20:18:44 Pacific
Reply:

I guess I'll have to put in a query or so to microsoft to know for sure.

Bottom line is, its more than 1.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Write An OS

how can i write an os? www.computing.net/answers/programming/how-can-i-write-an-os/10730.html

Creating an OS... www.computing.net/answers/programming/creating-an-os/5320.html

C++ graphics display for an OS www.computing.net/answers/programming/c-graphics-display-for-an-os/6407.html