mirror of
https://github.com/dwsJason/xrick2gs.git
synced 2025-01-02 07:30:23 +00:00
Toggle interrupts on in the blitter, to make music sound better
This commit is contained in:
parent
fc151d60be
commit
58a9eb9310
12
asm/blit.s
12
asm/blit.s
@ -346,6 +346,18 @@ BRET entry ; Blit Return
|
||||
iny ; next direct page
|
||||
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)
|
||||
* re-enable interrupts, for audio, and the heartbeat
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user