h6. [[VideoOverlay]] h6(. » [[VideoOverlay SWI Calls|SWI Calls]] h6((. » VideoOverlay_DisplayBuffer h2. VideoOverlay_DisplayBuffer h5. (SWI &59CC2) |_<^{width:4em}. Entry |<^. | |<^. R0|<^. Overlay ID | |<^. R1|<^. Buffer number | |_<^{width:3em}. Exit |<^. | |- |<^. All registers preserved | h4. Use Switches which buffer is being displayed by the overlay. A negative buffer number will hide the overlay. It is important to call this every time you have a new frame to display (even if the buffer number remains the same) - if software rendering is in use, then VideoOverlay will use this as an indicator that the overlay needs redrawing.