bigbox
驱动牛犊
驱动牛犊
  • 注册日期2002-02-06
  • 最后登录2003-03-19
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1310回复:3

请问高手,显卡驱动的开发应该从何入手?有没有sample?问了好几个地方都没人回答:(

楼主#
更多 发布于:2002-04-08 16:41
jansen
驱动小牛
驱动小牛
  • 注册日期2001-10-21
  • 最后登录2007-10-17
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于: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 !
rich
matt
驱动中牛
驱动中牛
  • 注册日期2001-07-24
  • 最后登录2016-02-25
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-04-09 22:28


DDK中有例子: S3/3DLabs ,也有详细的文档。
不过,没有Spec有点困难。
System Internals http://sys.xiloo.com
wlrwx
驱动小牛
驱动小牛
  • 注册日期2002-04-05
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分11分
  • 威望11点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
地板#
发布于:2002-04-10 16:34
安装了DDK 以后,这个地方NTDDK\\src\\video\\displays
就是关于你想要的东西源码,好好研究吧,不过基础要打闹才行的 :P :P :P
真正的浪子―――― 是掠过城市的微风,每个人都能感到他的清新,可没有人能留住...... 亦是划过天际的流星,所有人都能仰望他夺目的光芒,没有人能触及...... 风止于森林,流星损于黄土......非凡浪子归于他的最爱......
游客

返回顶部