Chris Kelly
Well-known member
Hi guys
I'm using a 20M2 at present. Is there an efficient way to copy values from 128 RAM addresses into another 128 addresses?
e.g copy addresses 32 through 159 into addresses 160 through 287?
I get that it will work fine by using for example
and so on....
But that looks a bit cumbersome.
Just wondered if there is a more concise trick?
Cheers
Chris
I'm using a 20M2 at present. Is there an efficient way to copy values from 128 RAM addresses into another 128 addresses?
e.g copy addresses 32 through 159 into addresses 160 through 287?
I get that it will work fine by using for example
Code:
peek 32,b22
poke 160,b22
peek 33,b22
poke 161,b22
peek 34,b22
poke 162,b22
peek 35,b22
poke 163,b22
peek 36,b22
poke 164,b22
But that looks a bit cumbersome.
Just wondered if there is a more concise trick?
Cheers
Chris