delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/27/06:54:03

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE30134178D@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: Windows trashes my 800x600 graphics mode program
Date: Tue, 27 Apr 1999 11:53:47 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

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.

Maybe there is a third case where Windows doesn't save the hardware
state but the program is still able to restore it manually. This
used to be the case with Windows 3.1, but I've never seen it with
win95, so I think that the mode switching it totally outside our
control. Either it will work or not, at the whim of your Windows
graphics drivers...


	Shawn Hargreaves.

- Raw text -


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