[comp.sys.ibm.pc.misc] IBM PC parallel port -- bidirectional...

eli (Steve Elias) (09/20/90)

if you have code or knowledge about doing bidirectional things with a
IBM PC parallel port, under any OS at all, please contact me at any
of the obfuscated addresses or phone numbers below.

thanks!

/eli

know()		/* eli@spdcc.com   617 932 5598   fax 508 294 0101  */
{
char *cp = index( "eli@pws.bull.com", 'b' );  
(*cp + 4) = 0; fputs(cp); i_like_teco(); }

jims@pro-berks.cts.com (Jim Sloan) (09/22/90)

Lance Leventhal and Sally Cordes have a book called Assembly language
subroutines for the 8086 that has bidirectional communications through the
parallel port.  I haven't tried this, but I know it can be done.

Phoenix Systems Software
P.O. Box 2525
West Lawn, PA 19609
c/o Jim Sloan
My employer(s) is/are my customer(s).  I cannot represent their views.

wb8foz@mthvax.cs.miami.edu (David Lesher) (09/22/90)

Reply-To: wb8foz@mthvax.cs.miami.edu (David Lesher)

Note that the genuine IBM XT parallel port would not read data on the 8
data bit lines.  There was (for some reason) a missing jumper between
the control decoder and the enable line on the driver chip, or
something equally trivial. With that installed, it would read just
fine, thank you. It's been a while since I changed a board to do this,
so I might have not remembered it exactly, but it was easy to see from
the print, and I think even the holes for the jumper were there for
you.

Note 1)	Stock boards would read the status lines. So if you only
need one or two bits, you can use the paper_out, etc.

Note 2) 99&44/100 of the clone boards were built correctly to
begin with.

-- 
A host is a host from coast to coast.....wb8foz@mthvax.cs.miami.edu 
& no one will talk to a host that's close............(305) 255-RTFM
Unless the host (that isn't close)......................pob 570-335
is busy, hung or dead....................................33257-0335