AUTODISPLAY: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
{{PageDescription}}
{{PageDescription}}
* [[_AUTODISPLAY]] is on by default and displays the screen at around 30 frames per second (normal vertical retrace speed).
* [[_AUTODISPLAY]] is on by default and displays the screen at around 30 frames per second (normal vertical retrace speed).
* [[_DISPLAY]] disables automatic graphic displays, but it also eliminates having to use PCOPY or page flipping when used correctly. Placing _DISPLAY after screen draws or other screen changes assures completion of the changes before they are displayed. The speed of QB64 code execution makes this a viable option.  
* [[_DISPLAY]] disables automatic graphic displays, but it also eliminates having to use PCOPY or page flipping when used correctly. Placing _DISPLAY after screen draws or other screen changes assures completion of the changes before they are displayed. The speed of QB64 code execution makes this a viable option.
* The [[_AUTODISPLAY (function)]] can be used to detect the current display behavior.
* The [[_AUTODISPLAY (function)]] can be used to detect the current display behavior.


Line 19: Line 19:


{{PageNavigation}}
{{PageNavigation}}
[[Category:Latest]]

Latest revision as of 01:07, 23 January 2023

The _AUTODISPLAY statement enables the automatic display of the screen image changes previously disabled by _DISPLAY.


Syntax

_AUTODISPLAY


Description

  • _AUTODISPLAY is on by default and displays the screen at around 30 frames per second (normal vertical retrace speed).
  • _DISPLAY disables automatic graphic displays, but it also eliminates having to use PCOPY or page flipping when used correctly. Placing _DISPLAY after screen draws or other screen changes assures completion of the changes before they are displayed. The speed of QB64 code execution makes this a viable option.
  • The _AUTODISPLAY (function) can be used to detect the current display behavior.


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage