delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/04/07:00:03

Date: Tue, 4 May 1999 11:09:07 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Windows trashes my 800x600 graphics mode program.
In-Reply-To: <372DD4FF.F4C73D1@ridgecrest.ca.us>
Message-ID: <Pine.SUN.3.91.990504110843.16899J-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 3 May 1999, Kevin Hise wrote:

> > > Interrupt 2Fh Function 4001h
> > >
> > > mov ax, 4001h   ; Notify Background Switch
> > > int 2fh
> 
> ...this isn't a hook, it's a call.

It is a call, but it is issued by Windows, and your code should hook
Int 2Fh and monitor the function number in AX.  When you see AX=4001h,
you process the call; all other functions should be passed to the
previous handler of Int 2Fh.

> I didn't see any other code posted to this thread.

Look for a message posted by Michael Bukin <M DOT A DOT Bukin AT inp DOT nsk DOT su> on
27 April in this thread.  If you cannot find it, try another news
server.

- Raw text -


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