www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/12/15:28:15

Date: Wed, 12 Aug 1998 15:16:14 -0300 (ADT)
From: Michel Gallant <mgallant AT grassroots DOT ns DOT ca>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: Detecting interrupt on printer port
In-Reply-To: <Pine.SUN.3.91.980812115620.17058B-100000@is>
Message-ID: <Pine.LNX.3.91.980812150831.361A-100000@commnet.grassroots.ns.ca>
MIME-Version: 1.0

Thanks for your help.  I actually have been considering rewriting some of 
the DJGPP docs.  I'll need to extend my knowledge a bit more first, 
though.  I'm not exactly what you'd call an expert.  As for the interrupt 
problem, you may be right about a hardware setting.  My LPT port is 
actually intergrated into my AOpen motherboard.  I'll have to check my 
BIOS settings etc.  It also is possible that my port just doesn't 
reliably generate an interrupt.  Also, I've just d/led that interrupt 
list you mentioned.  Looks like you already told me what I wanted to know 
from it though.  My port is in ecp/epp mode right now.  Would that have 
anything to do with it?  Should it generate an interrupt in this mode?  
Also I will try writing a char to the port first.  Can I just use 
outportb() for maximum optimization or do I need to use one of the other 
I/O functions?  Thanks again.

Michel Gallant

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019