Skip to content

Commit f1c76b8

Browse files
committed
save 5 cycles in wait loop and still be >50
1 parent 95c9e40 commit f1c76b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nmi/pollkeyboard.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
; Note that Family BASIC never writes to $4016 with bit 2 clear, there is no need to disable the keyboard matrix.
4141

4242
kbReadWait:
43-
ldy #$09
43+
ldy #$08
4444
@avoidParasiticCapacitance: ; wait approx 50 cycles after advancing rows
4545
dey
4646
bne @avoidParasiticCapacitance

0 commit comments

Comments
 (0)