www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/11/04:03:36

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 11 Oct 1995 08:25:56 BST
Subject: Re: Missing interrupts???

  svincent AT zippy DOT sonoma DOT edu (Sam Vincent) wrote (Subject: Missing
interrupts???):-

> ... I've hooked the serial port interrupt. Everything is going smoothly ...
> I miss characters which I should be receiving from the modem. I set the
> serial port at 57600, connect at 26400, and receive only about half to 3/4
> of the characters that are sent to my modem. I'm using V2 beta 2 ...

  I had a similar fault (with the older djgpp that uses go32). When I accessed
the mouse by going in a tight loop {X: if(anything on keyboard) read keyboard;
else if(anything on mouse) read mouse; else goto X;} some of the `special
keys' (that in `AH=7; int21;' return first 0 and then a value) often missed
and were not read by the program. Perhaps I was calling some interrupt too
often for it to recover from itself in time. (This trouble stopped when Eli
Zaretski kindly told me how to write my own interrupt routine to be called
directly by mouse events.)

- Raw text -


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