Date: Mon, 18 Aug 1997 19:39:44 +0300 (IDT) From: Eli Zaretskii To: Brad Fidler cc: djgpp AT delorie DOT com Subject: Re: dual monitors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.