Video image generator superimposition for analog PAL signals, with Atmega328, for your retro OSD titles https://retrofficina.glgprograms.it/
Go to file
giomba d91201dcfd do using polling
actually this does not work, because polling requires:
        in
        andi
        brne
which takes 4 clock cycles, that, on average, means a 2 clock offset,
while interrupts occur during a rjmp, which takes 2 clocks, which means,
on average, only 1 clock cycle of offset

I am not interested in higher or lower overhead: I am just interested in
minimizing its variance.
Being late of a few clock cycles, is not a problem: it just means that
the picture will be slightly shifted toward the right border; but,
starting the picture 1 or 2 clock cycles before (on one line), and 1 or
2 clock cycles after, on another line, means that it just wiggles sligthly
left and right
2021-08-08 22:29:16 +02:00
.gitignore first commit 2021-06-26 19:15:17 +02:00
const.h line buffer dynamic update 2021-07-03 15:44:01 +02:00
macro.h first commit 2021-06-26 19:15:17 +02:00
main.c do using polling 2021-08-08 22:29:16 +02:00
main.S do using polling 2021-08-08 22:29:16 +02:00
Makefile first commit 2021-06-26 19:15:17 +02:00