|
-
Jun 4th, 2006, 04:38 PM
#1
Thread Starter
Hyperactive Member
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..."
-
Jun 4th, 2006, 04:50 PM
#2
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).
-
Jun 4th, 2006, 06:09 PM
#3
Thread Starter
Hyperactive Member
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..."
-
Jun 4th, 2006, 07:06 PM
#4
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
-
Jun 4th, 2006, 07:45 PM
#5
Thread Starter
Hyperactive Member
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..."
-
Jun 4th, 2006, 08:27 PM
#6
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
 
-
Jun 4th, 2006, 08:51 PM
#7
Re: Making an OS?
 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).
-
Jun 4th, 2006, 09:05 PM
#8
Thread Starter
Hyperactive Member
Re: Making an OS?
 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..."
-
Jun 5th, 2006, 12:57 PM
#9
Re: Making an OS?
 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
-
Jun 5th, 2006, 01:13 PM
#10
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.
-
Jun 5th, 2006, 01:46 PM
#11
Re: Making an OS?
 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
-
Jun 5th, 2006, 01:50 PM
#12
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.
-
Jun 5th, 2006, 04:58 PM
#13
Thread Starter
Hyperactive Member
Re: Making an OS?
 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..."
-
Jun 5th, 2006, 06:22 PM
#14
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
-
Jun 5th, 2006, 07:07 PM
#15
Re: Making an OS?
 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
 
-
Jun 5th, 2006, 07:30 PM
#16
Thread Starter
Hyperactive Member
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..."
-
Jun 7th, 2006, 04:39 PM
#17
PowerPoster
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.
-
Jun 7th, 2006, 10:09 PM
#18
-
Jun 7th, 2006, 10:15 PM
#19
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..
-
Jun 7th, 2006, 10:18 PM
#20
Fanatic Member
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 .
-
Jun 8th, 2006, 09:34 AM
#21
Hyperactive Member
Truly, you have a dizzying intellect.
-
Jun 8th, 2006, 10:00 AM
#22
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|