Date: Mon, 2 Dec 1996 07:46:01 -0500 (EST) From: Glen Miner To: Bill Currie cc: 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 > > 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: > > t--------W-2F4006----------------------------- > INT 2F C - Windows 3.x - SWITCHING DOS TO FOREGROUND > AX = 4006h > Note: called by Windows when the DOS box is about to be placed in the > foreground and the video driver should restore any necessary > state > information (this may be called only in Standard mode) > SeeAlso: AX=4002h,AX=4005h > > I haven't tried these out, but I imagine all you have to do is hook the > int 2f interrupt. Hooking the rm int should work if hooking the pm int > doesn't Oh wow! I'm getting right on it! This is just what I'm looking for... Thanks alot! Peace ===[ Gabo / [ABC] : gaminer AT undergrad DOT math DOT uwaterloo DOT ca ]=================== Latest ABC Shogi: http://www.undergrad.math.uwaterloo.ca/~gaminer/shogi.html "What Greenpeace spends in a year General Motors spends in four hours" -Moby