delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/19/07:28:53

Date: Sun, 19 Jul 1998 14:27:32 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DiSGaTE <disgate AT ms3 DOT isp DOT net DOT tw>
cc: djgpp AT delorie DOT com
Subject: Re: directvideo in DJGPP??
In-Reply-To: <35b18976.8416853@news.seed.net.tw>
Message-ID: <Pine.SUN.3.91.980719142556.32R-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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