WinDriver regards the Parallel port as if it were an ISA card (with I/O addresses
0x378-0x37f). You can therefore select to create a driver for the PC's parallel port by
selecting the "Parallel port" option from the DriverWizard's "Card Information" window.
You will then be able to read/write the I/O addresses of the parallel port, view
the relevant registers and listen to the parallel port interrupt. You will also be able
to edit the resources definitions, as with any other ISA card. In addition, you can use the DriverWizard to generate a skeletal diagnostics code, which utilizes
WinDriver's API to access the parallel port's I/O addresses and register to listen to the parallel port's interrupt.
For a sample WinDriver Visual Basic parallel port application (including source code),
please refer to: WinDriver\vb\samples\parallel directory.
Please note that WinDriver does not handle possible conflicts with the operating system's parallel port driver, and you may need to disable this driver when using
WinDriver to access the parallel port.
Back to Top
|