阅读:1311回复:3
请问高手,显卡驱动的开发应该从何入手?有没有sample?问了好几个地方都没人回答:( |
|
沙发#
发布于:2002-04-09 20:32
显卡驱动程序:for windows
要装vc6.0.\\98 ddk, win2000 ddk or xp ddk. 还有相应硬件的sdk。接下来你就只有一个事情要做:学习. 首先你要知道你设计的硬件是怎样通过program register工作的,这个只有通过学习sdk了 驱动设计:图形驱动程序有两部分组成:display and miniport minport 一般是给显卡分配资源,以及进行相应的设置模式的硬件操作,还有一些注册表的读写工作。 display: 它应该支持2d/3d/directdraw的部分它提供一些标准的DDI接口函数给GDI,具体的理论部分参见: Display and Print Devices: Windows DDK, which is written in english. the installation file(x.inf) need to be learn. Debug tools software: I recommend you should use the WinDbg ,which can be downloaded from microsoft website. But it need two machines for Debugging---one is server and the other is client, which are connectted by non-modem cable with COM port.The detailed information ,you can refer to its help document. The sample source codes exist in the DDK directory: ..\\DDK\\src\\video. Graphic driver for LINUX system is the same aboeve! Though it is very difficult to a beginner, you can get a lot by peristting in study. Good luck to you ! |
|
|
板凳#
发布于:2002-04-09 22:28
DDK中有例子: S3/3DLabs ,也有详细的文档。 不过,没有Spec有点困难。 |
|
|
地板#
发布于:2002-04-10 16:34
安装了DDK 以后,这个地方NTDDK\\src\\video\\displays
就是关于你想要的东西源码,好好研究吧,不过基础要打闹才行的 :P :P :P |
|
|