TvSet

Last Modified: 1/18/2021

Sets the video mode to NTSC/60hz or PAL/50hz based on the TvType value.

Arguments

NameTypeRequiredDescription
TvType Integer Yes Valid values are 0 for NTSC and 1 for PAL

Example

Syntax: TvSet <ITvType>
    TvSet 0
    While 1
        Locate 1, 1: Print "Hello World!"
        Sleep 1
    Wend

Remarks

While SecondBASIC Studio will default to NTSC, it's better to force the resolution with TvSet as there will be garbage data on the planes below the NTSC resolution visible on PAL displays. Setting the set to NTSC will prevent this.