DISABLEIRQ

Since version 2.1

Syntax:

disableirq

The DISABLEIRQ command sets the CPU's interrupt flag, preventing the CPU from responding to IRQ interrupt events.

To re-enable the respond to IRQ, use ENABLEIRQ

WARNING: keyboard scanning will be disabled if you turn off interrupts. Make sure interrupts are enabled when you intend to use INPUT or INKEY().