www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/10/15:54:46

Message-Id: <m0yCMPx-000S2vC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>, djgpp AT delorie DOT com
Date: Tue, 10 Mar 1998 13:39:24 +0000
MIME-Version: 1.0
Subject: Re: Screen goes black when exiting rhide.
CC: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
In-reply-to: <D1FB30BBA491D1118E6D006097BCAE3913764B@Probe-nt-2a.Probe.co.uk>

Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk> wrote:

> Salvador Eduardo Tropea (SET) writes:
> > Is something in the board, you aren't the first that report it. 
> > Looks like a broken VESA support to me.
> 
> I had a similar problem with the truecolor video modes in Allegro, where
> some cards would get stuck in this mode and be unable to return to the
> 80x25 textmode. I was able to work around this by briefly selecting the 
> VESA mode 0x101 (640x480x256) during the shutdown process, which seems
> to reset whatever registers the truecolor modes had changed so I can
> then go back to textmode without any problems.
> 
> I don't know how this would apply to Rhide, but it sounds like it could
> be a similar problem (I saw this trouble on Matrox cards, too). I assume
> you are using some of the extended VESA text resolutions, so you might
> want to try closing it down via some other temp mode (but what? maybe
> 13h?) to reset the card...

The situation is even more complex: RHIDE have routines to switch from ANY 
video mode to text mode and "viceversa". That's because the user can start 
RHIDE in any mode or the program to debug can setup any strange mode. To 
minimally support it we use VESA extentions to save/restore the video mode or 
if not VESA then VGA BIOS routines or ...
We can't do an intermediate change because the same routines are used to debug 
and then the swap time is highly increased.
Perhaps Robert can add an option to clean up all on exit, for example just go 
to mode 3 instead of restoring the original mode, but it must be optional and 
for the exit.
This mail goes with Cc to Robert to see your opinion.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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