delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/25/11:31:18

Date: Mon, 25 Jan 1999 18:29:46 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
cc: Takeo Hironaga <umhirona AT cc DOT UManitoba DOT Ca>, djgpp AT delorie DOT com
Subject: Re: RHIDE under Japanese Win95
In-Reply-To: <m104mNv-000S2HC@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.990125182132.13701F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 25 Jan 1999, Salvador Eduardo Tropea (SET) wrote:

> Takeo Hironaga <umhirona AT cc DOT UManitoba DOT Ca> wrote:
> 
> >   Hi, I've been trying to get djgpp and RHIDE up and running, djgpp seems
> > working not too bad, but the problem is that I can NOT see the display of
> > RHIDE,or info, or any program come with djgpp. 
> > I mean, they display nothing!  
> > 
> >   Is there a way to fix those problems? 
> 
> I never saw such a thing.

Probably because you never saw a Japanese PC ;-).

Here's the most probable cause: Japanese PCs don't use text mode, they 
simulate it.  They do that because there's no way the thousands of 
Japanese characters could be displayed in text mode.  So the PC is 
actually switched to graphics mode, and it thus needs a special function 
of Int 10h be called to refresh the display after a program has written 
to the text video RAM.

DJGPP v2.02 does this automatically as part of conio functions (see the 
function refreshvirtualscreen in conio.c), and latest versions of Emacs 
do it as well, even when Emacs doesn't use conio functions.  I don't know 
if recompiling RHIDE with v2.02 will solve this, though; if RHIDE doesn't 
use conio functions to write to the screen, it won't.

The above is all based on the assumption that the PC in question uses the 
so-called DOS/V specification to simulate text mode; if not, then even 
the new conio won't help.  I asked the user whether this was the case, 
but didn't get any reply yet.

(I know that the report was about Windows 95, but I bet Japanese versions 
of Windows simulate DOS/V so that DOS programs should behave the same as 
they do on plain DOS.)

- Raw text -


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