delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/12/07:44:20

Sender: root AT delorie DOT com
Message-ID: <391BFEC8.A0D0CF16@inti.gov.ar>
Date: Fri, 12 May 2000 09:53:28 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.0.38 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: RHIDE problem with GFX modes is fakely SOLVED
References: <3919D698 DOT D35A5353 AT mtu-net DOT ru> <391B0C83 DOT 6620B851 AT inti DOT gov DOT ar> <391BA561 DOT 1A6CB67C AT mtu-net DOT ru>
Reply-To: djgpp AT delorie DOT com

"Alexei A. Frounze" wrote:

> salvador wrote:
> >
> > "Alexei A. Frounze" wrote:
> >
> > > Any thoughts on this?
> >
> > Yes: get a working BIOS ;-)
>
> I think BIOS works normally because RHIDE works w/o any crashes ander plane
> MSDOS 6.22. It must be a fault of both Windows and some code inside TV port
> used in DJGPP.

If that's a problem found only under Windows then you don't need to search anymore
the fault is in the Windows driver. It virtualizes the VGA registers and BIOS
calls. Is a hard work and usually poorly done.

> > > 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.
> >
> > That's because you know nothing about the RHIDE guts! RHIDE uses the VGA BIOS
> > service needed to save the current VGA mode state.
>
> Do you think I can't figure out this myself? :)
>
> > This service have shown to
> > be buggy in many BIOSes.
>
> Wait a minute! Do you mean that if we save VGA state w/o changing video
> mode, restoring VGA state back to the same state dosen't work?

In some buggy BIOSes: yes. Just calling save state and then restore state with the
data filled by the first call fails.

> [snip]
>
> > > The rest
> > > programs don't crash my Win95 during mode switchings or something.
> >
> > Now tell me how many of these programs can restore a (tweaked) 90x34 text mode
> > at exit.
>
> Oh man! I use 80x25 with 16 colors (BIOS mode #3) all the time.

I doesn't have any effect. You never know what's the mode, if the mode was tweaked
the mode is 3 but you *must* use save/restore state to do the right thing.
As your problem is under Windows and not under DOS I think you must direct your
questions to the manufacturer of your driver or investigate a workaround for the
bug in the driver.

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
                    set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


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