Using the parallel PC port for input within TP 3.0

Hello Fellow usenet'ers,

I hope this will not repeat a previous post. I searched on this
newsgroup and found nothing relevant. I need to be able to read a
value from the PC parallel port in Turbo Pascal 3.0 (old, eh?...).
Can someone with experience in this area give a few hints so that I
don't waste too much time on something that might be trivial? I guess
I should read some I/O lacation (IN command), but there might be a few
commands that should be written to the parallel port before that to
configure it as input etc. I need as many bits as possible (I guess 8
is reasonable). Thank's in advance for any help offered. Cheers!

When Replying, please email me directly in addition to posting
here, so no responses are missed. Don't forget to remove the
"55" from my email address inserted as an anti-spam counter

Thanks and best regards,