[net.micro.pc] Using two monitors on PC

ugthomas@sunybcs.UUCP (Timothy Thomas) (01/19/86)

I just bought a monochrome monitor for my PC, so now I have both the
mono and color hooked up (separate boards).  What I would like
to be able to do is switch between the two of them in my own programs
(either Lattice C or Turbo Pascal).  I know the mode from DOS will
do it, but I havent been able to figure out how to do it.
I tried calling interupt 16, with different modes (1-7) but it
didnt work (maybe I called it wrong).
If anyone can help me, preferably with a small piece of code I could
include, I would be most grateful.
BTW, when switching, I would NOT want the screen to clear.
Thanx much,

-- 

____________   ____/--\____ 
\______  ___) (   _    ____)     "Damn it Jim!,
     __| |____/  / `--'            I'm a programmer not a Doctor!"   
     )           `|=(-
     \------------'
   Timothy D. Thomas                 SUNY/Buffalo Computer Science
   UUCP:  [decvax,dual,rocksanne,watmath,rocksvax]!sunybcs!ugthomas
   CSnet: ugthomas@buffalo,   ARPAnet: ugthomas%buffalo@CSNET-RELAY  

phil@sagan.UUCP (Phil Glatz) (01/23/86)

I started using twin monitors two years ago.  Very productive.  There is a 
public domain utility called DOORS that lets you switch between monitors by
pressing the ALT & right shift keys simultaneously.  
   I will compile a program, and if any errors appear on the screen, I invoke
DOORS twice, which makes a copy of the errors on my color tube to my mono
tube, and puts me back on the color one.  Then I edit the source file, while
looking at the errors on the other screen.  Saves lots of paper.
   DOORS can be found in TWINTUBE.ARC, which also contains some system drivers
called MONO.SYS and COLOR.SYS, which allows you to write to the other tube as
a device.
   You can get the arc from Vern Buerg's BBS at (415) 994-2944.

   PS --- if I get an error listing of more that one page, I redirect it to
a temp file, and use BRIEF to edit the source & display the errors in a
second editing window.  BRIEF is a pretty cool editor.

-- 
phil
... Phil Glatz, MicroPro Product Development
{dual,hplabs,glacier,lll-crq}!well!micropro!sagan!phil