Here's what I want to do.
I want to work in 800 X 600 resolution, usually I'll just use the erase command to clear my screen array which seems to be pretty quick, however I am thinking that it would be nice to have a template 800 * 600 array and when I clear the screen array, I clear it out with the contents of the template array.
This would mean that I could for instance draw the logo on the template array and as long as the procedure to copy the array over was fast enough I could also calculate a nice background to go behind it all.
So basically it's copying the contents of one 800 * 600 Uinteger array into another uinteger array of identical proportions.
The easy way of doing it is a simple loop but this steals fps.
I've looked at Clear, for example;
declare sub CLEAR(byref dst as any, byval value as integer = 0, byval bytes as integer)
CLEAR BYREF Array(1), 0, LEN(Array(1)) * UBOUND(Array)
But that isn't really what I am looking for as it fills the array with a solid colour.
Is there something I am missing here?
Could this be done quicker with inline asm?
If so, how would I do it, my PC Asm skills are nil!