Commit Graph
4 Commits
Author SHA1 Message Date
alex 292d42f8ea Move now-playing blink/autoplay out of the interrupt too
show_now_play_link (blinking highlight for the currently playing track
in the list, plus the end-of-track autoplay/parse_url check) still ran
inside int_text_off via pt_play, doing its own extra page switch
(set_Textpage_lite) and an 80-byte write - on top of the analyzer this
was the remaining source of the vertical stripe flicker, specifically
when the playing track is scrolled into view. Split it out of pt_play
and call it from the main loop alongside the analyzer; the player tick
itself is untouched.

Confirmed on hardware: no flicker left, including across autoplay to
the next track.
2026-08-31 23:29:25 +03:00
alex 153931d1ca 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).
2026-08-31 22:27:27 +03:00
alex b3f614642e Add ZIFI/zifi.spg, fix .gitignore to not shadow it 2026-08-31 21:17:10 +03:00
alex c0d5110ea7 Initial commit 2026-08-31 21:04:48 +03:00