SecondBASIC Documentation v3

Home / Function Reference / HBlankOn()

HBlankOn()

Description: Returns true when the program is in the horizontal blanking period. It's very likely this function is useless due to the blanking period being ~16uS, making it difficult to detect when in the horizontal blank without using pure assembly. This function is marked for deprecation.

Syntax:

HBlankOn()

Example:

        a = HBlankOn()
        Print a