Page 1 of 1

tuts. gdt. bit writing

Posted: Tue Dec 30, 2008 12:32 pm
by VolTeK
i took a look at the broken thorn tuts, i have read up on some that i have read 4 times (maybe one or two of the tuts). and i got to the pmode with gdt, i have know idea of how it works and why its there, it tells me but i dont understand the whole idea, that and what it means by

the first 40 bytes
bit 0
bit 1

stuff like that is not on there but how do i edit the 40th byte with one or two?

this maybe dumb, and i know a "good" google seach wont give me any bad explanations, but chances are that somone here can give me a better explanation

wait dont answer the bottum question i found the answer http://forum.osdev.org/viewtopic.php?f=13&t=18660

Re: tuts. gdt. bit writing

Posted: Tue Dec 30, 2008 1:35 pm
by CodeCat
I'm a bit confused by your question. You're not sure what the GDT is for?

Re: tuts. gdt. bit writing

Posted: Tue Dec 30, 2008 4:17 pm
by Combuster
wasn't bit manipulation the first item on the list of "required knowledge" :shock:

I'm sorry I have to repeat myself, but you showed yet again that you're not up to the task of writing an OS.

Re: tuts. gdt. bit writing

Posted: Tue Dec 30, 2008 4:36 pm
by VolTeK
as i was asking.... well i dont really know what gdt is need for, i know it is needed to initiallize pmode.

Re: tuts. gdt. bit writing

Posted: Tue Dec 30, 2008 5:27 pm
by Combuster
If you have read all the tutorials (like you claim) and you can't even take up the bit about what the GDT does, then how would you be able to grasp what a kernel does under the hood?

OS development is among the most difficult things in the programming world you can do. That means that there will always be people who just can not do it. I highly recommend that you find something you are more talented in since its obviously doesn't show around this business.