Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
128K SPECTRUM COMPATIBILITY...
#5
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:
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)