Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
128K SPECTRUM COMPATIBILITY...
#11
LCD Wrote:
boriel Wrote:If you need FRAMES to update then you must use EI and not disable interrupts. But most of the time you needn't FRAMES, anyway. Changing the frames counter will always require EI (using interrupts). I don't understand exactly what where you trying... :?: :?: :?:
I want to play music in interrupts (in a different memory bank), switch to other song, and switch the music off. I also want to keep the FRAMES counter to re-RANDOMIZE events on the fly and keep the track how long ago the last event occured.
The easiest way at the moment seems to change the CALL in the Interrupt-Routine to a adrees contains RET (201).
Ok. The best way at this moment is to proceed as you said. In the future (I hope), you would write your own Interrupt routine in ZX BASIC Wink
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)