Home   |   Jungo Corporate Web Site   |   Connectivity Software Store   |   Contact us   |   Search:
Home Connectivity Software Support WinDriver Support Technical Documents

Technical Document #51



Doc ID: 51
Product: WinDriver
Version:  --

How do I port a DOS driver, which uses inp() and outp() calls to access the card, into a Windows driver?

Simple! Include the sample basic_io.c source code (found under the WinDriver/samples/basic_io/ directory) in your code.
Define the I/O range your card uses in MY_IO_BASE and MY_IO_SIZE.
[For example: To use range 0x378-0x37a, define MY_IO_BASE=0x378 and MY_IO_SIZE=3].
Call IO_init() at the beginning of the driver, and IO_end() before exit.
Replace any inp() and outp() calls in your code with IO_inp() and IO_outp(), respectively.
Compile and run!

Back to Top

USB Software


Jungo provides a complete and integrated array of USB software solutions, allowing you to complete your projects rapidly and with total confidence.



Products ranging from Embedded USB Software, through USB Software Communication Drivers, to USB Software Testing, icluding innovative and unique USB software patents, allowing our customers to gain a competative edge.

PCI Software


Our extensive solutions portfolio of PCI software may fit any developer/team who is interested in a rapid development of PCI/PCI-Express connectivity software components.