Help with my 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
thoover

Help with my OS

Post by thoover »

My OS is 1/4 finished all I want to know is how to run drivers and use the sound card.

Any Good Links ???
Cjmovie

Re:Help with my OS

Post by Cjmovie »

Running drivers -> This, like 99% of everything else in OS-Dev, is up to you. You should provide an interface for tasks (in a microkernel) or kernel-space libraries (in a monolithic kernel) to detect (possibly), react to IRQ's or whatnot, be given port access (in a OS using TSS protection), send messages to other programs, and receive messages. Chances are you'll want to have message queues set up before you even think about drivers; it will save you many headaches.

As for the sound card, that depends. The Soundblaster, AC'97 codec, and a select few others are documented well enough to implement yourself. You cannot of course use the drivers that you are given for use in, say, windows or linux, which come from the people you bought it from.
As for AC '97, I've no idea. The Soundblaster, however, information can be found about that easily through the OS Faq.
Dex4u

Re:Help with my OS

Post by Dex4u »

You can get example for simple ac97 drivers from these posts
http://www.mega-tokyo.com/forum/index.p ... eadid=8615
Post Reply