Some Random Thoughts..
Just a place to put some random thoughts..

Today I finished with the keyboard driver. The stupid thing was causing a triple fault. As a stupid newbie, I tried to write ISRs in C and that was the reason behind triple faults. The compiler was generation code using "CALL" and not "JMP" and it was pushing normal things (EBP etc.) on stack. How stupid can I get??

Anyways It is working now. I also have a small shell with it which uses keyboard driver. Screen now scrolls. All and all, a good(?!?), solid(?!?!), working(?!?!?) kernel!

Ok. I think I should call it v0.000001 but it works. I am putting up the for the world(!?) to download and test. Heres a simple readme for the thing.

  1. You have to boot this with GRUB.
  2. On GRUB splash screen press 'c' for the command prompt.
    • type "kernel [path to sos.img on any ext2/3 partition]"
    • type "boot"

  3. SOS should boot up to protected mode now.
  4. A simple integrated shell is given. Only available command is "dump" which will show a register dump (ok.. only two register.. after all its just a proof-of-concept!)
Beware! It could make your CPU smoke!


SOS update (Ready for the world!)
Today I finished with the keyboard driver. The stupid thing was causing a triple fault. As a stupid newbie, I tried to write ISRs in C and that was the reason behind triple faults. The compiler was generation code using "CALL" and not "JMP" and it was pushing normal things (EBP etc.) on stack. How stupid can I get??

Anyways It is working now. I also have a small shell with it which uses keyboard driver. Screen now scrolls. All and all, a good(?!?), solid(?!?!), working(?!?!?) kernel!

Ok. I think I should call it v0.000001 but it works. I am putting up the for the world(!?) to download and test. Heres a simple readme for the thing.

  1. You have to boot this with GRUB.
  2. On GRUB splash screen press 'c' for the command prompt.
    • type "kernel [path to sos.img on any ext2/3 partition]"
    • type "boot"

  3. SOS should boot up to protected mode now.
  4. A simple integrated shell is given. Only available command is "dump" which will show a register dump (ok.. only two register.. after all its just a proof-of-concept!)
Beware! It could make your CPU smoke!



posted by rumplestiltskin @ 7:25 pm 0 comments

0 Comments:


Post a Comment