Date: Mon, 25 Jan 1999 18:29:46 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Salvador Eduardo Tropea (SET)" cc: Takeo Hironaga , djgpp AT delorie DOT com Subject: Re: RHIDE under Japanese Win95 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 25 Jan 1999, Salvador Eduardo Tropea (SET) wrote: > Takeo Hironaga 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.)