www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/19/05:32:43

Date: Mon, 19 Oct 1998 11:31:49 +0200 (MET DST)
From: Olivier Perron <perron AT art DOT alcatel DOT fr>
X-Sender: perron AT rtbsci146s
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Subject: Re: Questions about protected mode interrupt handler
In-Reply-To: <Pine.SUN.3.91.981019110341.7874W-100000@is>
Message-Id: <Pine.GSO.4.05.9810191119100.7388-100000@rtbsci146s>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 19 Oct 1998, Eli Zaretskii wrote:

> 
> On Mon, 19 Oct 1998, Olivier Perron wrote:
> 
> > First: it seems I can't hook the serial port interrupt when I run under
> > Windows95 (but it works well under plain DOS). Could someone explain me
> > why ?
> 
> Probably because Windows doesn't like you? ;-)
> 
Well, why not. I may ask Bill if Windows has some emotional or affective
feelings !

> But first, could you please explain ``I can't hook the serial port''?  
> What exactly goes wrong?
> 
The interrupt handler is simply NEVER called when my program run in a DOS
box under Windows 95. But it is under plain DOS.
Note that if I hook the timer interrupt (8) it works well both under
Windows and plain DOS. It's just the serial port interrupt (and maybe
others, who knows) which causes problem.


[...]
> 
> Moreover, I don't really understand why are you eager to toss the 
> wrappers.  How can they hurt anything in your program?
> 
They don't hurt at all. It was just a question with an educational goal
and your answer is just fine: i've learned a litle a more about what an
interrupt wrapper involves.
And yes, I could have watched at the sources of the wrappers, it had saved
me to ask my question.

Olivier.


- Raw text -


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