From 22c678ba69b809e2ec8b2a8e10e54b184939a1d0 Mon Sep 17 00:00:00 2001 From: Drew Fisher Date: Sun, 20 Jun 2010 17:48:13 -0700 Subject: [PATCH] Check for disconnected controller at 12us, not 6us. --- snes.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.2