xxxxx@mcolandreo.fastmail.fm wrote:
“What would you hope to learn?”
Hmmm. Interesting question.
I would learn nothing. These days, I’m a diagnostics software developer. I invent tools that others use. To use to determine whether or not a hardware device is fully functional. If not, to use to troubleshoot what’s amiss. Etc.
Or, simply to use to confirm that the hardware device is actully “there” and is in fact the “part number” that’s supposed to be there.
The OEMs (e.g., Dell, Gateway) require that their hardware vendors
provide DOS-based manufacturing tests, to validate that the device is
what it says it is, and that the basic functionality is healthy.
Unfortunately, they don’t release those tests.
And, in this case, I’m ferreting out means of directly accessing a video adapter from inside the OS.
Windows will not allow you to “directly access a video adapter”. There
are any number of GDI-based diagnostics; the old DCT (display
compatibility tests) suite that was used to qualify display drivers for
WHQL would run a number of tests, and then compare the results to a
known bitmap.
For anything more detailed than that, there is simply no
infrastructure. There is no way to talk to the device, and even if you
could, there are no standards in place for what such access would look
like. Every graphics chip is different.
Because, as you say: “Basically, Windows always assumes that hardware functions perfectly”. And it’s my job to invent tools that can be used from inside the OS to determine whether or not that is in fact true, among other things.
The problem is likely to be unsolvable in the general case. An IDE
device has to respond to a well-defined set of low-level IDE commands in
a well-defined manner, and you can test that. A USB host controller
similarly has to respond to a well-defined set of low-level commands in
a well-defined manner. For a graphics chip, there is no such set of
well-defined commands. Although a single vendor might establish a set
of register meanings for the chips in their product line, chips from
different vendors vary wildly.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.