System32 Function 33 (21h) - Get Resources used by a PCI Card

Description
This service can return the resources used by a specific PCI Card !
Input

AL

33d(21h)

BH

PCI Class

BL

PCI Sub Class

CL

Index in DeviceList
Output

AL

0 if Ok, > 0 if Error (Device not found)

BL

IRQ used by this card

BH

Interrupt line that this card is using. (I did not find a meaning for this yet, though...)

CL

Amount of I/O Resources used by this card

CH

Amount of Memory Resources used by this card
Errorcodes

None

None
Notes
The value in CL, 'Index in DeviceList' can be used to support multiple cards of the same type, for example when System32 Service 32 reports that there are 2 Ethernet Cards installed, then CL can indicate which card to get the information from... (0 for Nic 1, 1 for Nic 2, etc...)

To get a list resources used by PCI Devices that are installed, use the 'pciinfo' command with a pci(Sub)Class as a parameter from the command prompt... (Example 'pciinfo 0200' lists all ethernetcards, and their resources!)
Development Status
Complete

Back