delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/09/16:25:04

Date: Thu, 09 Nov 2000 22:42:19 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <9743-Thu09Nov2000224218+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.8
In-reply-to: <8ueodf$5ep$1@nnrp1.deja.com> (dcasale@my-deja.com)
Subject: Re: My program hangs under RHIDE's debugger
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001109084112 DOT 16891F-100000 AT is> <8ueodf$5ep$1 AT nnrp1 DOT deja DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: dcasale AT my-deja DOT com
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 09 Nov 2000 17:55:00 GMT
> 
> Like I said, this works outside the debugger.

A program that runs outside a debugger but hangs under a debugger
might have subtle bugs in it ;-)

> > Why did you insert PUSHF and POPF?  They are not needed for
> > __dpmi_int calls; I suggest to remove them.
> 
> Because another programmer who was working on this code before me found
> that with _some_ __dpmi_int int 13h calls, interrupts were mysteriously
> turned off after the call returned.  That _may_ be the reason my system
> clock is slowing down.

Something must be turning interrupts back on, or else the keyboard
would stop working as well, and you will have a totally wedged
system.

> > The Interrupt List says something about specific BIOSes which fail to
> > handle this function correctly if the flag word at DS:[SI+2] is not
> > 0000h on entry.  Are you sure you zero that word?
> 
> You mean InfoFlags in the structure above?

Yes.

- Raw text -


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