www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/18/12:43:20

Date: Mon, 18 Aug 1997 19:39:44 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Brad Fidler <BF AT rwdi DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: dual monitors
In-Reply-To: <s3f43bc1.054@pob.rwdi.com>
Message-ID: <Pine.SUN.3.91.970818193353.17793E-100000@is>
MIME-Version: 1.0

On Fri, 15 Aug 1997, Brad Fidler wrote:

> I have recently added a second monitor and hercules mono display
> adapter to my system. What I would like to do is use this dispay as
> kind of a debugging/program info monitor, while my main monitor has graphics
> I could dump program stats and info to the second monitor to help see whats 
> happening to variables etc.

Did you try to look in the DJGPP FAQ list (available as v2/faq210b.zip 
from the same place you get DJGPP)?  In section 12.5 (which deals with 
debugging graphics programs) it mentions a program named MSHELL that will 
redirect any program's I/O to the mono display at the BIOS level (so you 
could just use `printf' and it miracolously ends up on the mono display).

You can also use the `_mono_printf' function from the DJGPP library.  Look
it up in the libc reference.  It works like `printf', but the output goes 
to the mono display.

- Raw text -


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