| www.delorie.com/djgpp/mail-archives/browse.cgi | search |
| Date: | Mon, 2 Dec 1996 07:46:01 -0500 (EST) |
| From: | Glen Miner <gminer AT Newbridge DOT COM> |
| To: | Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Djgpp and Windoze Refresh |
| In-Reply-To: | <32A2D75D.39DC@blackmagic.tait.co.nz> |
| Message-ID: | <Pine.SUN.3.90.961202074442.9589B-100000@coop10> |
| MIME-Version: | 1.0 |
> > 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |