www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/09/04:28:36

Date: Wed, 9 Sep 1998 11:18:27 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp AT delorie DOT com
Subject: Re: Serial ISRs
In-Reply-To: <35F52BDC.A7402210@res.raytheon.com>
Message-ID: <Pine.SUN.3.91.980909111739.1090D-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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