Function install_int

  • Allegro

    Installs interrupt function.

    Parameters

    • proc: (() => void)

      Procedure to call at frequency set by speed

        • (): void
        • Returns void

    • speed: number

      Speed to call proc in ms

      1.6.3

    Returns void

    Remarks

    Installs a user timer handler, with the speed given as the number of milliseconds between ticks. This is the same thing as install_int_ex(proc, MSEC_TO_TIMER(speed)). Calling again this routine with the same timer handler as parameter allows you to adjust its speed.

Generated using TypeDoc