Ask HN: 90 年代的显卡驱动程序是如何编写的?

1作者: ferguess_k8 个月前
我读了这篇文档,彻底惊呆了。<p>https://www.haiku-os.org/legacy-docs/benewsletter/Issue4-8.html<p>我做过一些简单的嵌入式驱动开发,但即使是 90 年代的显卡,在我看来也像个庞然大物。<p>我认为关于这个主题的书籍并不多——我们最好的参考是《Linux 设备驱动程序》,而且我认为没有任何一本书会深入探讨显卡驱动程序的开发。如果我想了解细节,我可能会阅读 OSS 驱动程序的源代码。<p>我想知道是否有更多类似这样的故事或博客(也许在 80 年代也有,还记得那些 Hercules 显卡吗?)。一想到坐在格子间里,为设备驱动程序编写代码,到处阅读文档,在每一个坚实的壁垒上碰壁直到我开始看到代码在空中浮现,一杯接一杯地猛灌咖啡,熬夜到深夜……这真的让我感到温暖。我知道这比真实的故事要浪漫得多,但我忍不住去想象。
查看原文
I read this doc and it completely blew my mind.<p>https:&#x2F;&#x2F;www.haiku-os.org&#x2F;legacy-docs&#x2F;benewsletter&#x2F;Issue4-8.html<p>I have done a few simple embedded driver development but graphic cards, even in the 90s, look like beasts to me.<p>I don&#x27;t think there is any books on this topic -- the best thing we have is Linux Device Driver, and I don&#x27;t think any book is going to dive deep into graphic card driver development. If I want to know the details, I&#x27;ll probably read the source code of OSS drivers.<p>I&#x27;m wondering if there are more stories or blogs like this (maybe in the 80s too, remember those Hercules cards?). It really warms me up thinking about sitting in a cube, writing code for device drivers, reading docs everywhere, banging my head on every solid wall until I start to see code in air, quaffing coffee one by one, going into deep night...I know it&#x27;s way more romantic than the real story but I can&#x27;t keep myself wondering about it.