delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/27/13:39:43

Message-ID: <3725F043.F6BE6056@unb.ca>
Date: Tue, 27 Apr 1999 14:13:39 -0300
From: Endlisnis <s257m AT unb DOT ca>
X-Mailer: Mozilla 4.04 [en] (Win95; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
Subject: Re: Windows trashes my 800x600 graphics mode program
References: <8D53104ECD0CD211AF4000A0C9D60AE30134178D AT probe-2 DOT acclaim-euro DOT net>
X-Info: BrunNet, Inc. 888-278-6638
Reply-To: djgpp AT delorie DOT com

Shawn Hargreaves wrote:

> Eli Zaretskii writes:
> >> I tried it out and I can't pick them up in real mode either.
> > Thanks. I guess we are back to square one with this problem...
> What exactly is the problem here? In my experience of running SVGA
> DOS programs under win95, there are two common situations. With
> about 90% of drivers, the switch will be handled correctly and
> your program will go on working perfectly, while in the remaining
> 10%, Windows will forget to save the hardware state and will then
> crash your DOS session the next time your program tries to access
> the graphics hardware. Even if you add a hotkey that will reset
> the video mode completely from scratch, that isn't enough to fix
> the DOS session after this happens.

    If you were able to detect that windows was about to move you into the
background, you could switch to 80x25 text for the duraction of the background
time.  That would mean that windows wouldn't crash and you could restore the
hardware settings when you were put back in the forground.  But, this is
worthless because Win95 does not call the interrupts...

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT BrunNet DOT Net
          Endlisnis AT HotMail DOT com
          ICQ: 32959047




- Raw text -


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