🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #440

Detecting if two monitors are active

#440
From: Tom Rombouts
Date: Wed, 09 May 1990 01:10
20 lines
1060 bytes
Netland - I am posting this for a friend.  Reply to me or the net
and I will forward.  Thanks!

QUESTION:

Does anyone know of a method a program can use to determine if there
are two monitors attached to one machine (like both an MDA and CGA?)

Don't tell me to call INT 10H, AH=0Fh because all that tells you is
which monitor is active..it doesn't tell you if TWO are attached!

Could you write test bytes to 0B000h and 0B800h addresses and then
read them back?  

I am assuming we are in video text modes 3 or 7 only.

END OF QUESTION

Tom Rombouts, Ashton-Tate Product Development  tomr@ashtate.A-T.com
Voice: (213) 538-7108
Technical Details
Message-ID: <904@ashton.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!hacgate!ashtate!tomr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!hacgate!ashtate!tomr
From: tomr@ashtate (Tom Rombouts)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Detecting if two monitors are active
Message-ID: <904@ashton.UUCP>
Date: 9 May 90 01:10:38 GMT
Reply-To: tomr@ashton.UUCP (Tom Rombouts)
Organization: Ashton-Tate, Torrance, CA
Lines: 20