Microsoft KB Archive/24201

= Flipping vs. Swapping Screens in CodeView =

Article ID: 24201

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft CodeView 4.1
 * Microsoft CodeView 3.0
 * Microsoft CodeView 3.0
 * Microsoft CodeView 4.0
 * Microsoft CodeView 4.01
 * Microsoft CodeView 4.01
 * Microsoft CodeView 4.1
 * Microsoft CodeView 3.0
 * Microsoft CodeView 3.0
 * Microsoft CodeView 4.1
 * Microsoft CodeView 4.1
 * Microsoft CodeView 4.1

-



This article was previously published under Q24201



SUMMARY
Flipping and swapping are both ways of maintaining two alternate screens for display on one monitor. The difference is in the way the task is accomplished.

When swapping is selected, CodeView allocates a 16K buffer (a 4K buffer for a monochrome adapter) to hold the alternate screen. When the other screen is required, CodeView swaps the screen into the display buffer and places the other screen into the storage buffer. Swapping takes memory and time but it does not have the limitations of flipping.

Flipping uses the video-display pages of the graphics adapter to store each screen of text. When the alternate screen is required, the other page is selected. Flipping is much faster than swapping and does not require the 16K buffer. However, it cannot be used with a monochrome adapter, or with programs that display graphics or use the video pages.

Additional query words: kbinf 2.20 3.00 3.50 4.00 4.10

Keywords: kb16bitonly KB24201

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.