Using Dual Video Display Cards and Monitors with QuickBasic (35241)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System for MS-DOS 7.0
This article was previously published under Q35241 SUMMARY
QuickBasic allows limited use of two video-display system cards within
the same application if the host computer has both a color video card
and monitor, plus a monochrome card and monitor. Only the default
display (the one that was active when QuickBasic was invoked) has a
cursor and graphics capability.
The method requires OPENing "CONS:" FOR OUTPUT AS #n, POKEing the
video-mode specifier of the desired output screen into memory location
449 hex, then using a PRINT #n to display text on the desired output
monitor. It is important to use "CONS:", not "SCRN:" in the OPEN
statement. "SCRN:" is always associated with the default display.
This information applies to Microsoft QuickBasic versions 4.0, 4.0b,
and 4.5; to Microsoft Basic Compiler versions 6.0 and 6.0b for MS-DOS;
and to Microsoft Basic PDS version 7.0 for MS-DOS.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB35241 |
---|
|