Mail Archives: djgpp/1997/08/18/12:43:20
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 -