Mail Archives: djgpp/2000/11/09/16:25:04
> 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 -