Parallel port bidirectional programming.

Click For Summary
SUMMARY

The discussion centers on the challenges of programming a Centronics parallel port for bidirectional data transfer on a Compacq 733 MHz computer running Windows 2000 with UserPort in assembly language. The user reports that while the parallel port operates in ECP mode, it fails to function in bidirectional mode due to inefficiencies with command bit b5. The user seeks solutions to restore normal bidirectional data transfer capabilities.

PREREQUISITES
  • Understanding of Centronics parallel port architecture
  • Familiarity with ECP mode and its command bits
  • Knowledge of assembly language programming
  • Experience with Windows 2000 operating system
NEXT STEPS
  • Research methods to configure ECP mode for bidirectional data transfer
  • Explore assembly language techniques for manipulating parallel port registers
  • Investigate alternatives to parallel ports, such as USB-based data acquisition systems
  • Learn about troubleshooting command bit inefficiencies in parallel port programming
USEFUL FOR

Electronics engineers, assembly language programmers, and anyone working with legacy hardware interfacing through parallel ports.

Ravaner
Messages
134
Reaction score
3
Hello. For a while I use Centronics parallel port to enter digitized data in my very old computer (300 MHz). I use Win-2000 + UserPort in assembly language. Unfortunately my old computer is dead and I replaced it by a "new" one Compacq 733 MHz. Parallel port is in ECP mode, every thing works except that it refuses to work in bidirectional mode (cmd bit b5 inefficient) and so I read what I previously wrote on data register. How must I do to retrieve normal bidirectional way for data ?
 
Technology news on Phys.org
Ravaner said:
Hello. For a while I use Centronics parallel port to enter digitized data in my very old computer (300 MHz). I use Win-2000 + UserPort in assembly language. Unfortunately my old computer is dead and I replaced it by a "new" one Compacq 733 MHz. Parallel port is in ECP mode, every thing works except that it refuses to work in bidirectional mode (cmd bit b5 inefficient) and so I read what I previously wrote on data register. How must I do to retrieve normal bidirectional way for data ?

Can you upgrade to a more modern USB-based data acq approach? I'm surprised you were able to find a PC with a parallel port at all...
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
7K
  • · Replies 4 ·
Replies
4
Views
10K
Replies
22
Views
5K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 65 ·
3
Replies
65
Views
12K