title: "BlockMemCpy" description: TRSE built-in method (from IDE help)
BlockMemCpy
Systems: MOS6502
Parameters: a,a,n
BlockMemCpy( [address 1], [address 2], [numeric value] );
- [address 1] - source address to copy from
- [address 2] - destination address to copy to
- [numeric value] - number of bytes to copy * 256
Description
Copies 256* bytes of memory from the source address to the destination address.
Note that the last parameter must be a pure number.
Example
// copies 256*8 = $800 bytes of data from a charset data location to somewhere else
BlockMemCpy(my_charset, ^$2000, 8);