14 Replies - 2755 Views - Last Post: 18 September 2010 - 06:02 AM Rate Topic: -----

#1 kavi29  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 09-October 09

Is it very easy to develop a basic OS in C?

Posted 14 September 2010 - 03:45 AM

Hi,


Is it very easy to develop a basic OS in C?If possible ,suggest me some basic tips to start developing OS....
Is This A Good Question/Topic? 0
  • +

Replies To: Is it very easy to develop a basic OS in C?

#2 AmitTheInfinity  Icon User is offline

  • C Surfing ∞
  • member icon

Reputation: 109
  • View blog
  • Posts: 1,530
  • Joined: 25-January 07

Re: Is it very easy to develop a basic OS in C?

Posted 14 September 2010 - 04:23 AM

View Postkavi29, on 14 September 2010 - 03:15 PM, said:

Is it very easy to develop a basic OS in C?

No... it's not very easy for sure.

This post has been edited by AmitTheInfinity: 14 September 2010 - 04:23 AM

Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 5954
  • View blog
  • Posts: 23,217
  • Joined: 23-August 08

Re: Is it very easy to develop a basic OS in C?

Posted 14 September 2010 - 05:08 AM

Bwahahahaha...VERY EASY to develop an OS...hahahahhaa.

Well here's a good place to start your research. Good luck.
Was This Post Helpful? 2
  • +
  • -

#4 Splatocaster  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 50
  • View blog
  • Posts: 182
  • Joined: 22-December 09

Re: Is it very easy to develop a basic OS in C?

Posted 14 September 2010 - 08:08 AM

I think you would be way way overwhelmed by trying to create your own operating system. Perhaps you could build off of a Linux release? However, that would still be a hard task. Good luck
Was This Post Helpful? 0
  • +
  • -

#5 Kilorn  Icon User is offline

  • XNArchitect
  • member icon



Reputation: 1355
  • View blog
  • Posts: 3,528
  • Joined: 03-May 10

Re: Is it very easy to develop a basic OS in C?

Posted 14 September 2010 - 08:17 AM

*
POPULAR

I've found that people who ask a question that relates to difficulty of something, shouldn't be thinking of attempting that thing. If you have to ask the question "Is X hard?", then you do not possess the necessary fundamentals to understand an undertaking of that magnitude.
Was This Post Helpful? 6
  • +
  • -

#6 janotte  Icon User is offline

  • code > sword
  • member icon

Reputation: 988
  • View blog
  • Posts: 5,135
  • Joined: 28-September 06

Re: Is it very easy to develop a basic OS in C?

Posted 14 September 2010 - 08:35 AM

If you are serious about learning what it takes to write an OS this is worth a look.
http://www.minix3.org/
Was This Post Helpful? 0
  • +
  • -

#7 David.Mott  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 4
  • Joined: 14-September 10

Re: Is it very easy to develop a basic OS in C?

Posted 14 September 2010 - 06:19 PM

View Postkavi29, on 14 September 2010 - 02:45 AM, said:

Is it very easy to develop a basic OS in C?If possible ,suggest me some basic tips to start developing OS....

It depends on how 'basic' of an OS you think 'basic' is. If you just want a 'Hello World' OS, its pretty easy to do with Grub. From there things get much more difficult. I once wrote a 512 byte mini OS in assembler that fit in the boot sector. It didn't do a whole lot but was small. You can't get much done in an OS without assembler so 'a basic OS in C' is not possible unless your OS just prints some stuff to the screen. www.osdev.org and www.osdever.net are good resources, but don't ask questions to the forum without thoroughly researching first, they don't take lightly to answering the same question twice.
Was This Post Helpful? 1
  • +
  • -

#8 taylorc8  Icon User is offline

  • B&

Reputation: 149
  • View blog
  • Posts: 1,572
  • Joined: 21-July 09

Re: Is it very easy to develop a basic OS in C?

Posted 15 September 2010 - 12:05 AM

This may help you, it does have some good info on it, if you look for it.

http://www.osdever.net/

click the tutorials button.

There is such a wealth of information on that page I feel like you owe me something.

I searched for this page once, and never found it. Then had to ask my friend for the link again.

;)

This post has been edited by taylorc8: 15 September 2010 - 12:07 AM

