From: pavenis AT lanet DOT lv To: "Alexei A. Frounze" , djgpp AT delorie DOT com Date: Thu, 11 May 2000 19:50:00 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: RHIDE problem with GFX modes is fakely SOLVED Message-ID: <391B0EE8.651.2824F9@localhost> In-reply-to: <3919D698.D35A5353@mtu-net.ru> X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 11 May 2000, at 1:37, Alexei A. Frounze wrote: > Hi! > > Recently I have posted a message about OS crash during quitting from RHIDE > back to Win95. > > Some details. > > I use RHIDE 1.4.7.5 (8 Feb 2000), Win95 OSR2 Rus (4.0 Build 1212 B), > DirectX (4.06.00.0318) and a Cirrus Logic 5436 PCI gfx card (CL-GD5436 Rev > 0, 4.10.00.1555 "4.10.00.1555" English Final Retail). > > When I run RHIDE from either Explorer.exe or Windows commander in > full-screen mode (80x25 16 colors BIOS mode #3) it works okay. But when I > want to exit from it using Alt+X, I get a lot of thin colored horizontal > lines randomly moving at the screen (something like TV tuning) and a frozen > up OS. > > When I run it in a windowed mode it exits normally. It also exits normally > when I run it under Norton Commander or any other DOS shell in full-screen > mode. > > Btw, RHIDE is the only program that has such a behaviour here. None of the > programs I have here does the same. Borland C++ IDE, Borland Pascal IDE, > other text programs and even gfx programs work normally. > > I don't know why RHIDE dislike to exit directly to Windows if run in > full-screen mode. Or it does this because previous gfx mode is unknown for > that case. I think there is some kind of bug with mode changing. It's the > *only* program does this. > > Okay, now I'll say you about how I solved it... > > I made a PIF file for RHIDE.EXE with the following setup (I'm back > translating from Russian to English ;) : > > General/ > Read-only = enabled > Program/ > Window = full-screen > Window is closed on quit > Font/ > Both types used > Font = TrueType 7x5 (I own a 14 inch display) > Screen/ > Mode = windowed > Default size = 25 lines (I own a 14 inch display) > Tool bar = disabled > Parameters are restored on startup = enabled > Miscellaneous/ > Reserved Windows keys: > Alt+Tab = enabled > Ctrl+Esc = enabled > the rest are disabled > > With such a PIF file I can either run RHIDE in windowed mode from > Explorer.exe and Windows commander. It also alows to run RHIDE in > full-screen mode from Norton commander or something else if that shell (NC > or something) already runs in full-screen mode. This PIF file inhibits > changing of the mode from full screen to windowed and vice versa. > > This is what works for me perfectly. One guy also has similar problems with > RHIDE and he run RHIDE in windowed mode instead of full-screen and seems he > doesn't have a frozen up OS anymore. > > Any thoughts on this? Andris, can you say something about this? But please > don't say it's a gfx card/driver problem. I don't really believe it because > RHIDE is the only program with such a harmful bhaviour here. The rest > programs don't crash my Win95 during mode switchings or something. > Practically nothing. RHIDE uses TVision library to work with screen. It is not doing it directly. I also didn't have experienced such problems. So I suggest downloading v2tk/tv1010s.zip and testing whether You can reproduce problem with TVision examples (and running them under debugger to see what is screwing screen up) Andris