Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
disableirq [2019/10/07 21:18]
neils created
disableirq [2019/12/10 08:59]
neils
Line 7: Line 7:
   disableirq   disableirq
      
-The ''disableirq'' command sets the CPU's interrupt flag, preventing the CPU from responding+The ''DISABLEIRQ'' command sets the CPU's interrupt flag, preventing the CPU from responding
 to IRQ interrupt events. to IRQ interrupt events.
  
 To re-enable the respond to IRQ, use ''[[ENABLEIRQ|]]'' 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|INPUT]]'' or ''[[inkey|INKEY()]]''.