Proto OS - Open source OS Needs more developers

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
OpteronELITE

Proto OS - Open source OS Needs more developers

Post by OpteronELITE »

Hello, me and a friend are writing a 32-Bit protected mode OS in C. We believe that a project of this size warrants more than 2 coders. Any help is apprieciated. Email: (Not recommended due to SPAM) [email protected] or Instant Message me. Visit the website for mroe information: www.protosite.tk. Thank You for reading this. :)
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Proto OS - Open source OS Needs more developers

Post by Solar »

Be assured that I am not laughing about you, more like laughing about myself...
OpteronELITE wrote: We believe that a project of this size warrants more than 2 coders.
;D :'( ;D :-[ ;D

Which project doesn't?

:D :D :D

Sorry, I get slightly hysteric everytime I realize that my own project is driven by only 2 people, given the scope we have given ourselves...

Someone pass me the Valium, please...

;D

Then again, that's one person more than being alone on the project...

:-* 8) ::)
Every good solution is obvious once you've found it.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Proto OS - Open source OS Needs more developers

Post by Pype.Clicker »

so far, there are about 15 people registered as coders for Clicker, but i'm still the only one to post code :(
beyond infinity lazy

Re:Proto OS - Open source OS Needs more developers

Post by beyond infinity lazy »

Due to my own experience in what is regarded as "team work" I prefer working on my own. this includes my OS project. I work on it, I decide, which way to go, I decide about coding style, api and other issues. So, no need to bother 'bout unlucky or rambling "team mates" - thank you very much.

Opteron... stay with your one co producer for this os-project. It is said, that too much cooks spoil the soup. It is true.

stay safe
OpteronELITE

Re:Proto OS - Open source OS Needs more developers

Post by OpteronELITE »

We have no choice but to get more coders! We are stuck on the memory manager and we do not know what to do. :( We tried a mem.c implementation but it has alot of errors. We need help!
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Proto OS - Open source OS Needs more developers

Post by Solar »

OpteronELITE wrote: We have no choice but to get more coders! We are stuck on the memory manager...
If you're stuck, you don't need more coders, to the contrary. You need more coders to get things done, not for figuring them out.

What you need is a couple of tutorials and some example code... looking at the QuickLinks thread in this forum, using Google, and looking at other system's internals should help.
Every good solution is obvious once you've found it.
beyond infinity lazy

Re:Proto OS - Open source OS Needs more developers

Post by beyond infinity lazy »

oi, I feel the long to start some bickering ...

Opteron, oh, gosh, how dare you! Come on, lad, memory management in itself isn't difficult.

I suggest you to take a sheet of paper and draw several sketches about what happens in computer memory when it comes to paging and so forth.

One Hint: You have only one physical memory area - your ram. the memory manager keeps track of unuseable memory areas, useable memory areas, and it hands out chunks of memory to processes on request - with all the bookkeeping daddling that comes along. It is up to you to tell how you want to handle physical memory (split it up in chunks to hand them out or so...) - and how you want to organize your VIRTUAL memory per process (with paging at least THIS is really no problem). for more: tim robinsons memory management texts explain it to useful extent.

and as solar has pointed out: more coders can't help you out of your misere.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Proto OS - Open source OS Needs more developers

Post by Pype.Clicker »

OpteronELITE wrote: We have no choice but to get more coders! We are stuck on the memory manager and we do not know what to do. :( We tried a mem.c implementation but it has alot of errors. We need help!
then, imho, what you need is not coders, but rather programming tutorials.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Proto OS - Open source OS Needs more developers

Post by Pype.Clicker »

http://www.mega-tokyo.com/forum/index.p ... 2;start=30

some wise words that might worth reading ...
OpteronELITE

Re:Proto OS - Open source OS Needs more developers

Post by OpteronELITE »

http://osdev.neopages.net/tutorials/cottontailmm.php I downloaded the source to the memory manager http://osdev.neopages.net/downloads/tuts/cottontmem.zip But it will not compile in DJGPP, and has alot of source errors! Now what?
OpteronELITE

Re:Proto OS - Open source OS Needs more developers

Post by OpteronELITE »

I know exactly what a memory manager needs to do, but not how to implement it. :(
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Proto OS - Open source OS Needs more developers

Post by Solar »

OpteronELITE wrote: I know exactly what a memory manager needs to do, but not how to implement it. :(
Then your problem isn't in coding, but in software design. You don't need coders or code tutorials, you need a clue and some practice in how to make software solve the problem at hand...
Every good solution is obvious once you've found it.
bkilgore

Re:Proto OS - Open source OS Needs more developers

Post by bkilgore »

You're going to find that for basically everything in your Operating System, you will know basically what it needs to do. If you can't take this goal, and determine some way of reaching it, then you will not code an Operating System. Maybe you will manage a team of programmers online that will do all of the actual coding, but is this what you really want?

My advice: write down on paper (don't just say you already know it and don't need it on paper) exactly what you want your memory manager to do. Start simple, i.e., "return an unused portion of memory upon request and mark it as used"

This single statement provides you with a simple memory "manager" that just keeps a pointer in memory that begins after the kernel and is incremented every time a request for memory is issued. There is no way to free this memory back so that it can be used again, but it at least will return an address for malloc.

From here you can begin writing more high-level objectives that you want for your memory manager, and begin brainstorming what possible methods (linked lists, bitmaps, etc) can be used to solve these problems.

This kind of problem-solving technique is necessary for almost everything you will write for your operating system, so start learning how to do it well now, and it will serve you well later on.
OpteronELITE

Re:Proto OS - Open source OS Needs more developers

Post by OpteronELITE »

I do not know hwo to code this memory manager, but I know what I need to get it to do. Allocate memory, etc
OpteronELITE

Re:Proto OS - Open source OS Needs more developers

Post by OpteronELITE »

I am totally confused about HOW to do this! I feel like an idiot! I read teh Memory management 1 and 2 totorials, and I am stumped as how to get it to do this! My problem is, I do not know how to get it to do this! :( I feel like an idiot! And my partner is even worse off. :(
Post Reply