Jump to content
  • Advertisement

Archived

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

Phillk6751

Operating systems programming

This topic is 6164 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

where can i find fairly simple information on how to create my own simple operating system that can be copied to a disk and booted when the computer boots? I really am looking forward to create my own text based OS just for the fun of it or maybee even more.

Share this post


Link to post
Share on other sites
Advertisement
It is VERY hard to produce a working OS (I tried it myself), but if you are REALLY into programming an OS, try

www.gaztek.org
os-dev.isa.net.au

The Intel platform is VERY HARD to program, you have to handle PIC, PIT, disk controller, ... Interrupts are just fun ;-), around 40k source code to set basic things....

Darkening

Share this post


Link to post
Share on other sites
well i believe if im correct, that a unix based os can be created entirely of C or C++ on an x86 platform or was that just for the pdp-11 that unix was originally ported to?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by Phillk6751
well i believe if im correct, that a unix based os can be created entirely of C or C++ on an x86 platform or was that just for the pdp-11 that unix was originally ported to?


You can write most of the OS in C, but there are a few things that will need to be assembly.

Share this post


Link to post
Share on other sites
quote:
Original post by Phillk6751
well i believe if im correct, that a unix based os can be created entirely of C or C++ on an x86 platform

Except for such things as the boot sector, the IVT, and other low-level items, yes, you are correct. The rest of the OS can be written in a high-level language.

Share this post


Link to post
Share on other sites
I have a book that is pretty good. Its called something like "Programming 32-bit operating systems". When I get home, I can post the exact name/auther/publisher.

Overall, it was a pretty good book. However, its pretty deep, and covers a lot of ground (memory management models and stuff) before even getting to any real stuff. I have to admit, I only read about 1/2 to 2/3 of the book, and I never actually implemented anything with it. I bought it more as a learning guide, to get some inside perspective on how the hardware and os interact, and I learned a bundle from it. So I guess Im saying, Im not sure whether or not it would be helpful in implementing your own simple OS.

Share this post


Link to post
Share on other sites
My OS bible is Operating Systems: Design and Implementation. It's written by someone (Andrew Tanenbaum, if I recall correctly) that dislikes Linux, but apart from that, it's fine.

Signatures? We don't need no steenking signatures!

Edited by - Mayrel on November 1, 2001 2:41:21 PM

Share this post


Link to post
Share on other sites
Ok, the book is
Developing Your Own 32-bit Operating System
by Richard A. Burgess
published by Sams Publishing

Its pretty decent. It comes with a sample OS which is built throughout the book. He covers pretty much everything: boot sector, multitasking, file system, device drivers, memory management, etc.

Share this post


Link to post
Share on other sites
You might want to check out V2OS. A buddy of mine was into it for a while and I guess it allows you to boot off of a floppy and execute a program... or something like that. Maybe thats all you need.

http://v2os.v2.nl/

--Buzzy

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!