Re: Palette Cycling Problem
- Posted by Daniel Berstein <daber at PAIR.COM> Jan 02, 1999
- 506 views
Even with a wait loop like that all it does is slow it down to about 3 >updates per sec (which is way to slow) and there's still a black line >flashing across every time. I'm starting to think that even a wait-retrace >routine wouldn't work because at this speed it already has about 330ms to >wait for a retrace and it still flickers. So would a wait-retrace routine just slow it down even more? >I put the get_all_palette outside the loop like you suggested but, it's >still the same. The wait-retrace won't slow it down (v-refresh happens every 60 times per second aprox.), it will sync the palette change with the vertical retrace, efectivly hidding the unwanted flicker. Your wait loop won't help with syncronization, it just makes it slower. Regards, Daniel Berstein daber at pair.com