register access

[b][red]This message was edited by cylo at 2004-11-7 9:45:49[/red][/b][hr]
Hello!

I need to read from and write into my grafic card registers. I have the datasheet of this chip but i did not realy figure out how to access all that.

Table 4-9: Function 4: pci header registers for video controller summary
------------------------------------------------------------
F4 Index - Width(Bits) - Name
------------------------------------------------------------
00h-01h - 16 - Vendor Id
...
10h-13h - 32 - Base Adress Register (F4BAR)
...

Table 4-10: F4BAR: Video Controller Configuration Register Summary
------------------------------------------------------------
F4BAR+Memory Offset - Width(Bits) - Name
------------------------------------------------------------
00h-03h - 32 - Video Configuration Register
...

"... f4bar must be accessed using dword operation... when writing in one of this 32bit registers, all four bytes must be written."
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories