Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

remapping pci in real mode dos

I am trying to write drivers for PCI-6503 to run in a 16-bit real mode dos application w/o extenders. I've succeeded in remapping the PCI memory below 1 MB under a 32-bit programming enviroment in Windows 98 but attempting to port that to a 16 bit enviroment has proven to be problematic. I think I've correctly handled the far pointer conversions but the card simply doesn't want to work in the 16-bit environment. I've attached the C code for both.

Have I missed something obvious or is what I'm trying to do just a waste of time?
0 Kudos
Message 1 of 2
(3,212 Views)
Although National Instruments doesn't officially support register-level programming of their DAQ boards, there is some direction for doing this on the website. Go to...
ni.com>Support>Troubleshooting>Installation/Getting Started>Data Acquisition
...then search on "Register-Level".
The title of the page is
"Data Acquisition Register-Level Programming Resources"
There is a link under Common Questions:
"How do I register program a PCI device? How do I find the correct address?"

It looks like you already have the method down, but they have some examples you can download for comparison.
Good Luck!
0 Kudos
Message 2 of 2
(3,212 Views)