Some basic questions from the beginner

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Dario
Member
Member
Posts: 117
Joined: Sun Aug 31, 2008 12:39 pm

Re: Some basic questions from the beginner

Post by Dario »

Solar wrote: Attacking the forum as being "not helpful" is another such thing that won't win you many friends here. Indeed I know of no better place to ask the real questions about writing your own OS, x86 or otherwise.

Please take a step back, reconsider your approach, and consider reading at least volume 1 of the Intel manuals before proceeding with your OS plans.
If you search my post history, you will find out that I have red Intel's first manual. I don't think that it provides answers to my question.
Second, I was NOT attacking this forum, but the approach of one individual....if you can call this an "attack". So no need to exaggerate.

I'm very grateful for provided link, but I'm searching for more detailed explanation. If one can't or won't provide that, then he doesn't have to....just ignore it and I'll realized that I have just asked stupid question.
____
Dario
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Some basic questions from the beginner

Post by Solar »

Dario wrote:If you search my post history, you will find out that I have red Intel's first manual.
If I do that for every question here, checking the background of the poster...
I don't think that it provides answers to my question.
I think it does, when taken in combination with other things that you'd have to check if you were to follow the "How-To ask questions the smart way".

Let's try it again.

From your OP:
So, every process is segmented in memory (.code, .data, .stack and .heap)...question is, do the segment registers like CS, DS, SS...select these segments in memory or did I confused it with something else...
Try Segmentation in the Wiki, and the chapter [wiki]Segmentation#Notes Regarding C[/wiki] will tell you that you did confuse things. Now you would wonder, what is this memory map about, and perhaps you would check out the ELF page on the Wiki, which gives an introduction to the subject. In any case, you would now know enough not to ask "explain the whole field of segments to me", but to ask specifically for what you didn't understand.
Second, I was NOT attacking this forum, but the approach of one individual...
...which is called "STFW", and which I still consider highly appropriate when the question is as sweeping as yours.
I'm very grateful for provided link, but I'm searching for more detailed explanation.
Which you really expect someone to type in here? All we could do would be to point you towards such an explanation, and guess what, we'd be using Google to find those pointers, so... why don't you try yourself? (Effectively repeating berkus' point.)
If one can't or won't provide that, then he doesn't have to...
You know the story about giving a man a fish vs. teaching him how to catch fish himself?
Every good solution is obvious once you've found it.
Dario
Member
Member
Posts: 117
Joined: Sun Aug 31, 2008 12:39 pm

Re: Some basic questions from the beginner

Post by Dario »

Try Segmentation in the Wiki, and the chapter [wiki]Segmentation#Notes Regarding C[/wiki] will tell you that you did confuse things. Now you would wonder, what is this memory map about, and perhaps you would check out the ELF page on the Wiki, which gives an introduction to the subject. In any case, you would now know enough not to ask "explain the whole field of segments to me", but to ask specifically for what you didn't understand.
At that time I was confusing hardware segmentation with process segmentation. Thanks to one member from this forum, because he pointed me to the right place, I cleared some things out. I'm pretty short on time (job+study) so I still don't have time to start something serious...so I spend time reading this forum and learning how things are implemented in real life.

I also red a lot of wiki pages but found them very confusing...especially when you are a beginner.

Thank you!
____
Dario
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Re: Some basic questions from the beginner

Post by JackScott »

Dario wrote:I also red a lot of wiki pages but found them very confusing...especially when you are a beginner.
If I may ask, which ones were confusing, and which parts didn't you understand? If we know, maybe we can make them better for the next person.
Dario
Member
Member
Posts: 117
Joined: Sun Aug 31, 2008 12:39 pm

Re: Some basic questions from the beginner

Post by Dario »

JackScott wrote:
Dario wrote:I also red a lot of wiki pages but found them very confusing...especially when you are a beginner.
If I may ask, which ones were confusing, and which parts didn't you understand? If we know, maybe we can make them better for the next person.
Hi,

problem is that everything is pretty scattered...There should be some kind of "road map"...but then again, it could be just me. Don't get me twisted, your wiki is great resource, but once you know what and where.
I also red some stuff before this site (especially segmentation under the DOS, regular wiki....) which only got me more confused.
It could be that all this is just a learning process...so don't get things too "personal".

With best regards
Dario
____
Dario
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Some basic questions from the beginner

Post by Solar »

Dario wrote:problem is that everything is pretty scattered...There should be some kind of "road map"...
Like Expanded Main Page?

Yes, the whole subject is wide and confusing, and there is no simple, true way to get through all this. Because what you have, effectively, is a bunch of tools and raw materials. How you combine them to build your house (OS), it's up to you, and depending on whether you want to build a blockhouse or a mansion, will be very different.
Every good solution is obvious once you've found it.
Post Reply