delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/24/02:42:59

From: Matthew Mastracci <mmastrac AT acs DOT ucalgary DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: dual monitors
Date: Tue, 19 Aug 1997 21:09:12 -0600
Organization: The University of Calgary
Lines: 41
Message-ID: <5tdn6c$geq@ds2.acs.ucalgary.ca>
References: <s3f43bc1 DOT 054 AT pob DOT rwdi DOT com>
NNTP-Posting-Host: mmastrac AT acs2 DOT acs DOT ucalgary DOT ca
Mime-Version: 1.0
In-Reply-To: <s3f43bc1.054@pob.rwdi.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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. Sending ASCII text to the mono card isnt hard
> but I was wondering if anyone knew of any sources for something a
> little more robust that has some basic formatting features maybe like printf,
> that supports or could be modified to work with a mono card?

What about writing directly to the mono address space?  You can get
everything you'd need from that (bold, blink and underline).  Maybe
writing your own mono stream class?  That way, you could do something
like:

mout << "This is " << underline << "really" << underlineoff << "cool!" <<
endl;

> I have looked in the DJGPP sources and in the sources for RHIDE
> ( it has dual monitor debugging support, doesnt it? ) but so far have had
> no luck in finding anything useful

I use RHIDE's dual monitor feature all of the time.  In the version I
have, there seem to be a few small bugs (like getting stuck on the mono
screen after the program terminates), but I think these are fixed in the
recent versions.  It's pretty much the same as how Turbo C/Pascal/Debugger
used to work for me.

> ' C is just a wrapper for assembler '

Are you a C or C++ guy?  ;)  But don't forget:

' Assember is just a wrapper for microcode '

/\/\att /\/\astracci                  mmastrac AT acs DOT ucalgary DOT ca

GCS/GE    d- s+:+ a--- C++++ UA P+ L E-- W+ N++ o K+ w+ O M- V 
          PS++ PE++ Y+ PGP t+++ 5+++ X++ R++ tv+ b+++ DI++++ I 
          G++ e h r* z?

- Raw text -


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