Re: Identify AGP settings via INT

From: Daniel Hagmann (spamtrap_at_crayne.org)
Date: 09/17/04


Date: Fri, 17 Sep 2004 21:24:04 +0000 (UTC)

never made it, but if you don`t have the VendorID / DeviceID you could
maybe use "Find PCI Class Code" where class is = 3 = Display Controller

entry:

ah=b1h
al=3
ecx=3 ; display controller, lower three bytes
si=0 ; (?) index, (?subsystem, 0=VGA compatible?)
int 1ah

exit:

bh=bus number
bl=device number (upper 5 bits)
     function number in bottom 3 bits
ah=return code, 0=successful, 86h=device not found
carry set=error, carry clear=success

--
from PCI BIOS specification 2.1 (C) PCI Special Interest Group
the class code list is part of the PCI Local Bus Specification also by
PCI SIG


Relevant Pages