From: fabian AT cs DOT uct DOT ac DOT za (Fabian Nunez) Newsgroups: comp.os.msdos.djgpp Subject: Re: Detecting interrupt on printer port Date: 18 Aug 1998 07:23:33 GMT Organization: University of Cape Town Lines: 24 Message-ID: <6rba5l$b9v$1@groa.uct.ac.za> References: <_yLB1.90$Na1 DOT 583337 AT sapphire DOT mtt DOT net> <35d7c57b DOT 36585684 AT news DOT rapidnet DOT net> NNTP-Posting-Host: toro.cs.uct.ac.za To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In <35d7c57b DOT 36585684 AT news DOT rapidnet DOT net> richard AT stardate DOT bc DOT ca writes: >On Mon, 17 Aug 1998 01:19:54 GMT, "Michel Gallant" > wrote: >>Hi! I'm back, and with more problems than ever. Below is the progam >>I'm using.... Incorporating all the suggestions (I think) made to me >>thus far regarding this program. It still doesn't work. I used a >>logic probe, and verified that Interrupt Request Line 07 >The problem may be that the interrupt is masked out in the PIC. >Bit 7 (the most significant bit) of port 0x21 needs to be set to 1. ??? Are you sure about that? I'm pretty sure that '1' on port 21h means "mask out this IRQ"... (although I'm in the lab at uni, and my inter57 is sitting several K's away at home) CHeers Fabian -- Fabian Nunez, MSc student Collaborative Visual Computing Laboratory, fabian AT cs DOT uct DOT ac DOT za University of Cape Town "Ram Disk" is NOT an installation procedure!