Flickering video after a few software mods
Charles Edmondson
Posts: 46
in Propeller 1
Hi All,
Crazy question for the day: Has anyone had a problem with their video flickering when their memory use gets tight? I was working on my project, and the customer noticed that the display flickers noticeably. I am not sure what, if anything, could cause this. There are a lot of calls to modify the display, so if there some problems if the display is modified during a frame?
Just curious to see if anyone else has seen this type of problem. I am using STDTV for the output...
Crazy question for the day: Has anyone had a problem with their video flickering when their memory use gets tight? I was working on my project, and the customer noticed that the display flickers noticeably. I am not sure what, if anything, could cause this. There are a lot of calls to modify the display, so if there some problems if the display is modified during a frame?
Just curious to see if anyone else has seen this type of problem. I am using STDTV for the output...
Comments
If it does, you may need to rethink the draw code and how or if it gets buffered.
If it does not, then your program is out of sync with your draw routines.
-Phil
There was something else going on if adding a dummy value made things work.
If you forget to add an "org" statement to the beginning of a PASM section or you pass a byte or word address as the "par" register, then adding dummy values can end up masking these issues and your program will run correctly.
If you find yourself adding dummy values I think it's a safe bet to assume there's some other problem in the program your dummy values are masking.