Date: Wed, 9 Sep 1998 11:18:27 +0300 (IDT) From: Eli Zaretskii To: djgpp AT delorie DOT com Subject: Re: Serial ISRs In-Reply-To: <35F52BDC.A7402210@res.raytheon.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 8 Sep 1998 you wrote: > I'm attempting to translate some code I had originally written in RM > that uses a couple of HW interrupts into PM using DJGPP. I'm having > trouble getting the serial ports to respond, though. Not knowing > otherwise, I've attempted to programming the UARTS in the conventional > manner, and then attempt to hook both the PM and RM interrupts using > almost all combinations of __dpmi and __go32-style routines for both > assembly and C ISRs. Did you read section 18.9 of the FAQ? It explicitly tells you that you shouldn't need to hook both RM and PM interrupts. I suggest that you try to hook the PM interrupt only, then, if that doesn't work, describe in more details what problems do you see (``having trouble getting the serial ports to respond'' is too vague), and maybe even post some code fragments.