- Which video card registers a driver is setting?
- Posted by Cody on July 30th, 2003
I am trying to reverse engineer the Windows 98 driver for a video card in
order to find out what hardware registers on the card the driver is setting.
To do this under DOS, all I have to do is get the PCI offset in memory of
the video card, and then instruct my debugger to break when the memory
address corresponding to the register I am interested in is written to. I
have absolutely no idea where to begin to do this under Windows, or if it is
even possible. Can anybody point me in the right direction on how to
accomplish this?
Cody.
- Posted by Cody on July 31st, 2003
I actually have the source code for an equivalent XFree86 driver for this
card, but cannot isolate the code that is providing the functionality I
need. At this point I am simply looking to get a dump of all the registers
set by the driver, and then read them all back in (in my program) to get the
card back into the state I need.
Cody.
- Posted by Maxim S. Shatskih on July 31st, 2003
Wow! Reading the source is always easier then reverse-engineering.
Max