in_Pause(2000) for ZX81?
Posted: Thu May 31, 2018 5:22 pm
Hi
I used "in_Pause(2000);" during SLOW mode to show lyrics within a MIDI song for 2 seconds before returning to FAST mode to continue playing the song. But the player stays in display mode (SLOW) for approx. 9 seconds (and shows the text), while WIKI says.
If there is no easy solution: the documention should be updated ;-)
Siggi
I used "in_Pause(2000);" during SLOW mode to show lyrics within a MIDI song for 2 seconds before returning to FAST mode to continue playing the song. But the player stays in display mode (SLOW) for approx. 9 seconds (and shows the text), while WIKI says.
Maybe it works at ZX81 while "interrupts are disabled" (at ZX81: FAST mode) as documented, but not during ZX81 SLOW mode ;-)8. in_Pause()
Pause for a period of time measured in milliseconds. Returns early with time remaining in the pause if a key is pressed. This function is implemented as a busy-wait and is guaranteed to work even with interrupts disabled.
If there is no easy solution: the documention should be updated ;-)
Siggi