Hi, im having a problem with the TVOut library, which seems only to happen when I test it on a NTSC television. When I use the default resolution (128x96), it hangs the arduino and the game doesn't start.
However, when I lower it to 128x95, the game starts but my character and the enemies draw some walls at certain points on the screen. Again, this happens only on the TV.
After compiling the program, the IDE publishes a report of memory usage. That report does not include any dynamically allocated RAM memory, like a display buffer.
I used this library many years ago. I forget the details but I found it does have limitations.
I am not running the game but my own display which required tuning of the parameters
A snippet from the code I run after many attempts at getting a good image.
If I remember the values should be divisible by 8. Too high and the code doesn't work.
(I use a separate sync signal and PAL)