/* f* bus_vcxk/vcxk_setbrightness FUNCTION set the display brightness PARAMETER side 1 set front side brightness 2 set back side brightness 3 set brightness for both sides brightness 0..1000  */
void vcxk_setbrightness(unsigned int side, short brightness)
/* f* bus_vcxk/vcxk_setbrightness FUNCTION set the display brightness PARAMETER side 1 set front side brightness 2 set back side brightness 3 set brightness for both sides brightness 0..1000  */
void vcxk_setbrightness(unsigned int side, short brightness)
{
	if (VC4K16) {
		if ((side == 0) || (side & 0x1))
			VC4K16_Bright1 = brightness + 23;
		if ((side == 0) || (side & 0x2))
			VC4K16_Bright2 = brightness + 23;
	} else 	{
		VC2K_Bright = (brightness >> 4) + 2;
		VC8K_BrightH = (brightness + 23) >> 8;
		VC8K_BrightL = (brightness + 23) & 0xFF;
	}
}