Dec 232017
Switch Mono-color monitor by software.
File DOORS2.ZIP from The Programmer’s Corner in
Category Display Utilities
Switch Mono-color monitor by software.
File Name File Size Zip Size Zip Type
DOORS.ASM 8131 2614 deflated
DOORS.COM 4174 199 deflated
DOORS.DOC 4110 1553 deflated
DOORS2.ASM 9318 2958 deflated
DOORS2.COM 4190 216 deflated

Download File DOORS2.ZIP Here

Contents of the DOORS.DOC file

The two programs included in this archive, DOORS and DOORS2 allow
a system with both a monochrome AND a graphics monitor to switch
between the two monitors "on the fly", without leaving software
that is running.

Either program becomes memory resident when it is run.


DOORS - after it has been run, pressing the Alt - Right Shift
keys together will switch the active monitors, and copy
all text to the other monitor.

DOORS2 - pressing the Alt - Left Shift keys together will switch
to the other monitor. Pressing the Alt - Right Shift
keys will copy the screen from the active monitor
to the unused monitor, but will return the cursor
back to its original screen.

I modified the original program because:

- I prefer to work with the monochrome monitor because of the
clarity of the text, but very often I would like text shown
on the graphics monitor for reference (in effect, this lets
me see 50 lines of information at a time);

- Some programs (such as PC-WRITE) write directly to video memory,
and switching monitors while using those programs only serves
to confuse them.


- If you are working with the graphics monitor, the routines will
only work if you are in an 80-column text mode (y'all can't
copy graphics to the monochrome screen)

- If you are working with the graphics monitor, you may lose
information stored on pages other than the active display page.
(The color/graphics card has enough memory to hold 4 80-column
display "pages"). These routines work by copying information
from the active page to the monochrome monitor (and back again,
if you're using DOORS2), but they make no provision for saving
the other display pages. This will affect the operation of
very few programs, however. Very few programs make use of the
additional text "pages" for the C/G adaptor card. PC-WRITE
is one program that does, however -- if you are using PC-WRITE
on the graphics monitor, PC-WRITE stores its "help" screen
information on the other video pages. Using these routines
with PC-WRITE will wipe out the "help" screens, but it will
NOT affect file being edited or the operation of PC-WRITE.

- The routines don't bother to check if they had been previously
installed - so be careful, run 'em only once.

- Use only ONE of the routines (either DOORS or DOORS2) -
don't try to use both.

- The modification to the installation code that I made requires
DOS 2.0 or above -- the routines DON'T check the DOS version
that is being used.

- If switching FROM the monochrome monitor, the routines switch
to the BW80 mode for the graphics monitor (see the source code
for a note on changing the mode to color, if desired).

Information on the original DOORS.ASM program:

PCMagizine ASseMbler

The programs began their lives in
PC Magazine. A detailed description of
the program can be found in the issue
referenced below.

DOORS.ASM John Dickinson, "Try a Door, Not a Window"
Vol. 4, No. 3 (February 5, 1985)
Coordinating your color and monochrome

Modified January 1986.

Please let me know about any bugs/comments that you have via
Gene Plantz' IBBS, 312-882-4227.

Mike Pechnyo

 December 23, 2017  Add comments

Leave a Reply