rem: time_t gctime;
add: time_t gctime = 0;
context: time_t _DEFUN(time,(timer),			  time_t *timer){	time_t gctime;	u32 command;	u32 SRAM[64];	if(EXI_Lock(EXI_CHANNEL_0,EXI_DEVICE_1,NULL)==0) return 0;	if(EXI_Select(EXI_CHANNEL_0,EXI_DEVICE_1,EXI_SPEED8MHZ)==0) {		EXI_Unlock(EXI_CHANNEL_0);		return 0;	}	command = 0x20000000;	EXI_Imm(EXI_CHANNEL_0,&command,4,EXI_WRITE,NULL);	EXI_Sync(EXI_CHANNEL_0);	EXI_Imm(EXI_CHANNEL_0,&gctime,4,EXI_READ,NULL);	EXI_Sync(EXI_CHANNEL_0);	EXI_Deselect(EXI_CHANNEL_0);	EXI_Unlock(EXI_CHANNEL_0);	if(EXI_Lock(EXI_CHANNEL_0,EXI_DEVICE_1,NULL)==0) return 0;	if(EXI_Select(EXI_CHANNEL_0,EXI_DEVICE_1,EXI_SPEED8MHZ)==0) {		EXI_Unlock(EXI_CHANNEL_0);		return 0;	}	command = 0x20000100;	EXI_Imm(EXI_CHANNEL_0,&command,4,EXI_WRITE,NULL);	EXI_Sync(EXI_CHANNEL_0);	EXI_ImmEx(EXI_CHANNEL_0,SRAM,64,EXI_READ);	EXI_Deselect(EXI_CHANNEL_0);	EXI_Unlock(EXI_CHANNEL_0);	gctime += 946684800;	gctime += SRAM[3];	if (timer) *timer = gctime;	return gctime;}