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.
I feel confused :(
- spix
- Member

- Posts: 128
- Joined: Mon Jun 26, 2006 8:41 am
- Location: Millicent, South Australia
- Contact:
Re:I feel confused :(
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
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
- kataklinger
- Member

- Posts: 381
- Joined: Fri Nov 04, 2005 12:00 am
- Location: Serbia
Re:I feel confused :(
Welcome to The Real Word, Neo... Or at least OS Dev. World!Tim Chan wrote: I'm frustrated.
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)...
-
earlz
Re:I feel confused :(
lol maybe if I did that my OS wouldn't have so many inconsistenciesYou 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.
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