handle=open("/dev/cx25874",O_RDWR);ioctl(handle, _IOW('v', 0x02, unsigned char), 4);// tv out in PAL mode
if(!gp2x_dev) gp2x_dev = open("/dev/mem", O_RDWR);
gp2x_memregs=(unsigned short *)mmap(0, 0x10000, PROT_READ|PROT_WRITE, MAP_SHARED, gp2x_dev, 0xc0000000);
// TV OUT...