Video image generator superimposition for analog PAL signals, with Atmega328, for your retro OSD titles
https://retrofficina.glgprograms.it/
giomba
02a19ef783
Basically, the LPM instruction (3 cycles) does not always take 3 cycles, (I think because of the timing needed to read the Flash memory), and this disrupts the timing of the signal, leading to some offsets depending on what is shown on the line. Thus, the LPM instruction has been replaced with an RJMP one, which, instead, always takes 3 perfect cycles to be performed, timing is not disrupted anymore, and image appears ok. |
||
---|---|---|
.gitignore | ||
const.h | ||
frame.cpp | ||
frame.S | ||
macro.h | ||
main.c | ||
main.S | ||
Makefile |