write OS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
mayao296
Posts: 2
Joined: Thu Mar 13, 2008 6:55 am

write OS

Post 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!
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

This is not the subforum for newbie help requests.

Read the "ESSENTIAL READING - READ THIS BEFORE POSTING" thread.
Paw
Member
Member
Posts: 34
Joined: Fri Mar 07, 2008 11:20 am

Post 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.
User avatar
zaleschiemilgabriel
Member
Member
Posts: 232
Joined: Mon Feb 04, 2008 3:58 am

Post by zaleschiemilgabriel »

Start by saying "Hello World!". :)
DeviOuS - what a stupid name
mayao296
Posts: 2
Joined: Thu Mar 13, 2008 6:55 am

Post 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!
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

Smart, making your email easily available....w/e

STFW.
Brans Kernel has a keyboard driver.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
mrvn
Member
Member
Posts: 43
Joined: Tue Mar 11, 2008 6:56 am

Post 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
Life - Don't talk to me about LIFE!
So long and thanks for all the fish.
Post Reply