delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/21/20:56:12

From: "Campbell, Rolf [SKY:1U32:EXCH]" <moscoop AT americasm01 DOT nt DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Can I redirect DOS text output to a graph. screen ?
Date: Mon, 21 Feb 2000 15:03:15 -0500
Organization: Nortel Networks
Lines: 23
Message-ID: <38B19A03.79D6AC52@americasm01.nt.com>
References: <88kcdq$ial$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: wmerh0tk.ca.nortel.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.72 [en] (X11; I; HP-UX B.10.20 9000/785)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

arcadepreserv AT hotmail DOT com wrote:

> I have written a frontend to start a DOS program that displays text on
> screen on one single line while executing. To set parameters to this DOS
> program in a convinient way I have used allegro to build a GUI that then
> starts the DOS program.
>
> I have now understood that there is no way I can decode the output from
> the backend in my frontend. Is there then a way to redirect the output
> so that it is shown on the graphical screen, which I use for the
> frontend ?

    Well, on most cards, if you are using a 8-bit mode and you don't
redirect the output from the child process, it will show up on the screen.
I haven't seen any cards that do it correctly on a 24-bit mode (or 16, or
32), but they may exist.  There are VESA calls which tell whether your
graphix card supports it for any particular mode.

--
(\/) Rolf Campbell (\/)



- Raw text -


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