I am looking at the various documentation I can find on
programming for the parallel port about coding for interrupts.
I have a slot car timing system that repeatedly polls the
parallel port for "events". I have been told that if I could
figure out a way to do so, using interrupts would be *far* more
efficient. I can understand that it would be, however I am
looking at the value of 4 pins on my parallel port, one of which
is Pin 10 - which is the pin that generates the interrupt. I
cannot just look at activity on Pin 10 to generate my interrupt
- I need to look at any/all pins.
Is it possible to designate activity on pins 10, 11, 12 and 15
to generate an interrupt? If not, is there a better way to
monitor activity on those pins other than a constantly cycling
do loop?
do
{
inb()
if (activity) process function
Thanks!Quote:}
Stuart
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!