Move music analyzer out of the raster interrupt to fix flickering

The AY volume-bar indicator (music_analizator) ran inside int_text_off,
the same precisely-timed interrupt chain that switches between text and
graphics video modes. Its DMA clear + page switching + drawing could
overrun that timing budget on dynamic tracks, causing visible vertical
stripe flicker. Moved it to the main loop (once per frame, after
wait_frame) instead, leaving the player tick (pt_play) and its tempo
timing untouched inside the interrupt.

Also waits for the DMA clear to finish before drawing bars into the
same memory (previously a write race).
This commit is contained in:
2026-08-31 22:27:27 +03:00
parent b3f614642e
commit 153931d1ca
3 changed files with 18 additions and 7 deletions
Binary file not shown.