Newbie welcomes small theory assistance
Posted: Fri Feb 05, 2010 2:35 am
ok I've been reading OSdev wiki and a few other sources for over a month now to get the general theory down and learn the flow of this significantly different river.
i am a long time programmer but have been using C/C++ for a very short time but i have always picked up syntax and style rather fast, so long as i have the means to put what i am trying to learn into practice and see feedback on ways i can manipulate the code.
now the main thing i I'm inquiring is the general style and methods that need be used for a kernel.
i have gotten to grips with the main kernel loop partially, but that is covered enough to learn about in the wiki, the things i need to know about is in what i need to pre-assemble in order to support things latter.
for instance i will need to run executable files of an as yet undecided format. but i don't know what i would have to do to even cover the theory of this working in myos. i have not found anything on this topic so far.
also something i cannot grasp completely is memory management in C/C++ (oh my os will be in C++) i have read many many things on the topic however i do not understand how without referring to the physical memory address like in a few assembly things i have seen, it can actually locate and read/write specific places in the memory.
i also am having difficulties finding relevant beginner and a tad higher learning resources in assembly. for instance i can find many things that explain how to do stuff at a pre-requisite level of which i have yet to attain. i did manage to track down an eBook version for "The Art of Assembly" apparently a great book to learn from however it uses some different compiler and syntax as compared to what i believe NASM uses which is my preferred assembler so far just because it is very very common. the book is sub-titled the HLA Version and as such it has many differences that even the first chapter is enough to warn me off of it.
for now i think this is all of the nudging i need to be facing my target.
thank you in advanced and sorry for being long winded, lol.
sign,
Nekroze
i am a long time programmer but have been using C/C++ for a very short time but i have always picked up syntax and style rather fast, so long as i have the means to put what i am trying to learn into practice and see feedback on ways i can manipulate the code.
now the main thing i I'm inquiring is the general style and methods that need be used for a kernel.
i have gotten to grips with the main kernel loop partially, but that is covered enough to learn about in the wiki, the things i need to know about is in what i need to pre-assemble in order to support things latter.
for instance i will need to run executable files of an as yet undecided format. but i don't know what i would have to do to even cover the theory of this working in myos. i have not found anything on this topic so far.
also something i cannot grasp completely is memory management in C/C++ (oh my os will be in C++) i have read many many things on the topic however i do not understand how without referring to the physical memory address like in a few assembly things i have seen, it can actually locate and read/write specific places in the memory.
i also am having difficulties finding relevant beginner and a tad higher learning resources in assembly. for instance i can find many things that explain how to do stuff at a pre-requisite level of which i have yet to attain. i did manage to track down an eBook version for "The Art of Assembly" apparently a great book to learn from however it uses some different compiler and syntax as compared to what i believe NASM uses which is my preferred assembler so far just because it is very very common. the book is sub-titled the HLA Version and as such it has many differences that even the first chapter is enough to warn me off of it.
for now i think this is all of the nudging i need to be facing my target.
thank you in advanced and sorry for being long winded, lol.
sign,
Nekroze