hBlank

Last Modified: 1/4/2021

Used for setting the ScanLine for which the horizontal blank occurs.

Arguments

NameTypeRequiredDescription
ScanLine Integer Yes Sets the ScanLine count in which the horizontal blank will occur.

Example

Syntax: hBlank <ScanLine>
    On Vint GoSub vb
    Enable vInt
    
    hBlank 111
    
    On hInt GoSub hb
    Enable hInt
    
    End
    
vb:
    Palette 0,0,0
    Return
    
hb:
    Palette 3822,0,0
    Return

Remarks

Valid range for the ScanLine is 0 to 222 will be counted before execution + 1. If is set to 0, the horizontal interrupt will execute on each line. This value isn't recommended as the vertical interrupt will never occur.

See Also

On