Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

johnc82

Bulding an operating system

This topic is 5359 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi...... I wonder anyone here experince before building an operating system.....and by the way where can i find some resources about it? Thanks..

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by johnc82
hi......


I wonder anyone here experince before building an operating system.....and by the way where can i find some resources about it?


Thanks..



I certainly have never done anything like that. Too big a project for me
And some resources right here : http://www.nondot.org/sabre/os/articles.

Share this post


Link to post
Share on other sites
I think you should take a look at some source / documentation from a Open Source system to see how things are built. Linux might be an alternative.. :-)

But, this is a pretty complex task...

----------------------------------------------
Petter Nordlander

"There are only 10 kinds of people in the world. The who understand binary and those who don''t"

Share this post


Link to post
Share on other sites
Thanks for the reply....

however i wanted the OS to be build fully on assembly......
need more assembly tutorial..........

Share this post


Link to post
Share on other sites
First, building an OS from scratch is an unbelievably immense task. The software alone would be incredibly complex, but then you also have to consider being compatible with all the types of PC hardware out there - this means also an writing an untold amount of drivers.

Second, why do you want it to be completely in assembly? Are you mad?

Why do you want to do this? What need cannot be fulfilled by Linux or Windows?

Regards,
Jeff

Edit: I'm not saying that all possible needs can be fulfilled by Linux or Windows, but I was just curious - it sounds like you're a one-man team with not much experience so I'm trying to understand why you want to do this? Is it purely for educational/hobby?

[edited by - rypyr on August 5, 2003 12:55:55 PM]

Share this post


Link to post
Share on other sites
Writing an OS is a task that requires much knowledge. Expect to spend many hours in a good academic library, learning about scheduling algorithms, page replacement algorithms, filesystem theory, implementation of efficient synchronization primitives, etc., etc., etc. It''s not a project to undertake if you don''t have a LOT of uninterrupted free time to work on it.


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites
Typically the OS loader is in assembly. The rest of the kernel is in some other language, usually C. C++ can be used as long as you understand the possible pitfalls, i.e. global objects needed to be initialized properly before main is called, you have to have a heap manager in place before doing any sort of allocations (i.e. no std library early on in the bootstrap), execptions can''t be used unless you are somehow able to figure out how to emulate the exception handling mechansim of the OS and/or compiler your compiler was originally written for, etc, etc.

Share this post


Link to post
Share on other sites
Building an entire OS from assembly would be like having to create all the bricks for the Great Wall of China, and then building it.

Share this post


Link to post
Share on other sites
Why do you want to build your own OS?

Just download Linux and modify it and call it Xinux. Simple.
Or hack into the M$ server and download Windows and call it Windows Pirated Edition.






WiseElben.com - Game programming tutorials, articles, and community.

E-mail:wiseelben@wiseelben.com
AIM: WiseElben
ICQ: 299127026

[edited by - GameDev Staff on September 27, 1989 9X:58:97 XMS] For violating Article 43 Page 456 Paragraph 251 Line .042

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!