Date: Sun, 19 Jul 1998 14:27:32 +0300 (IDT) From: Eli Zaretskii To: DiSGaTE cc: djgpp AT delorie DOT com Subject: Re: directvideo in DJGPP?? In-Reply-To: <35b18976.8416853@news.seed.net.tw> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 19 Jul 1998, DiSGaTE wrote: > In Turbo C++ (version 3.0), I saw there was a global variable called > 'directvideo', which can specify outputing via ROM BIOS calls (as > value = 0), or goes directly to the video RAM (as value = 1). And > default value is 0 (goes via ROM BIOS calls), of course I can add a > line 'directvideo = 1;' in my program to change output mode. > But in DJGPP, is there a similar varaible or method to do that? DJGPP doesn't support this variable. DJGPP's conio functions always write directly to the video RAM (as if directvideo is 1). The reason for not supporting the BIOS method is that it is very slow from protected mode.