Doc. # 1-0002480 | |||
---|---|---|---|
Date Updated | 06-01-2004 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | PCI-1750 |
Do you have any example for access PCI-1750 under MS-DOS? | |||
---|---|---|---|
Solution:
This program will show you the detail information about the PCI card, such as Bus number, Device number, Function number, all the registers, base address and interrupt information.
I'd like to explain this program for you. Most of all, the 'ven_id' (Vendor ID) and 'dev_id' (Device ID) must be aware first. Both of them were fixed and can be read by first 4 bytes of the register. For example "175013fe". The '1750' means the 'ven_id', and the '13fe' means the 'dev_id'. If one of them mismatch, then the program can't execute any more.
Then, this program will show Bus number, Device number, Function number, all the registers, base address and interrupt information. In my testing environment, I got following information.
Bus No. = 0
Device No. = 20
Function No. = 0
base_addr = 6900
Interrupt line No. = 10
Finally, this program will keep reading the Digital Input port until press any key.
|
|||
Download File | Release Date | Download Site | |
Amcclib.c (KM-MHUG-4D9828) | 07-26-2000 | ||
1750test.dsk (KM-MHUG-4D9828) | 07-26-2000 | ||
1750test.exe (KM-MHUG-4D9828) | 07-26-2000 | ||
1750test.prj (KM-MHUG-4D9828) | 07-26-2000 | ||
Amcc.h (KM-MHUG-4D9828) | 07-26-2000 | ||
1750.c (KM-MHUG-4D9828) | 07-26-2000 |