[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Get PCI routing information.
I do PCI work in a DOS environment. I use the DJGGP port
of the gnu C compiler
http://www.delorie.com/djgpp/
it has DOS extender, etc. built in, and is FREE! Works great.
I wrote DOS program to query the PCI bus for devices and memory map,
I could share this if you want.
Here is a url for some programming info:
http://www.escape.ca/~rrrobins/index.html
There is a IO port address that you can use instead of interrupt
routines for PCI config space access, it is supported on some BIOS,
I don't remember details.
Best of luck,
Ivor
At 10:25 AM 8/4/00 +0200, Andy.Vercauteren@egemin.be wrote:
>Hello all,
>
>I'm writing a DOS driver (DOS + Pharlap TNT-extender version 8) for a
compact PCI card.
>
>I understand that in order to get slot information of the system (which
card is plugged in which slot of the CPCI-bus) I have to read the interrupt
table with the PCI BIOS interrupt "GET IRQ ROUTING INFORMATION". ( INT 1ah
AX=B10Eh, BX=0h)
>
>The problem is that my DOS extender doesn't support this interrupt directly
from protected mode.
>
>So I have actually three questions.
>* Is there anyone ou there who had the same problem (issuing a real mode
interrupt from protected mode) and knows how to solve it?
>
>* Is there any information available (on the internet) about the PCI BIOS
interrupts? The information I have is rather confusing. Especially the part
about the pointer to the routing table header returned by the interrupt call
is difficult to understand for me.
>
>* Is there another way in which I can find out which card is plugged in
which slot on the CPCI bus?
>
>Thank you very much in advance for your help.
>
>Regards,
>
>Andy Vercauteren
>
>--------------------------------------------------------------
>Andy Vercauteren
>Development Engineer
>
>Egemin N.V.
>Bredabaan 1201
>2900 Schoten
>
>Tel: +32 (0) 3 641 12 12 (main)
>Tel: +32 (0) 3 641 13 73 (direct)
>Fax: +32 (0) 3 641 13 13
>e-mail: andy.vercauteren@egemin.be
>Website: http://www.egemin.com
>--------------------------------------------------------------
>
>
>