System32 Function 35 (23h) - Get Memory Resources used by a PCI Card

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

AL

35d(23h)

BH

PCI Class

BL

PCI Sub Class

CL

Index in DeviceList

CH

Index in Memory ResourceList
Output

AL

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

EBX

Memory Base Address
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...)

The value in CH, 'Index in Memory ResourceList' is used when multiple Memory resources are used. (0 for Memory Resource 1, 1 for Memory Resource 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