Revision 254
Added by markw about 11 years ago
| firmware/5200/joystick.c | ||
|---|---|---|
| 
     		kbcode = 0x0;
 
   | 
||
| 
     	}
 
   | 
||
| 
     | 
||
| 
     	*atari_consol = 4;
 
   | 
||
| 
     	/**atari_consol = 4;
 
   | 
||
| 
     	*atari_potgo = 0xff;
 
   | 
||
| 
     | 
||
| 
     	wait_us(1000000/50);
 
   | 
||
| 
     | 
||
| 
     	unsigned char pot0 = *atari_pot0;
 
   | 
||
| 
     	unsigned char pot1 = *atari_pot1;
 
   | 
||
| 
     	unsigned char pot1 = *atari_pot1;*/
 
   | 
||
| 
     | 
||
| 
     	status->y_ = (0x8==(kbcode&0x18)) -((unsigned int)(0x18==(kbcode&0x18)));
 
   | 
||
| 
     	status->x_ = (0x2==(kbcode&0x6)) -((unsigned int)(0x6==(kbcode&0x6)));
 
   | 
||
Removed delay