Incase if you are wondering what I did yesterday heres the report:
I worked on SOS. I had printf and other functions ready and I wanted to proceed with keyboard driver. For that you first need to understand i8259 PIC, IDTs, IRQs and how to setup everything. After going through a lot of websites, I got it working yesterday. Now I am getting k/b (INT 9/IRQ1) and timer (INT8/IRQ0). All other IRQs are masked using i8259. For someone who has never done it before took a lot of time to get thngs right. In theory everything fits in alright but something was messed up somewhere and it was generating triple faults.
Now that it is working, I am ready to write a keyboard driver. Before that I polished the makefile, created a directory structure. Uptill now it was just a single C file, kernel32.c. I splitted it into 4-5 files according to the functionality.
The code base is taking some shape now. Basic developement framework (makefiles, test setup) is ready. Now, I think, is the time to slow down a little and plan things.