Hallo Marcus,
wie du richtig schreibst befindet sich das Data-Register auf &H378.
Nun hat die Centronicsschnittstelle noch 2 weitere Register, nämlich
auf &H379 (=5 Eingänge)
Adresse 379H = DATA 0…7 = Eingänge
DATA 0 = not connected
DATA 1 = not connected
DATA 2 = not connected
DATA 3 = Error…Pin 15
DATA 4 = Select In…Pin 13
DATA 5 = Paper End…Pin 12
DATA 6 = ACK…Pin 10
DATA 7 = BUSY…Pin 11
und auf &H37A (=4 Ausgänge)
Adresse 37AH = DATA 0…7 = Ausgänge
DATA 0 = STROBE…Pin 1
DATA 1 = AUTO FD…Pin 14
DATA 2 = INIT…Pin 16
DATA 3 = SELECT…Pin 17
DATA 4 = not connected
DATA 5 = not connected
DATA 6 = not connected
DATA 7 = not connected
Auf
/Eigenwerbungmodus ein
http://www.12move.de/home/hanskrause/elektro.htm
/Eigenwerbungmodus aus
findest du in centport.zip ein VB programm mit sourcen, das alle Pins
bedient.
Mfg
Hans