DOCUMENT:Q24201 26-JUN-2001 [utilities] TITLE :Flipping vs. Swapping Screens in CodeView PRODUCT :Microsoft Programming Utilities PROD/VER::2.2,3.0,3.11,3.12,3.5,4.0,4.01,4.05,4.1 OPER/SYS: KEYWORDS:kb16bitonly ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft CodeView for MS-DOS, versions 2.2, 3.0, 3.11, 4.0, 4.01, 4.05, 4.1 - Microsoft CodeView for OS/2, versions 2.2, 3.0, 3.11, 3.12, 3.5 ------------------------------------------------------------------------------- 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 Technology : kbAudDeveloper kbCodeView kbZNotKeyword3 kbCodeView220DOS kbCodeView300DOS kbCodeView311DOS kbCodeView400DOS kbCodeView401DOS kbCodeView405DOS kbCodeView410DOS kbCodeView220OS2 kbCodeView300OS2 kbCodeView311OS2 kbCodeView312OS2 kbCodeView350OS2 Version : :2.2,3.0,3.11,3.12,3.5,4.0,4.01,4.05,4.1 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.