Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Never heard of operating system  (Read 8992 times)

0 Members and 1 Guest are viewing this topic.

John1397

    Topic Starter


    Hopeful
    • Experience: Beginner
    • OS: Windows XP
    Never heard of operating system
    « on: March 13, 2013, 06:35:10 PM »
    I would like to write a totally new operating system different from anything that is now available, can anyone tell me how to get started?

    John

    patio

    • Moderator


    • Genius
    • Maud' Dib
    • Thanked: 1769
      • Yes
    • Experience: Beginner
    • OS: Windows 7
    Re: Never heard of operating system
    « Reply #1 on: March 13, 2013, 06:47:18 PM »
    Pencil and paper...
    Lot's of coffee...
    Boatload of laid = off software engineers...
    " Anyone who goes to a psychiatrist should have his head examined. "

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Never heard of operating system
    « Reply #2 on: March 13, 2013, 07:04:42 PM »
    What is your strong area? What is y0pur weakness? Do you went to use your strong abilities or would you rather work on your weakness?
    If you did make somersetting really new, would it matter to others? Do you want others to benefit? What is the goal you want to chive.

    For one person an operating system can take several weeks of hard work. But if you can get a group of  five together, you should have something in about one year.


    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Never heard of operating system
    « Reply #3 on: March 13, 2013, 07:04:52 PM »
    Best thing to do would be to dive head first into looking at the source of the Linux Kernel and then write your own after first altering and compiling and learning how it all works. Its not an easy task! I have altered the Linux Kernel before and it was pretty involved for slackware using 2.4xxx kernel back in college for a project.

    You will want to be really good with advanced math and programming in assembly language although you can build one based on the C language as well which is way easier than assembly ( at least it is for me because I can follow C way easier ), but expect something like 100,000+ lines of code, although I think DOS was done in 5000, and Windows I think was something crazy like 2 million lines of code...LOL

    Depending on what you want to achieve, it may be better to not reinvent the wheel and make your own Linux Kernel based on an existing kernel, altered and compiled for a special need.

    I was tempted to make my own distro flavor, but I just haven't had the time to do it. Since then though I have played with altering Knoppix and making my own software combination Live Distro.

    Writing an OS is not easy and I would almost suggest attending MIT first to start from ground zero to advanced computer science/engineering. Then write one if you hadn't already written one for a lab project while attending MIT. Speaking of MIT they have free courses online, to learn from, BUT you benefit most from attending if you can afford to. But if you can follow the course content that is available for free, then there is free information to gain through lectures etc.

    And I agree with patio with:
    Quote
    Pencil and paper...
    Lot's of coffee...
    Boatload of laid = off software engineers...

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Never heard of operating system
    « Reply #4 on: March 13, 2013, 08:11:34 PM »
    I disagree. The OP did not say what his objective is. Star with a clean slate.
    We have yet to know if he even intends to write something of a Intel CPU. Noat do we know what he wants  an OS to do.
    Maybe he wants an OS for a space sip that searches for signs of life on the planets of out solar system. Linux is not well suited for that  kind of work.

    patio

    • Moderator


    • Genius
    • Maud' Dib
    • Thanked: 1769
      • Yes
    • Experience: Beginner
    • OS: Windows 7
    Re: Never heard of operating system
    « Reply #5 on: March 13, 2013, 08:34:58 PM »
    It's good enough for the ISS...

    http://www.linuxjournal.com/article/3024
    " Anyone who goes to a psychiatrist should have his head examined. "

    kpac

    • Web moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Never heard of operating system
    « Reply #6 on: March 15, 2013, 10:12:49 AM »
    The first thing to do is learn C.

    John1397

      Topic Starter


      Hopeful
      • Experience: Beginner
      • OS: Windows XP
      Re: Never heard of operating system
      « Reply #7 on: March 15, 2013, 06:47:36 PM »
      The first thing to do is learn C.

      That wouldn't help me much do not know c would rather start from scratch.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Never heard of operating system
      « Reply #8 on: March 15, 2013, 08:51:37 PM »
      Nobody ever has to learn C. You can write in any language you want. There are a set of computer  languages well suited for system stuff. But the rest will work too.
      Hee a short history of system languages. Noticer


      http://en.wikipedia.org/wiki/System_programming_language
      Note that  PL360 was done by     Niklaus Wirth in  1968  based on Algol 60
      A year before  C was done by  Dennis Ritchie.

        But why use anything before 1995? 
      In 1995. or earlier, MS did Windows 95, which was a really big  improvement  for a system to  run on a desktop. So after that designers began to focus more on the GUI. Old languages like C are the pits for GUI programming. Yes, they did it. But designers wanted better tools. And they came.
      Look here:
      http://www.javaworld.com/javaworld/jw-01-2012/120103-experimental-programming-languages.html

      Or maybe something more recent?
      Mozilla, the makers of Fire Fox, want something new.
      http://readwrite.com/2010/11/29/mozilla-designing-programming-language-rust



      kpac

      • Web moderator


      • Hacker

      • kpac®
      • Thanked: 184
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 7
      Re: Never heard of operating system
      « Reply #9 on: March 21, 2013, 05:21:11 PM »
      That wouldn't help me much do not know c would rather start from scratch.
      The best way to learn is to study existing operating systems and for that you'll need to learn C. :)

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Never heard of operating system
      « Reply #10 on: March 21, 2013, 08:05:54 PM »
      Why is everybody giving the OP textbook answers? He said he wanted to do something the had never been heard of before.
      If the OP has a very high abstract idea, let him  explorer it.

      IMHO the answer from Patio was a better fit f to the goals of the OP.
      Pencil and paper is very useful.  I would recommend lined paper notepad with spiral binding. Letter size But that is just a personal preference. Alsop,  I like No. 2 hard for a pencil.

      And I go for black o for coffee. But in Silicon valley the preference of many  is Jolt COLA. If not available use Coca Cola.

      When looking at the work of others, do NOT look at the source code. Instead find a good book that explains what the did, how and why. Look beyond the source code. Source code is gibberish.


      DaveLembke



        Sage
      • Thanked: 662
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Never heard of operating system
      « Reply #11 on: March 22, 2013, 03:04:06 PM »
      If we are going to mention stationary suggestions, I'd say add tabs or sticky notes to the many many pages as GOTO's, GOSUB's, PEEK's, and POKE's...LOL

      DaveLembke



        Sage
      • Thanked: 662
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Never heard of operating system
      « Reply #12 on: March 22, 2013, 04:20:19 PM »
      Got called off to a problem and didnt get to complete my last post... sorry for double post here, but more info I wanted to share based on my experience with modern computer hardware and writing your own OS. With my experience being alteration of Linux Kernel 2.4xxx for slackware and helping a friend in college with his Micro Computer Electronics Degree in which I had to assist him with his projest to make a computer using the Z80 processor similar to this project: http://cpuville.com/Z80.htm.

      Regarding the statement of:

      Quote
      That wouldn't help me much do not know c would rather start from scratch.

      My suggestion is starting from scratch with C if you plan on making anything that will interface easily, and in a more timely manner, with already existing hardware that is out there. What can be performed in say 20 lines of C could take 200 lines in assembly language or more depending on the complexity of what is to be achieved.

      However if you are creating your own language and your own computer hardware that it functions on, you can make anything happen in any way that logically functions as intended. Depending on complexity it can be a simple computer with a small shift register or someing even more powerful.

      If you plan on anything to the scale of modern computers, unless you have a team of engineers working for you at your direction, and money is no problem, you will want to use already existing hardware that will work with your language for your OS that you create.

      The best way to learn how to interface with modern hardware would be to look at the Linux Kernel and learn from it as for Microsoft will not share the source code with you.

      To understand the source code you would need to know C in order to read and understand the Linux Kernel, so thats why I suggest learning C as the foundation to start from if you are planning on making an OS that is for modern computer hardware.

      BUT if you are making your own computer that will interpret the language that you create that does not follow the same rules as Intel, AMD, Motorola CPU's for example in (calls), then have at it ... you dont need to conform to anyone elses rules on how their CPUs function you can make your own rules with your own CPU that abides rules you created and understands calls you created.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Never heard of operating system
      « Reply #13 on: March 22, 2013, 04:21:42 PM »
      That wouldn't help me much do not know c would rather start from scratch.
      So are you saying that you literally have no experience with any programming topic?
      I was trying to dereference Null Pointers before it was cool.

      patio

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: Never heard of operating system
      « Reply #14 on: March 22, 2013, 04:27:30 PM »
      With the stated lofty goal my guess would be...No.
      " Anyone who goes to a psychiatrist should have his head examined. "

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Never heard of operating system
      « Reply #15 on: March 22, 2013, 10:47:28 PM »
      That wouldn't help me much do not know c would rather start from scratch.
      Candidate for quote of the month.   :P

      Ryuk



        Adviser

        Thanked: 3
        • Experience: Beginner
        • OS: Unknown
        Re: Never heard of operating system
        « Reply #16 on: April 11, 2013, 07:19:55 AM »
        I would like to see a OS like that in .hack but, the first thing would be to flow chart your process.  Learn a language like Java or some form of C.  Coffee or Tea and make sure to have some Aleve near by and plenty of failures

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Never heard of operating system
        « Reply #17 on: April 11, 2013, 02:52:25 PM »
        This point I want to make is that one does not have to duplicate what others have already done. It depends on your objective. And your timeline.
        If you want a file serve, use Linux code. But if  you are working with model boats, a very different OS would make sense.

        Some years ago an astronomer want to use small computers available at that time. He invented an language and OS now called FORTH.
        http://www.forth.org/svfig/osf.html
        An there are other OS that are different that anything else out there
        Another:
        http://en.wikipedia.org/wiki/Pick_operating_system

        Ryuk



          Adviser

          Thanked: 3
          • Experience: Beginner
          • OS: Unknown
          Re: Never heard of operating system
          « Reply #18 on: April 12, 2013, 09:22:03 AM »
          I never heard of that  :o

          patio

          • Moderator


          • Genius
          • Maud' Dib
          • Thanked: 1769
            • Yes
          • Experience: Beginner
          • OS: Windows 7
          Re: Never heard of operating system
          « Reply #19 on: April 12, 2013, 07:58:45 PM »
          This is really silly on many levels...

          As noble as it sounds the objective of writing a brand spankin new OS from the ground up is even given the great group of minds here an insurmountable task in and of itself...
          Secondly while intentions may be good on how to go about doing so advisers have never attempted nor probably won't do so in the near future...
          Thirdly...it's now turned into an esoteric discussion of how one should go about it...as it usually does here instead of what it would actually take resource wise to accomplish such a lofty goal...

          That being said i'm by no means trying to discourage the OP...however he hasn't been back for a Month.
          " Anyone who goes to a psychiatrist should have his head examined. "

          Ryuk



            Adviser

            Thanked: 3
            • Experience: Beginner
            • OS: Unknown
            Re: Never heard of operating system
            « Reply #20 on: April 18, 2013, 04:26:05 PM »
            This is all true.  However, I think we showed it isnt easy to do something like that.  Probably gave up on it

            John1397

              Topic Starter


              Hopeful
              • Experience: Beginner
              • OS: Windows XP
              Re: Never heard of operating system
              « Reply #21 on: June 01, 2013, 06:22:49 PM »
              So are you saying that you literally have no experience with any programming topic?
              Well I could program, but that seems like you are using someone's else's work what I want to do that I never seemed able to was buy a new computer with nothing on the hard drive and by just typing letters, commands or different combination's of key strokes start writing your own operating system.