Mail Archives: djgpp/1997/08/24/02:42:59
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 -