Date: Mon, 2 Dec 1996 08:39:34 +0200 (IST) From: Eli Zaretskii To: Bill Currie Cc: Glen Miner , djgpp AT delorie DOT com Subject: Re: Djgpp and Windoze Refresh In-Reply-To: <32A2D75D.39DC@blackmagic.tait.co.nz> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 2 Dec 1996, Bill Currie wrote: > Glen Miner wrote: > > > > Is there any way for me to detect this? Does win95 raise any kind of > > "refresh" signal that I can detect? I don't really want to do a > > "video-memory" sanity poll; that would really suck. > > > > This is gleened from Ralf Brown's iterrutp list: > > --------W-2F4005----------------------------- > INT 2F C - Windows 3.x - SWITCHING DOS TO BACKGROUND > AX = 4005h > Note: called by Windows when the DOS box is about to be placed in the > background and the video driver should save any necessary > state > information (this may be called only in Standard mode) ^^^^^^^^^^^^^^^^^^^^^ If the above note is indeed true, it makes this service all but unusable, as far as I understand. I don't think there is any machine out there which still runs Windows in Standard mode; almost evrybody nowadays uses 386-Enhanced mode. I would guess that Windows 95 doesn't issue this call either (unless the Interrupt List is incorrect, and Enhanced mode issues it too).