Help for creating a mini OS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • abhishekjha10@gmail.com

    #1

    Help for creating a mini OS

    Hello everybody,
    I am trying to create a mini OS in C. Can you help me with some
    helpful links and sites.
    Thankyou.
    Abhishek Jha.

  • Robert Gamble

    #2
    Re: Help for creating a mini OS

    On Thu, 26 May 2005 03:42:53 -0700, abhishekjha10 wrote:
    [color=blue]
    > Hello everybody,
    > I am trying to create a mini OS in C. Can you help me with some
    > helpful links and sites.
    > Thankyou.
    > Abhishek Jha.[/color]

    No, this is a newgroup about Standard C, not a web-search outsourcing
    facility. Google is your friend, if somewhere in your research you come
    up with a question about Standard C, feel free to come back and ask.

    Rob Gamble

    Comment

    • vib

      #3
      Re: Help for creating a mini OS

      Hi there,

      This is not the right forum. As I am also in the middle of creating my
      own OS, embedded one, so you may email me at vibnwis@yahoo.c om if you
      are keen.

      Thanks

      Comment

      • Emmanuel Delahaye

        #4
        Re: Help for creating a mini OS

        abhishekjha10@g mail.com wrote on 26/05/05 :[color=blue]
        > Hello everybody,
        > I am trying to create a mini OS in C. Can you help me with some
        > helpful links and sites.[/color]

        You cant' write an OS from scratch in standard C. You need hardware
        resources ans a lot of extensions from your compiler. gcc is a must for
        the purpose.

        --
        Emmanuel
        The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
        The C-library: http://www.dinkumware.com/refxc.html

        I once asked an expert COBOL programmer, how to
        declare local variables in COBOL, the reply was:
        "what is a local variable?"

        Comment

        • Walter Roberson

          #5
          Re: Help for creating a mini OS

          In article <mn.e4a87d5581e e843a.15512@YOU RBRAnoos.fr>,
          Emmanuel Delahaye <emdel@YOURBRAn oos.fr> wrote:[color=blue]
          >You cant' write an OS from scratch in standard C. You need hardware
          >resources ans a lot of extensions from your compiler.[/color]

          Wouldn't that depend on what you want the OS to *do* ?

          If your OS is co-operative tasking or single-threaded, then
          you can implement a complete filesystem within a single binary file
          and you can give the illusion of doing several things at once.
          Loading and executing programs, and processes and BIOS calls can be done
          by working with a "virtual machine" instead of native machine code.
          Yes, you'd be restricted to a single text-only "console", but
          computing history was built on the back of ASR-33's..
          --
          Beware of bugs in the above code; I have only proved it correct,
          not tried it. -- Donald Knuth

          Comment

          • Malcolm

            #6
            Re: Help for creating a mini OS

            <abhishekjha10@ gmail.com> wrote[color=blue]
            >
            > Hello everybody,
            > I am trying to create a mini OS in C. Can you help me with some
            > helpful links and sites.
            >[/color]
            comp.programmin g is a better ng for this subject.

            C is a good language for writing operating systems because it is extremely
            effiicient and interfaces well with both assembler and higher-level
            applications languages.
            I couldn't really advise you about how to go about it. Personally I would
            probably get a few of the basic hardware devices working (without booting
            the current OS, if there is one). If you have an output device capable of
            handling characters then a good start is to send "hello world" to it. If you
            only have a memory-mapped raster then start by printing pixels, and then
            build up using a basic 8*8 font.
            Once you have some output, you can get steadily more ambitious, adding input
            devices like keyboards, disk drives, and so on.
            Finally you can run user-level applications, at which stage you have a
            operating system.


            Comment

            Working...