PC parallel port has 5 input pins. Those inputs can accept TTL level signals (0-0.7V = logic 0, 2.4-5V = logic 1). You can connect a TTL level output signal to it directly (remeber to attach the signal source ground to parallel port ground).

welche ports das sind, findest du sicher raus.

danach port abfragen:

MOV DX,0379H
IN AL,DX

das geht aber nicht unter win xp.

hilft das bissl weiter?