tuts. gdt. bit writing

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.
Locked
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

tuts. gdt. bit writing

Post 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
CodeCat
Member
Member
Posts: 158
Joined: Tue Sep 23, 2008 1:45 pm
Location: Eindhoven, Netherlands

Re: tuts. gdt. bit writing

Post by CodeCat »

I'm a bit confused by your question. You're not sure what the GDT is for?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: tuts. gdt. bit writing

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: tuts. gdt. bit writing

Post by VolTeK »

as i was asking.... well i dont really know what gdt is need for, i know it is needed to initiallize pmode.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: tuts. gdt. bit writing

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Locked