This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-08-11 07:02:06

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Creating real OS - good devs are welcome! (asm, c, c++)

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

 

#2 2010-08-11 07:59:39

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

If it was in C++ it would probably be an application, correct? C++ would not work for an Operating System like Windows.


http://i46.tinypic.com/dw7zft.png

Offline

 

#3 2010-08-11 08:04:09

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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

 

#4 2010-08-11 09:38:22

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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.  smile

EDIT: Oh, I forgot to say, If I can find time, I'll help.  big_smile

Last edited by ScratchReallyROCKS (2010-08-11 09:41:30)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#5 2010-08-11 09:57:40

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

@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  big_smile


Yawn.

Offline

 

#6 2010-08-11 09:58:55

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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  smile

if you find that time it would be great  big_smile

Offline

 

#7 2010-08-11 10:00:08

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

@meowmeow:
you probably know this but linux != unix  tongue

and at that time i didn't know a word of c

Offline

 

#8 2011-01-03 20:09:47

pen13
Scratcher
Registered: 2010-08-27
Posts: 100+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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


http://womrealms.com/char.php?nomimg1:3ri855a
pen13 http://blocks.scratchr.org/API.php?user=pen13&action=onlineStatus green= online gray=offline

Offline

 

#9 2011-01-03 20:17:26

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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

 

#10 2011-01-04 11:35:25

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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

 

#11 2011-01-04 13:21:54

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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

 

#12 2011-01-04 13:33:58

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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)


I am Back!

Offline

 

#13 2011-01-04 17:09:41

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

Will it run windows programs? Or would it run only certain programs for this os

Offline

 

#14 2011-01-04 18:02:42

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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.  smile

EDIT: Oh, I forgot to say, If I can find time, I'll help.  big_smile

Wow, I forgot that I wrote that. I bet I copied most of it off Wikipedia.  tongue

@LS97, I'm pretty sure that C is not an assembly language, but more of a level up from that.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#15 2011-01-06 07:41:55

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

Have you done the bootloader?

Offline

 

#16 2011-01-06 08:03:02

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#17 2011-01-07 17:52:58

nerevar
Scratcher
Registered: 2010-05-30
Posts: 20

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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  tongue ) 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  smile

Last edited by nerevar (2011-01-07 18:02:25)

Offline

 

#18 2011-01-07 18:19:48

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

what about iostream, stdafx(or something).h?


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#19 2011-01-07 19:27:45

nerevar
Scratcher
Registered: 2010-05-30
Posts: 20

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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

 

#20 2011-01-15 05:57:37

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

bump!

Offline

 

#21 2011-01-15 06:28:04

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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

 

#22 2011-01-15 06:28:31

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

ProgrammingFreak wrote:

Have you done the bootloader?

Offline

 

#23 2011-01-15 11:40:56

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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

 

#24 2011-01-15 16:27:28

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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?

neutral
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  big_smile

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.  hmm

Offline

 

#25 2011-01-15 17:49:12

throughthefire
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Creating real OS - good devs are welcome! (asm, c, c++)

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...


Back. For now. Maybe.

Offline

 

Board footer