kernel development

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.
Post Reply
one

kernel development

Post by one »

I've gone past the "hello world" kernel stage and would like to know how exactlly should i begin work on my p mode kernel? where should i start? what are the functions that have to be taken care of and which could i start out with first? Thanx in advance
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:kernel development

Post by Pype.Clicker »

imho, the most interresting stepping is:
1. make sure you have a working IDT, with handlers for both common interrupts and exceptions. Also make sure you have enough information displayed on exceptions (kind of "panic" message).

2. give your kernel a small memory allocator so that you can more easily create and manage dynamic variables.

From there, it's up to you to define if you want to continue with multitasking, devices like floppies and hard disk, etc. But i would say that the earlier you'll introduce multitasking, the cleaner it'll be.
Post Reply