Doc. # 1-0003082 | |||
---|---|---|---|
Date Updated | 01-16-2004 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | PCI-1710U |
How to talk to the PCI-1710 with an MS-DOS program? | |||
---|---|---|---|
Solution:
We've develop several c program for testing PCI-1710 in DOS mode. After installed the 32-bit DLL driver, they'll locate at directory "Program
Files\Advantech\adsapi\Utility\PCI1710". Besides, please use the Borland C++ Version 3.1 to compile those example programs. And setting the 'Instruction Set' to '80386' by "Options -> Compiler -> Advanced code generation ...".
inportb : for read a byte
inport : for read a word
outportb : for write a byte
outport : for write a word
When you get the 'base_addr' of PCI-1750, then you can read/write the register by them.
|
|||
Download File | Release Date | Download Site | |
pci1710.zip (KM99913A12) | 07-26-2000 |