Flipping vs. Swapping Screens in CodeView (24201)
The information in this article applies to:
- Microsoft CodeView for MS-DOS 2.2
- Microsoft CodeView for MS-DOS 3.0
- Microsoft CodeView for MS-DOS 3.11
- Microsoft CodeView for MS-DOS 4.0
- Microsoft CodeView for MS-DOS 4.01
- Microsoft CodeView for MS-DOS 4.05
- Microsoft CodeView for MS-DOS 4.1
- Microsoft CodeView for OS/2 2.2
- Microsoft CodeView for OS/2 3.0
- Microsoft CodeView for OS/2 3.11
- Microsoft CodeView for OS/2 3.12
- Microsoft CodeView for OS/2 3.5
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.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kb16bitonly KB24201 |
---|
|