Parallel Port Programming - WinPort9x
By Pete Nowalski
The parallel port is an easy way to interface the PC to real world devices. WinPort9x is a Windows application that demonstrates basic programming of the parallel port in "C" programming language. A computers parallel port can be used for various types of electronic circuit control and monitoring.
The Winport9x help file gives a basic overview of the parallel port and how to program it. The program illustrates the theory by allowing the user to read and write data to the port. WinPort9x can be used as a reference tool for linking electronic devices to a PC.
Download WinPort9x Source Code
WinPort9x is designed to operate with the parallel port in the SPP, EPP, or ECP modes, and gives the programmer 5 input, and 12 output bits. Being a basic tutorial, bio-directional modes are not supported. Parallel ports integrated on the motherboard are configured in the computers Bios. If the parallel port can be configured in the in the SPP, or Standard mode, it can be programmed to have a total of 9 input, and 8 output bits. This is demonstrated in WinPort9x [SPP].exe
View WinPort 9x [SPP] Help File
Download WinPort 9x[SPP] Source Code
Windows NT, 2000, and XP will not allow programs to access the computer's ports. This will cause WinPort, and programs like it to fail. A port driver such as PortTalk by Craig Peacock would be required.
WinPort9x and WinPort9x [SSP] are provided as tutorials, without any guarantee made to their suitability or fitness for any particular use. The author assumes no responsibility for loss or damages incurred from use of these applications or information.