delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/03/13:41:41

From: Kevin Hise <NOkevinhSPAM AT ridgecrest DOT ca DOT us>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Windows trashes my 800x600 graphics mode program.
Date: Mon, 03 May 1999 09:55:27 -0700
Organization: Cyplex, Inc.
Lines: 28
Message-ID: <372DD4FF.F4C73D1@ridgecrest.ca.us>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990429102909 DOT 6487P-100000 AT is>
NNTP-Posting-Host: p-010.newsdawg.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en]C-DIAL (Win95; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Are you referring to this code snipet?

> > .................................................................
> > Interrupt 2Fh Function 4001h
> >
> > mov ax, 4001h   ; Notify Background Switch
> > int 2fh

...this isn't a hook, it's a call.  I didn't see any other code posted
to this thread.

Regards,
Kevin.




Eli Zaretskii wrote:
> 
> On Wed, 28 Apr 1999, Kevin Hise wrote:
> 
> > is this a interrupt that I hook/monitor in my
> > code to detect when Windows has switched me into the background?
> 
> Yes.
> 
> A working code was posted in this thread; you can use it to fill in
> the blanks.

- Raw text -


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