Microsoft KB Archive/45698

How to BLOAD and BSAVE EGA and VGA Screens in BASIC

PSS ID Number: Q45698 Article last modified on 09-16-1992

1.00 MS-DOS

Summary: An article is available in the Software/Data Library that describes how to BLOAD and BSAVE EGA and VGA SCREEN modes (7, 8, 9, 10, 11, 12, 13) in Microsoft Visual Basic for MS-DOS, version 1.0; in Microsoft Quick Basic for MS-DOS, versions 4.0, 4.0b, and 4.5; in Microsoft Basic Compiler for MS-DOS, versions 6.0 and 6.0b; and in Microsoft Basic PDS for MS-DOS, versions 7.0 and 7.1. This file can be found in the Software/Data Library by searching for the word BSAVEVGA, the Q number of this article, or S12328. BSAVEVGA was archived using the PKware file-compression utility. This article and sample program in the Software/Data Library can also be obtained as an application note (which includes both a printed copy and a disk copy) from Microsoft Product Support Services.

More Information: SCREEN modes 11, 12, and 13 require a VGA card, and SCREEN modes 7, 8, 9, and 10 require an EGA or VGA card. Using Quick Basic or the BASIC compiler, the BLOAD and BSAVE technique required for EGA and VGA screens is more involved than the technique used for CGA screen modes (0, 1, and 2) and Hercules screen modes (0 and 3). EGA and VGA screen modes 7, 8, 9, 10, 11, and 12 are stored differently in video memory than other screen modes.

=
================================================================ Copyright Microsoft Corporation 1992.