12-08-2009, 11:20 PM
Interrupts are enabled by default. And are reenabled after every BEEP, SAVE, LOAD & VERIFY since the ZX Spectrum ROM is used for these commands, and these routines reenable the interrupt upon return.
You can disable/enable interrupts with this macro:
Hope this clarifies it a little.
BTW: I've just incorporated a new FORUM Template (Dark/Speccy like). If you don't like the new forum theme, you can switch back to the original one in your User Preferences Panel.
You can disable/enable interrupts with this macro:
Code:
#define EnableInt asm \
ei \
end asm \
#define DisableInt asm \
di \
end asm
REM Now disable interrupts
DisableInt
...
REM Now enable interrupts
EnableInt
Hope this clarifies it a little.
BTW: I've just incorporated a new FORUM Template (Dark/Speccy like). If you don't like the new forum theme, you can switch back to the original one in your User Preferences Panel.