The wiki page for the DMC says that when the sample buffer is empty, that "The CPU is suspend for up to four clock cycles." So if I have a timed loop after a sprite0 hit like so...
...will the rest of the loop be delayed for four cycles (or more, if it becomes empty again)?
Code:
ldx #2
_loop: nop
nop ; <-- buffer is empty here on the first iteration
nop
dex
bne _loop
_loop: nop
nop ; <-- buffer is empty here on the first iteration
nop
dex
bne _loop
...will the rest of the loop be delayed for four cycles (or more, if it becomes empty again)?