Toggle interrupts on in the blitter, to make music sound better

This commit is contained in:
dwsJason 2019-10-18 20:25:09 -04:00
parent fc151d60be
commit 58a9eb9310

View File

@ -346,6 +346,18 @@ BRET entry ; Blit Return
iny ; next direct page iny ; next direct page
iny iny
* SONGS SOUND BETTER IF WE ALLOW INTERRUPTS
* FPS IS BETTER WITHOUT THIS CODE
lda stack
tcs
_auxOFF
_shadowOFF
cli
sei
_shadowON
_auxON
* TODO, every 4 lines or so (or every so many clocks) * TODO, every 4 lines or so (or every so many clocks)
* re-enable interrupts, for audio, and the heartbeat * re-enable interrupts, for audio, and the heartbeat