delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/09/14:05:58

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Sender: salvador AT delorie DOT com
Message-ID: <3C3C94FA.A11081AE@inti.gov.ar>
Date: Wed, 09 Jan 2002 16:07:38 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: RHIDE fix
Reply-To: djgpp AT delorie DOT com

"Alexei A. Frounze" wrote:

> salvador <salvador AT inti DOT gov DOT ar> wrote in message
> news:3C3AF0B8 DOT 8CF1C2D9 AT inti DOT gov DOT ar...
> > "Alexei A. Frounze" wrote:
> >
> > > I recall RHIDE messed up the screen or made it black due to buggy
> > > implementation of some VGA BIOS functions (namely 0x1c00, 0x1C01,  0x1C02).
> > > I've made a fix for that, which appears to work (at least here, it cures  the
> > > problem for the text mode).
> > >
> > > If anybody is interested, I may release it and make available from my  site.
> >
> > What exactly is this fix? Are you implementing the functions or replacing  them
> > by a "do nothing"?
>
> exactly by replacing by dummy ones, which simply XOR AL, AL so that AL is
> never 0x1C upon IRET -- this is the way to:
> 1st don't give any chance to the buggy routines
> 2nd disable the functions in a legal way (when supported, they should return
> AL=0x1C)
> Of course, this doesn't
> 1st fix anything in RHIDE because it's not resposible for gfx card problems
> 2nd fix those buggy functions
> But this allows me to use RHIDE just about as easily as I used to use IDE in
> Turbo Pascal and Turbo C/C++: Alt+F5 works, Alt+X doesn't blacken the screen
> forever either. So, obviously an improvement.
> I don't know who's the current maintainer of RHIDE (you or Andris),

Robert is working again, but I'm in charge of Turbo Vision.

> but in
> my opinion, there should have been a special command-line option to disable
> use of these functions. For me to fix this **** problem it did cost of:
> writing a TSR, which logged all Int0x10 calls and saved to a file -- the 1st
> program. Finding the buggy function -- the 2nd, test program, writing yet
> another TSR to intercept calls to buggy functions -- the 3rd program. But I
> was not heard a year ago, when I had this problem on my other computer and
> having it now on my current. So I took over. :)

:-)), I'm slowly creating a new version of Turbo Vision and I'll try to
remmember this detail. In fact I want to create more than one "driver", one of
them really simple that won't try to handle graphic modes.

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 AT computer DOT org set AT ieee DOT org
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