Page 1 of 1
write OS
Posted: Thu Mar 13, 2008 7:11 am
by mayao296
I want to write a my own little OS.Now I have some OS theory knowlege and read the low version linux kernel.But I am shortage of experience and pratice.So I holp someone can give me some advice,thanks!
Posted: Thu Mar 13, 2008 7:20 am
by JamesM
This is not the subforum for newbie help requests.
Read the "ESSENTIAL READING - READ THIS BEFORE POSTING" thread.
Posted: Thu Mar 13, 2008 8:15 am
by Paw
In which areas do you lack experience and practice? If you would provide more detail here, people could actually give you individual advice.
Posted: Thu Mar 13, 2008 8:58 am
by zaleschiemilgabriel
Start by saying "Hello World!".
Posted: Thu Mar 13, 2008 8:31 pm
by mayao296
On the area of device driver,for example the keyboard driver,I never write a driver ago and lack informations on it,so I don't know how to drive it.Could somebody give me some materials on keyboard and harddisk?My email:
[email protected] .Thanks!
Posted: Thu Mar 13, 2008 10:35 pm
by piranha
Smart, making your email easily available....w/e
STFW.
Brans Kernel has a keyboard driver.
-JL
Posted: Fri Mar 14, 2008 2:45 am
by mrvn
mayao296 wrote:On the area of device driver,for example the keyboard driver,I never write a driver ago and lack informations on it,so I don't know how to drive it.Could somebody give me some materials on keyboard and harddisk?My email:
[email protected] .Thanks!
If you are running linux then I would suggest you use XEN and look at the miniOS kernel that comes with it. XEN allows you to run your kernel in parallel to your linux so you don't have to close your editor and reboot every time you want to try something. It also starts you off in protected mode without the need for a complex bootstrapping procedure to setup initial page tables, intterupt descriptors etc.
It also provides you with a virtual console, virtual block device, virtual network device and virtual frame buffer device that all work on the same basic mechanism (understand one of them and the rest is trivial). That frees you from writing drivers for each and every hardware out there and allows anyone else to run your kernel on their own hardware. You have sata, they have scsi, your kernel only sees the xen virtual block device.
MfG
Mrvn