title: "CopyImageColorData" description: TRSE built-in method (from IDE help)
CopyImageColorData
Systems: C64, MEGA65, PLUS4, C128
Parameters: a,n
CopyImageColorData( [address], [numeric value] );
- [address] - address of data
- [numeric value] - bank number to use (0-3)
Description
Used for copying image color data exported with TRSE. Data is stored as the following:
Bytes
0-1 : Background color
2-1001 : Color data (for $0400, both nibbles)
1002-2002 : Color data (for $D800, low nibble only)
Example
CopyImageColorData(myColorData, 1); //copies data from myColorData to color ram in bank 1 /$D800