I want to read PCI configuration register under pure DOS, using CF8h and CFCh ports.
But it seems not working well. I want to know where is wrong.

mov eax, 80000800h ; bus 0,device 06h, funtion 0
mov dx, 0cf8h
out dx,eax
mov edx,0cfch
in ax,dx ;ax returns the wrong value.
Posted on 2003-07-04 03:22:07 by estar
Ralph Brown has a utility with source that does that. RBPCI can be found here, warning the source is C++ but readable and commented.
Posted on 2003-07-04 03:41:58 by donkey