All pastes #261807 Raw Edit

Unnamed

public c v1 · immutable
#261807 ·published 2006-11-29 21:33 UTC
rendered paste body
@@PC code://get the ball struct from server calc		while(ticables_cable_recv(handle,buffer,3));		//send confirmation of receiving ball struct		if(ticables_cable_put(handle,0x26))			return -1;@@Calc code:OSFreeTimer(USER_TIMER);				OSRegisterTimer(USER_TIMER,5*20);				do {						LIO_SendData(&ball.y,3);						LIO_RecvData(&buf2,1,1);						if(OSTimerExpired (USER_TIMER)) {								GrayDrawStrExt2B(0,58,"Error communicating with opponent :4",A_REPLACE,F_4x6,L_PLN,D_PLN);								ngetchx();								return;						}				} while(buf2!=0x26);