Another update...
After trying several different things and getting pretty frustrated at times, the sinecopy routine is now working.
I had to add a clear display routine so that the sinecopy didn't leave trails and also I don't think my routine is the fastest ever cos I've only been able to get it working by using four blits per word - the sinwave copy breaks display screen words into chunks of four rather than into individual pixels or pairs of pixels.
There's a big flickering problem at the moment though! From what was said earlier, I think that'll mean double buffering is needed!
Time to work on that...
|