🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5372

Using two monitors on PC

#5372
From: Timothy Thomas
Date: Sun, 19 Jan 1986 14:56
23 lines
1568 bytes
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  
Technical Details
Message-ID: <2742@sunybcs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!sunybcs!ugthomas

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site sunybcs.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!sunybcs!ugthomas
From: ugthomas@sunybcs.UUCP (Timothy Thomas)
Newsgroups: net.micro.pc
Subject: Using two monitors on PC
Message-ID: <2742@sunybcs.UUCP>
Date: Sun, 19-Jan-86 09:56:50 EST
Article-I.D.: sunybcs.2742
Posted: Sun Jan 19 09:56:50 1986
Date-Received: Mon, 20-Jan-86 06:39:18 EST
Reply-To: ugthomas@gort.UUCP (Timothy Thomas)
Organization: SUNY/Buffalo Computer Science
Lines: 23