BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old September 13th, 2003, 11:40 AM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb a new *nix clone....

i am trying to develope a new *nix-like O.S. but i can't program
for my ***. can anyone teach me C (not C++,well not yet anyways). Any help or ideas for this O.S. would be greatly appreceated and in case your wondering it is of course going to be open-source...

Reply With Quote
  #2  
Old September 13th, 2003, 11:53 AM
Kung Foo Master Kung Foo Master is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 68 Kung Foo Master User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
>i am trying to develope a new *nix-like O.S. but i can't program
You don't know how to program yet you want to jump right in and create a clone of (IMO) the most advanced operating system around? Not to mention that an operating system is just about the hardest program one could write.

You would be better off learning how to program just like everyone else, then moving into simple things in the open source community such as bug finding and simple maintenance. Once you gain experience and confidence you can then begin writing new additions to already existing software, maybe even open source operating systems. Eventually you will gain the knowledge required to write your own kernel, then you'll be ready to tackle this project. I would estimate a number of years before you have something workable.

>can anyone teach me C (not C++,well not yet anyways)
The lowest levels (such as the bootloader) must be written in assembler, so even if you know C you'll still have trouble writing an OS.

Reply With Quote
  #3  
Old September 13th, 2003, 11:53 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 55 m 33 sec
Reputation Power: 797
Why not simply create your own BSD distribution. You can even call it Zealot BSD or whatever, because the BSD license allows this as long as you leave the original copyright notices in the code and best of all --- you don't have to learn ANY programming. Here are the relevant instructions to build your own distribution for 3 popular BSD operating systems.

http://www.openbsd.org/cgi-bin/man....386&format=html

http://netbsd.gw.com/cgi-bin/man-cg...+NetBSD-current

http://www.freebsd.org/cgi/man.cgi?...ASE&format=html
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #4  
Old September 13th, 2003, 11:55 AM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yeah...

but the monolithic kernel design does have its drawbacks

Reply With Quote
  #5  
Old September 14th, 2003, 01:37 PM
Silverlokk's Avatar
Silverlokk Silverlokk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Manila, Philippines
Posts: 39 Silverlokk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 15 sec
Reputation Power: 6
Send a message via ICQ to Silverlokk
Quote:
Originally posted by zealot_hacker
but the monolithic kernel design does have its drawbacks

Looking for a microkernel then? If I'm not mistaken, Darwin, the core of MacOS X is microkernel. Since it's open source, source should be available.

Regards.

Reply With Quote
  #6  
Old September 15th, 2003, 03:13 PM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by Silverlokk
Looking for a microkernel then? If I'm not mistaken, Darwin, the core of MacOS X is microkernel. Since it's open source, source should be available.

Regards.

yes that may be the case but even then there are flaws in darwins implentation that are not present in my "concept"
i only call it a concept because i have some different ideas about the micro kernel that darwin does not have such as a main kernel responsible strictly for the running of services a support of certain devices nessecary for the O.S. to have just minimal functionality and microkernels responsible for extraneous processes, such as networking ie.you can run bsd without networking.with that microkernel's memory usage to be controlled by the main kernel...

Reply With Quote
  #7  
Old September 15th, 2003, 03:16 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 55 m 33 sec
Reputation Power: 797
IIRC minix is a microkernel architecture. Google for the book/source code.

Reply With Quote
  #8  
Old September 15th, 2003, 03:22 PM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
FINALLY

YOU GUYS ARE ACTUALLY TAKING ME SERIOUSLY...
i'm an idea man, i cna't implement for ****...
thats why im trying to get people to teach me programming in C and programming in C in relation to system level software.nad mabey even help me build it. don't underestimate me i grasped einstien's theory of relitivity in 3rd grade and euclidian geometry in first.

Reply With Quote
  #9  
Old September 15th, 2003, 03:23 PM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: FINALLY

Quote:
Originally posted by zealot_hacker
YOU GUYS ARE ACTUALLY TAKING ME SERIOUSLY...
i'm an idea man, i cna't implement for ****...
thats why im trying to get people to teach me programming in C and programming in C in relation to system level software.nad mabey even help me build it. don't underestimate me i grasped einstien's theory of relitivity in 3rd grade and euclidian geometry in first.

i also CAN'T spelle for ****

Reply With Quote
  #10  
Old September 15th, 2003, 03:30 PM
Ed----Ed's Avatar
Ed----Ed Ed----Ed is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 121 Ed----Ed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
You are not going to learn enough of C to make an OS from someone over the internet.

You will need to read a few programming books, a few operatin system and theory books, a few assembly books, and advanced algorithim books as well. Also you will have a very hard time without taking a formal course on the subject.

It will most likely be many years before you have the skills to make an operating system.

Reply With Quote
  #11  
Old September 15th, 2003, 03:49 PM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanx everyone...

Quote:
Originally posted by Ed----Ed
You are not going to learn enough of C to make an OS from someone over the internet.

You will need to read a few programming books, a few operatin system and theory books, a few assembly books, and advanced algorithim books as well. Also you will have a very hard time without taking a formal course on the subject.

It will most likely be many years before you have the skills to make an operating system.

now i know what i gotta do in order to go about this O.S.
i however will not abandon this forum lets change this thread into what new features could and should be introduced to *nix and *nix-like O.S.s

Reply With Quote
  #12  
Old September 15th, 2003, 03:52 PM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
where can i get such books or...

Quote:
Originally posted by Ed----Ed
You are not going to learn enough of C to make an OS from someone over the internet.

You will need to read a few programming books, a few operatin system and theory books, a few assembly books, and advanced algorithim books as well. Also you will have a very hard time without taking a formal course on the subject.

It will most likely be many years before you have the skills to make an operating system.

what are their titles and authors....

Reply With Quote
  #13  
Old September 15th, 2003, 03:57 PM
Ed----Ed's Avatar
Ed----Ed Ed----Ed is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 121 Ed----Ed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Don't abandon it.

Take the advise of the person who told you to start smaller though. Buy a programming book, and start by making the programs in the book. Then work on smaller projects, like adding small features to open source code.

Study the code of other open source OSes once you understand the programming language.

You may be able to find other programmers who will do the coding now and you come up with the ideas and be the leader of the project. As you get better at programming, you can do some coding yourself. Mabye you can get your project started soon.

Programming an operating system is different then most programs, there is so much low level things that must be accomplished. Once you know a language and good programing skills, learn about how operating systems work.

Your best bet would to take a computer science course, although it would be expensive. If you haven't gone to college yet, it may be a good path to take, and you will have the skills you need if you study hard.

Reply With Quote
  #14  
Old September 16th, 2003, 04:06 PM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
what features or designs do you guys...

think that the open source-world coul use

Reply With Quote
  #15  
Old December 30th, 2003, 12:45 PM
zealot_hacker zealot_hacker is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 17 zealot_hacker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ohh god i forgot

about this forum...

Reply With Quote
Reply