Was This Post Helpful? 0
  • +
  • -

#9 Alex6788  Icon User is offline

  • kitties == adorable


Reputation: 145
  • View blog
  • Posts: 1,667
  • Joined: 15-July 10

Re: Is it very easy to develop a basic OS in C?

Posted 15 September 2010 - 01:15 AM

Making an OS is very difficult. If you are going to try you should make a very basic dos like os in a console app. You could have some basic apps like a clock and notepad program and have it like in dos you could type notepad and the notepad program would start.
Was This Post Helpful? 0
  • +
  • -

#10 no2pencil  Icon User is offline

  • Head MFIC
  • member icon

Reputation: 5066
  • View blog
  • Posts: 26,448
  • Joined: 10-May 07

Re: Is it very easy to develop a basic OS in C?

Posted 15 September 2010 - 01:52 AM

The words 'very easy' never accurately describe writing an operating system.

If you have to ask, then you are out of your league.
Was This Post Helpful? 0
  • +
  • -

#11 gabehabe  Icon User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1376
  • View blog
  • Posts: 10,951
  • Joined: 06-February 08

Re: Is it very easy to develop a basic OS in C?

Posted 15 September 2010 - 03:44 AM

Everyone seems to be drawing attention to the "very easy". No, it's not "very easy". Its just easy.
Was This Post Helpful? 0
  • +
  • -

#12 taylorc8  Icon User is offline

  • B&

Reputation: 149
  • View blog
  • Posts: 1,572
  • Joined: 21-July 09

Re: Is it very easy to develop a basic OS in C?

Posted 15 September 2010 - 09:26 AM

Well if it makes you feel any better, Windows 95 was a program running on top of DOS.

;)

--edit--
holy crap someone beat me to it!
osdever..

This post has been edited by taylorc8: 15 September 2010 - 09:27 AM

Was This Post Helpful? 0
  • +
  • -

#13 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1105
  • View blog
  • Posts: 6,918
  • Joined: 07-September 06

Re: Is it very easy to develop a basic OS in C?

Posted 15 September 2010 - 11:15 AM

Well, it completely depends on what you mean by OS. If you are talking something like Linux, Mac, or Windows. Then absolutely not. In fact I had trouble even getting to the stage I could use C/C++ when I attempted to make an OS 2 years ago.

However, if you are just making a simple piece of hardware there are things known as while(1) operating systems, which literally are just a while loop that goes on forever, checking inputs and doing something with them. They are useful for things like flash drives, but you won't get a computer out of one by any means.

There are quite a few rants/ threads on DIC as well talking about Operating Systems (at least one of which chronicles my ventures into attempting one... and the subsequent decision to give up on that).
Was This Post Helpful? 0
  • +
  • -

#14 no2pencil  Icon User is offline

  • Head MFIC
  • member icon

Reputation: 5066
  • View blog
  • Posts: 26,448
  • Joined: 10-May 07

Re: Is it very easy to develop a basic OS in C?

Posted 15 September 2010 - 11:35 AM

View Posttaylorc8, on 15 September 2010 - 10:26 AM, said:

Well if it makes you feel any better, Windows 95 was a program running on top of DOS.

This was true for Windows 3.1, however if Windows 95 was just a program running on top of DOS, then you could close the program. Or better yet, upgrade or downgrade to a different version of DOS, without effecting Windows 95.

Windows 3.1 was a program, Windows 95 was more of a conglomerate of boot strapping, crappy ini's that required reboots to implement change, but it was in essence the Operating System. Not a very good one, but DOS was no longer the Operating System.
Was This Post Helpful? 2
  • +
  • -

#15 drhowarddrfine  Icon User is offline

  • D.I.C Regular

Reputation: 39
  • View blog
  • Posts: 275
  • Joined: 28-July 10

Re: Is it very easy to develop a basic OS in C?

Posted 18 September 2010 - 06:02 AM

If Linus Torvalds posted on this forum his idea about Linux, back in the day, I'm sure it would never have been made.

Making a basic OS can be relatively easy but there can be so many pieces to fit together that it can be time consuming. The more 'general purpose' it needs to be, the more difficult. But something that has basic I/O one one target piece of hardware can be created without a lot of difficulty.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1