I have finished my bootsector which can enable A20 Gate , Enable Protected mode , set simple GDT
I want to write the kernel , however i don't know how to start .
thanks
begin to write kernel
Re:begin to write kernel
As well as that please, please read this:
http://www.catb.org/~esr/faqs/smart-questions.html
It seems the bulk of your questions can be answered RTFM or STFW. Also here's a new one (I just thought of ) RTFFAQ. The osdev faq is at:
www.mega-tokyo.com/osfaq2
Another place I'd recommend you going to is the Operating System Resource Center, lots of info there.
Also get some good books, osdev is about 50% reading IMHO.
Hope this helps
http://www.catb.org/~esr/faqs/smart-questions.html
It seems the bulk of your questions can be answered RTFM or STFW. Also here's a new one (I just thought of ) RTFFAQ. The osdev faq is at:
www.mega-tokyo.com/osfaq2
Another place I'd recommend you going to is the Operating System Resource Center, lots of info there.
Also get some good books, osdev is about 50% reading IMHO.
Hope this helps
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:begin to write kernel
start by a very simple kernel, compile it and load it in your bootsector
Re:begin to write kernel
as saied above.. start with a very simple kernel, like writing hello on the screen. after that u could expand that into a text mode driver by writing functions for string output, moving the cursor and setting colors..
then a suppose that user input via the keyboard would be a nice idea..
(may sound like a shell, but in the beginging it?s just to test future drivers/ints..)
after that.. well...
/ Christoffer
then a suppose that user input via the keyboard would be a nice idea..
(may sound like a shell, but in the beginging it?s just to test future drivers/ints..)
after that.. well...
/ Christoffer