Chameleon-PIC Nurve Networks, Chameleon-PIC Datasheet - Page 187

MCU, MPU & DSP Development Tools PIC24 & PROPELLER DEV SYSTEM (SBC)

Chameleon-PIC

Manufacturer Part Number
Chameleon-PIC
Description
MCU, MPU & DSP Development Tools PIC24 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet

Specifications of Chameleon-PIC

Processor To Be Evaluated
PIC24
Data Bus Width
16 bit
Interface Type
USB, VGA, PS/2, I2C, ISP, SPI
Operating Supply Voltage
3.3 V, 5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example(s):
GFX_GPU_Fill_Mem16( 0x3456, 0xAAFF, 100*2 );
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
GFX_GPU_Copy_Mem16( 0x1000, 0x2000, 32*24*2 );
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
GFX_GPU_Fill_Mem8( 0x3456, 0xAF, 100 );
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
int GFX_GPU_Copy_Mem16(unsigned int dest_ptr, unsigned int src_ptr, unsigned int num_bytes);
int GFX_GPU_Fill_Mem8(unsigned int dest_ptr,unsigned int value, unsigned int num_bytes);
int GFX_GPU_Copy_Mem8(unsigned int dest_ptr, unsigned int src_ptr, unsigned int num_bytes);
Fill 100 WORDs starting at address $3456 with the value $AAFF.
Assuming that the current tile map is 32x24 physically and virtually, and there are two tile maps, one
Fill 100 BYTEs starting at address $3456 with the value $AF.
GFX_GPU_Copy_Mem16(…) copies a number of bytes from source to destination in the GPU memory
space in WORD side chunks, or in other words in the Prop's local memory of 32K, you can use this to
overwrite SPIN code, so watch out! The parameters are the destination address to copy to dest_ptr, the
source address to copy from src_ptr, and finally, the number of bytes (always a multiple of 2) num_bytes
to copy. Typically, you will use this function to copy tile maps, scroll, page flip, perform various
animations, etc. Returns 1.
located at $1000 and the other at $2000, copy the later to the former.
GFX_GPU_Fill_Mem8(…) fills a number of bytes using value to destination in the GPU memory
space in BYTE side chunks, or in other words in the Prop's local memory of 32K, you can use this to
overwrite SPIN code, so watch out! The parameters are the destination address of the fill dest_ptr, the 8-
bit data value, and finally, the number of bytes num_bytes. Typically, you will use this function to clear
tile map, bitmap memory, and other repetitive operations that require the same value to be written.
Returns 1.
GFX_GPU_Copy_Mem8(…) copies a number of bytes from source to destination in the GPU memory
space in BYTE side chunks, or in other words in the Prop's local memory of 32K, you can use this to
overwrite SPIN code, so watch out! The parameters are the destination address to copy to dest_ptr, the
source address to copy from src_ptr, and finally, the number of bytes num_bytes to copy. Typically, you
will use this function to copy tile maps, scroll, page flip, perform various animations, etc. Returns 1.
Assuming that the current tile map is 32x24 physically and virtually, and there are two tile maps, one
located at $1000 and the other at $2000, copy the later to the former.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
187

Related parts for Chameleon-PIC