🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #975

Re: Programming the printer port to read in data.

#975
From: Gene Ressler
Date: Wed, 22 May 1991 15:10
18 lines
1600 bytes
In article <1991May22.104513.22169@msuinfo.cl.msu.edu> draper@buster.cps.msu.edu (Patrick J Draper) writes:
>Some people have given suggestions to use a joystick port, etc to read
>a switch.
>
>What if someone wanted to read a signal from a sound digitizer?
>How do you get the port to read a parallel data stream?

This is to point out that the July 90 BYTE has a blurb on using a printer port
to read and write TTL level signals from/to a Mattel power glove.  There's
wiring and example code.  Only a couple of bits are used here, but it's easy
to generalize to other appications.  I'm sure there are other, perhaps more
general references for doing the same thing, perhaps even other BYTE articles.
One caveat is that I seem to remember the original PC (and therefore the oldest
and/or cheapest clone) printer ports couldn't read the data lines.  There was
a simple hardware hack to fix this, I believe cutting a trace and/or adding
a jumper to the board.

Gene
Technical Details
Message-ID: <1991May22.151055.25592@cs.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!ressler
References: <1991May21.202043.24725@magnus.acs.ohio-state.edu> <1991May22.104513.22169@msuinfo.cl.msu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!ressler
From: ressler@CS.Cornell.EDU (Gene Ressler)
Subject: Re: Programming the printer port to read in data.
Message-ID: <1991May22.151055.25592@cs.cornell.edu>
Sender: news@cs.cornell.edu (USENET news user)
Nntp-Posting-Host: cello.cs.cornell.edu
Organization: Cornell Univ. CS Dept, Ithaca NY 14853
References: <1991May21.202043.24725@magnus.acs.ohio-state.edu> <1991May22.104513.22169@msuinfo.cl.msu.edu>
Distribution: usa
Date: Wed, 22 May 1991 15:10:55 GMT
Lines: 18