View Single Post
Old 07 May 2024, 20:02   #4479
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,346
Quote:
Originally Posted by paraj View Post
Right, now I think I see what you're getting at. Fastest way on 060, I think, would be to plot 32 pixels (long word aligned) at a time to one LONG, transfer that to chip mem, and start computation on next block. If my reading of the long coders/asm thread is right though it won't really help 030.. Your way is probably best What you really want to avoid on all CPUs is RMW to chip mem.
For simplicity (at least for version 0) I just plan to have a fast ram buffer for a single bitplane the size of the text area. This isn't very big, certainly less than 2000 bytes (exact value depending on the exact spacing between the lines). This can be zeroed out and plotted into "on change" and then copied to the correct location in chip ram. Perhaps 040 and 060 can optionally use move16 for this, the source should be cached by then and the destination isn't cache enabled. I say optionally because just doing it is probably violating something and I might get mjolnir'd over the head by ThoR
Karlos is online now  
 
Page generated in 0.04398 seconds with 10 queries