On Tue, 23 Sep 2003, Bernd Mödeker wrote:
the internal vga pci device at 0:12.4 should be found when you write 0x80009400 to pci index reg 0xcf8. After that the value 0x0504100b should be returned at 0xcfc as vendor id (0x100b) and device id (0x0504). After single stepping this return value AX is set to 0x4000 and not 0x100b. Unfortunaly EAX is not printed:
c000:0124 ed IN EAX,DX c000:124 - AX=4000 BX=0000 CX=0000 DX=0cfc SP=ffea BP=0000 SI=0000 DI=0000 DS=0000 ES=c000 SS=0030 CS=c000 IP=0126 NV UP DI PL ZR NA PE NC
you're not going to get eax in an 8086. This is an issue.
I wonder if there is an enable for the vga device that we are not setting.
ron