Thanks to Olin and Peter for answering. I found another way to do what I want so I ended up not needing this information. I did try Peter's idea of using Windows to check the addresses and they match what I found out by using the PCI BIOS interrupt services to read the configuration table. Sean At 08:03 AM 12/13/2002 -0500, you wrote: > > How does one determine the base address that has been assigned to a PCI > > card? I have an RS-422 interface card that I need to use to test out a > > piece of equipment and since the only drivers available for it are HDLC > > (and I need to work with a clocked synchronous mode), I am writing a > > quick DOS program to access it. However, I don't know how to find out >the > > base address that the BIOS is assigning to it. > >I have no idea about DOS, but on NT there are kernel functions to >enumerate the busses and determine what's in each slot. The driver would >do this at initialization time to determine if there is anything plugged >in that it knows how to drive, and create the device context if so. > > >***************************************************************** >Embed Inc, embedded system specialists in Littleton Massachusetts >(978) 742-9014, http://www.embedinc.com > >-- >http://www.piclist.com hint: PICList Posts must start with ONE topic: >[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads --------------------------------------------- Introducing NetZero Long Distance 1st month Free! Sign up today at: www.netzerolongdistance.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu