Page 1 of 1
I feel confused :(
Posted: Sun Jul 09, 2006 3:04 am
by Tim Chan
Hi everyone, I'm new to here.
I've learn the basic of OSDev that is I know what tools I need and how to compile a kernel. Also, I'm reading some books about the structure of OS and the intel manual 3A. I followed Bran's Kernel Development Tutorial and made a very basic kernel. But I can't go further than that.
My problem is that I have no idea to implement what I've learnt. For example, I grasp the concept of paging but my brain is blank when I start to code. I'm frustrated.
I need some advice, please.
Re:I feel confused :(
Posted: Sun Jul 09, 2006 9:49 am
by spix
Hi
Perhaps try thinking about what an operating system does, then breaking it down to smaller pieces.
So you understand how paging works, but what is it good for?
I take it that by following the tutorial you are in a place where you can write C code?
Perhaps with your knowlege on the concept of paging, you might want to think about some sort of memory system, allocation, deallocation and so on?
The trick to eating an elephant is by taking one bite at a time, and it is the same with os development. You just need to think about what you want the end product to be like, and then split it up into all the little things that need to happen to get there.
Hope that helps.
Andrew
Re:I feel confused :(
Posted: Sun Jul 09, 2006 11:18 am
by kataklinger
Tim Chan wrote:
I'm frustrated.
Welcome to The Real Word, Neo... Or at least OS Dev. World!
You will be frustrated all the time, well except the time when most of things work correctly
Try to rewrite some code (making changes you want), look to the other's people code... I don't see what's the problem to implement something if you understand it. Try reading some more tutorials(Intel System Programming Guide won't help you much with this problem)...
Re:I feel confused :(
Posted: Sun Jul 09, 2006 12:43 pm
by earlz
You just need to think about what you want the end product to be like, and then split it up into all the little things that need to happen to get there.
lol maybe if I did that my OS wouldn't have so many inconsistencies
anyway...
what I try to do is just look at the code and make sure I understand it
also I reccommend using codeblocks(an ide) for OS deving because it lets you have full control over compiling
if you need a template for a codeblocks file then download my latest release of jouleos(0.0.4) at
http://jouleos.galekus.com ....
also I reccomend using bootf as a bootsector