Page 1 of 1
kernel development
Posted: Thu Aug 28, 2003 12:22 pm
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
Re:kernel development
Posted: Thu Aug 28, 2003 2:15 pm
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.