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.

Re: Which video card registers a driver is setting? by Cody

Cody
Thu Jul 31 07:22:10 CDT 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.

> Why doing any live debugging? Disassemble the binary and work with
results.
>
> It is not even necessary to have working Win98 to do this.
>
> Max



Re: Which video card registers a driver is setting? by Maxim

Maxim
Thu Jul 31 11:40:06 CDT 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.

Wow! Reading the source is always easier then reverse-engineering.

Max