C Program
void Draw( int a, int b, int c, int d, int16_t (*frame)[FRAME_WIDTH] ) { int16_t color; color = ((i&0xff)<<8) | (i&0xff);