Results 1 to 22 of 22

Thread: Making an OS?

  1. #1

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Making an OS?

    Hi. I was wondering where I could get information on how to start building an OS? Any links would be helpful! I would also like to know what language would I have to build my OS in and how to make a GUI. Thanks!
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Making an OS?

    This question comes up many times on the forum here.

    I am assuming that this is a prototype OS. Do you expect to actually boot this OS without the underlying control of Windows (or Linux or whatever).

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: Making an OS?

    No. I do not expect (yet) to have it boot without the underlying control of Windows.
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  4. #4
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Making an OS?

    Then I guess the next question to be asked is if you are planning a command line interpretor first?

    I would suggest that it should be done that way.

    So the experience gained will be in parsing text commands with qualifiers - executing the associated app - and displaying the results.

    Digital Equipment Corp had a great command-line OS back in the 80's and 90's that used a parser/syntax called DCL (google for it)...

    Basically it was:

    COMMAND/QUALIFER=VALUE

    but it extended very well...

    COMMAND/QUALIFER=(VALUE1,VALUE2=SUBVALX)

    There was a level of consistency to it that made it quite easy to use.

    http://en.wikipedia.org/wiki/DIGITAL_Command_Language

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  5. #5

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: Making an OS?

    If I expected it, I don't yet, but if I did, to boot without any underlying control, what would be the way to build it?
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Making an OS?

    I would suggest that the language be either C, C++, or ASM. And as for the GUI, you realize that your grandchildren will die of old age before you complete this thing, right? A whole OS with a GUI is generally a large team project.
    My usual boring signature: Nothing

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Making an OS?

    Quote Originally Posted by sheikh78
    If I expected it, I don't yet, but if I did, to boot without any underlying control, what would be the way to build it?
    You need to write a bootstrapper in assembly language.

    Check out the flat assembler forums, they have some demos of working self-contained OS's (somewhere - there was a comptetition thread a while ago).

  8. #8

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: Making an OS?

    Quote Originally Posted by Shaggy Hiker
    I would suggest that the language be either C, C++, or ASM. And as for the GUI, you realize that your grandchildren will die of old age before you complete this thing, right? A whole OS with a GUI is generally a large team project.
    Yes, I do realize that. But the comment was funny.
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  9. #9
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Making an OS?

    Quote Originally Posted by sheikh78
    Yes, I do realize that. But the comment was funny.
    I don't know why, but I have a hunch "you are less than 30 years old"
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  10. #10
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: Making an OS?

    Building an OS is painfully difficult... Not to mention, extremely intricate.

    A good comaprison is in biology. You don't learn about chlorophyl and cytoplasm and how to power a clock with a potato; then turn around and clone a human embryo for your next project.

    And in actuality, cloning a human is probably easier than building your own OS.

  11. #11
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Making an OS?

    Quote Originally Posted by sevenhalo
    And in actuality, cloning a human is probably easier than building your own OS.
    Not if there's no GUI involved and it's not multi-tasking. Aside from the BIOS, CP/M was actually quite simple.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  12. #12
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Making an OS?

    I knew you guys were going to start beating up on this post

    Learning command line parsing is a great programming skill to have.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  13. #13

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: Making an OS?

    Quote Originally Posted by ComputerJy
    I don't know why, but I have a hunch "you are less than 30 years old"
    True I am. But I'm not gonna say how old I really am.
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  14. #14
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Making an OS?

    It's easy enough to get an OS that boots. It's hard to get a command line working, but it's achievable.

    Heaven help you if you want to do more than that

  15. #15
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Making an OS?

    Quote Originally Posted by sevenhalo
    Building an OS is painfully difficult... Not to mention, extremely intricate.

    A good comaprison is in biology. You don't learn about chlorophyl and cytoplasm and how to power a clock with a potato; then turn around and clone a human embryo for your next project.

    And in actuality, cloning a human is probably easier than building your own OS.
    I disagree, several groups have created OS's. Nobody yet has cloned a human (as far as we know). Technically possible, but only within the last few years.

    By the way, I don't want to be seen as beating up on this post. While it is a wildly ambitious project, that in no way makes it a bad thing. Perhaps you will never finish, but so what. There are plenty of good OSs out there already, and it is unlikely that you would overtake Windows. However, along the way you will learn tons of stuff, and will likely head off to a good career as an UberGeek. Nothing wrong with that, most of us would be totally supportive.
    My usual boring signature: Nothing

  16. #16

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: Making an OS?

    I know my OS could never be good as Windows but I can try at least.
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  17. #17
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

    Re: Making an OS?

    Why not just try starting with a shell .. a repalcement of Explorer.exe .. there are even free ones out there, i recently used Blackbox in a program i created that took over the PC and only launched its own programs ..

    http://www.stardock.com/stardock/art...rimer2002.html
    http://blogs.msdn.com/embedded/archi...30/403999.aspx
    http://msdn.microsoft.com/library/de.../custshell.asp
    http://www.geoshell.com/
    and my favourite .. http://www.bb4win.org/ .. i totally edited it and created my own commands in a seperate exe program.

    here's an IE kiosk example using the blackbox shell ....
    http://www.bahamassecurity.com/WebInstallerIE.zip
    (pm me for zip pass and how to use it)
    Last edited by rory; Jun 7th, 2006 at 04:45 PM.

  18. #18
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: Making an OS?

    A long time ago I saw a library collection for doing just this. Didn't download it, nor do I have the url to it. See what google has to say, I'm sure there is like 32948092384092834098234 websites that tell you step by step. There is even a site floating around that showed you how to create your own OS from the linux kernel. I don't have that link anymore, because thats not my field .

    @sevenhalo
    The diffuculty of this is how talented the programmer is. Bill Gates created MSDOS (I assume he created this from scratch....someone please correct me if I'm wrong, at least I'm 90% sure he had a huge hand in it because I could swear thats what got him the foot in the door so to speak in making his billions...). If the programmer can code 100+ lines of non buggy code in a day (I can code 100+ lines in a day, but 90% of it is going to be buggy xD) then he could easily accomplish this. Otherwise, this will be a project for his kid's kids to finish .
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  19. #19
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Making an OS?

    With 100 lines a day, you have Windows 95 in a bit more then 123 years. And remember that debugging and stuff like that usualy takes much more time then the actual coding...There is no way you are going to keep the same number of lines each day when you get close to the end of the project. In 100 years that is..

  20. #20
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: Making an OS?

    We all know one person can't do this. I was just stating some posibilitys.
    Leave me alone its late where I am .
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  21. #21
    Hyperactive Member gtilles's Avatar
    Join Date
    Dec 2004
    Location
    Planet Earth
    Posts
    394
    Truly, you have a dizzying intellect.

  22. #22
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Making an OS?

    Every time I read that story I just have to laugh at how near-sighted IBM was and how lucky Bill Gates was...

    3 or 4 things happened out of sheer stupidity and Gates never let go of the lead that gave MS on the market place! Now that's smart business.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width