Hi,

I am a newbie to writing device drivers for windows environments, but I
have written drivers before for other OS'es. So I started reading a
book on device drivers and I downloaded the DDK. In the DDK I found a
bunch of sample drivers. In the documentation I found the suggestion to
start off modifying a sample. My question is which sample would be a
good starting point for a driver for a DSP connected to the PCI bus?
Communication between the host and the DSP is done using memory shared
by both devices.
Or are there even better samples available somewhere on the internet I
can use?

TIA
Ruud

Re: Newbie: which sample driver should I use? by Don

Don
Thu Dec 28 12:47:35 CST 2006

Ruud,

I would start with the PCIDRV sample, since it shows how to inialize
and use a piece of PCI hardware. You should use the Kernel Mode Driver
Framework (KMDF) and the WDK (the Vista version of the DDK). Use KMDF
since it is simpler and is the future of Windows drivers. Use the WDK
since it has the latest and best tools, documentation and samples. If you
use KMDF you should also look at the sample driver for the Sealevel Digital
I/O board at http://www.osronline.com/article.cfm?article=403, since this
is a simpler sample.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply




"Ruud van Silfhout" <Ruud.vanSilfhout@mutopiaproject.org> wrote in message
news:45940f4c$0$713$5fc3050@dreader2.news.tiscali.nl...
> Hi,
>
> I am a newbie to writing device drivers for windows environments, but I
> have written drivers before for other OS'es. So I started reading a book
> on device drivers and I downloaded the DDK. In the DDK I found a bunch of
> sample drivers. In the documentation I found the suggestion to start off
> modifying a sample. My question is which sample would be a good starting
> point for a driver for a DSP connected to the PCI bus? Communication
> between the host and the DSP is done using memory shared by both devices.
> Or are there even better samples available somewhere on the internet I
> can use?
>
> TIA
> Ruud



Re: Newbie: which sample driver should I use? by Maxim

Maxim
Thu Dec 28 18:02:40 CST 2006

> good starting point for a driver for a DSP connected to the PCI bus?

DSP? Is it audio or video?

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


Re: Newbie: which sample driver should I use? by Ruud

Ruud
Sat Dec 30 12:21:01 CST 2006

Maxim S. Shatskih wrote:
>> good starting point for a driver for a DSP connected to the PCI bus?
>
> DSP? Is it audio or video?
>

Neither of those. It is for a private application.