Pages: 1 2
Topic closed
I'm planning to create a real OS in some language (c, c++ or asm not sure) and i'm looking for experienced programmers ready to take the challenge. the OS can be either console-based or have a GUI.
if any of you know how to make one and have enough knowledge of these languages, please help.
edit
oh btw i know some c++
Last edited by LS97 (2010-08-11 07:02:25)
Offline
If it was in C++ it would probably be an application, correct? C++ would not work for an Operating System like Windows.
Offline
true. but i would be planning to code most in c and asm to include the bases of c++ so i can help too
Offline
I like you're bravery and optimism, but whatever you make is probably not going to be as good as the current operating systems that are available.
This is how you make a real Operating System, one that is stand-alone and doesn't need a host platform:
The first thing you need is a DEEP knowledge of the assembly language. Then you need the kernel, the most basic level of the operating system. It is responsible for file management, resource allocation, and security. For this, I would suggest basing you're OS off of a Unix kernel because it is fast, secure, and easy to work off of.
Next, you need a deep knowledge of C, because that's all the kernel is going to give you. This is how you would make the OS. You would step up through the different levels of C (C, C#, C++, etc.) and eventually be able to refine everything down the the most basic commands for the finish work.
EDIT: Oh, I forgot to say, If I can find time, I'll help.
Last edited by ScratchReallyROCKS (2010-08-11 09:41:30)
Offline
@ScratchReallyROCKS, LS97 has actually tried building a real Linux OS before - see this quote from his Scratch Wiki page:
I have attempted once at a real Linux OS, but got stuck at the bit where you had to handle low-level programming
![]()
Offline
i know how it works. i know it's not going to be windows, ad (probably) not even GUI.
i've looked for some good kernels on the internet already, but couldn't find many good free ones. if you know of one please link.
and i know you need some asm and c, that's why i put it in the title. i'm currently trying to learn some assembly.
i'm doing this just for fun
if you find that time it would be great
Offline
@meowmeow:
you probably know this but linux != unix
and at that time i didn't know a word of c
Offline
LS97 wrote:
I'm planning to create a real OS in some language (c, c++ or asm not sure) and i'm looking for experienced programmers ready to take the challenge. the OS can be either console-based or have a GUI.
if any of you know how to make one and have enough knowledge of these languages, please help.
edit
oh btw i know some c++
what about just basic
Offline
This will be very hard and could take years, i dont have great programing skills but i would imagine that c is windows based, so something else is what i would think, i dont know though
Offline
dav09 wrote:
This will be very hard and could take years, i dont have great programing skills but i would imagine that c is windows based, so something else is what i would think, i dont know though
I do believe C is a so-called "Assemby language". C++, VB, C#, you name it, do not rely on Windows as a script itself. Many use Windows libraries in their code, else it would just be too difficult to program (of course, as soon as you turn it into EXE it's definitely for windows or wine).
Offline
May I help? I know that my idea of this failed but that was because I was uneducated. I have learned C++ pretty well. (not the GUI part though). And I am learning ASM.
I won't be one of the leaders/programmers though. I'd like to be a 'student'. I would learn by experience and help here and there.
Offline
LS97 wrote:
I'm planning to create a real OS in some language (c, c++ or asm not sure) and i'm looking for experienced programmers ready to take the challenge. the OS can be either console-based or have a GUI.
if any of you know how to make one and have enough knowledge of these languages, please help.
edit
oh btw i know some c++
that is going to be hard.
Last edited by nxsupert (2011-01-15 06:42:26)
Offline
Will it run windows programs? Or would it run only certain programs for this os
Offline
ScratchReallyROCKS wrote:
I like you're bravery and optimism, but whatever you make is probably not going to be as good as the current operating systems that are available.
This is how you make a real Operating System, one that is stand-alone and doesn't need a host platform:
The first thing you need is a DEEP knowledge of the assembly language. Then you need the kernel, the most basic level of the operating system. It is responsible for file management, resource allocation, and security. For this, I would suggest basing you're OS off of a Unix kernel because it is fast, secure, and easy to work off of.
Next, you need a deep knowledge of C, because that's all the kernel is going to give you. This is how you would make the OS. You would step up through the different levels of C (C, C#, C++, etc.) and eventually be able to refine everything down the the most basic commands for the finish work.![]()
EDIT: Oh, I forgot to say, If I can find time, I'll help.![]()
Wow, I forgot that I wrote that. I bet I copied most of it off Wikipedia.
@LS97, I'm pretty sure that C is not an assembly language, but more of a level up from that.
Offline
Have you done the bootloader?
Offline
This would be very hard. Try modifying a Linux based OS first.
Here's a quick thing you can do to make it look like you have a custom OS.
Download Ubuntu, Edit the log on screen and the loading screen. Then change everything that has the Ubuntu logo or the word Ubuntu to the name of your OS and your logo. Simple and you save yourself 10000's of hours.
My site Offline
If you are writing it in C or C++ you just have to make sure the file doesn't link to any external libraries just the bare minimum. Last summer I wrote a small bootloader that could boot a C file and got a extremely basic CLI working (could only clear the screen and reboot
) But now I have a lot more experience with C and programming in general. It isn't impossible, but it is still very hard. I have always wanted to start another simple one again and see how far I could get
Last edited by nerevar (2011-01-07 18:02:25)
Offline
bbbeb wrote:
what about iostream, stdafx(or something).h?
Well stdafx definitely wouldn't be included, it is a special header file that MSVC++ requires for linking the programs it creates. Iostream also wouldn't be included because that requires some OS interaction, so iostream would have to be recreated to work on the new OS
Offline
bump!
Offline
nxsupert wrote:
LS97 wrote:
I'm planning to create a real OS in some language (c, c++ or asm not sure) and i'm looking for experienced programmers ready to take the challenge. the OS can be either console-based or have a GUI.
if any of you know how to make one and have enough knowledge of these languages, please help.
edit
oh btw i know some c++that is going to be hard.
you need the Command Prompt software.
if you use c++ you will be able to use Command Prompt.
gust write
Code:
System("");and put the Command Prompt operation you want to do in there.
I don't think you really understand what an OS is.
It does not rely on any static libraries, DLLs, headers, etc. Just pure, real stand-alone code. And no, you do not need the command prompt software. Besides, the System("") command only really works if you are basing it on MSDOS, otherwise it's pretty much useless.
Offline
ProgrammingFreak wrote:
Have you done the bootloader?
Offline
This doesn't seem to have anything to do with Scratch - which I'm afraid means this topic is unwelcome in the "Advanced Topics" forum. What say we move it to Miscellaneous?
Offline
coolstuff wrote:
This doesn't seem to have anything to do with Scratch - which I'm afraid means this topic is unwelcome in the "Advanced Topics" forum. What say we move it to Miscellaneous?
I thought it belonged perfectly fine in AT.
Technically, with lots of imagination, it does relate to Scratch (Scratch could be run on this OS) Yeah, with heaps of imagination
And it's definitely an advanced topic. In fact, I don't know if there's anything more advanced than creating a OS for the scratcher's community.
But, if it stays here in Misc, you might as well close it bcause I never look at these forums at all.
Offline
The best way to make an OS would be in assembly code, but it would be EXTERMELY difficult to make even a simple one. You have to make a Kernel, which is complicated and takes MONTHS or YEARS of programming, and it takes tons of experience. That said, I am not nearly at that level. But this COULD relate to scratch as in a scratch development-based OS or something...
Offline
Topic closed
Pages: 1 2