From: Drew Fisher Date: Mon, 21 Jun 2010 00:48:13 +0000 (-0700) Subject: Check for disconnected controller at 12us, not 6us. X-Git-Url: http://git.zarvox.org/static/%7B%7B%20url_for%28%27main.logout_page%27%29%20%7D%7D?a=commitdiff_plain;h=22c678ba69b809e2ec8b2a8e10e54b184939a1d0;p=usbsnes.git Check for disconnected controller at 12us, not 6us. --- diff --git a/snes.S b/snes.S index a59cabd..4920964 100644 --- a/snes.S +++ b/snes.S @@ -104,14 +104,13 @@ pollSnes: latchhigh: sbi PINC, PIN1 ; [0] Raise data latch call burn_clock + call burn_clock ; 12us ldi temp1, 8 in temp2, PINC andi temp2, PIN2; Mask out serial data pin breq unconnected - call burn_clock - ; ~12us cbi PINC, PIN1 ; drop data latch readbitfirst8: call burn_clock ; wait for controller to drive data