Mail Archives: djgpp/1999/01/25/11:31:18
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 -