roll another loop up
This commit is contained in:
1 parent
7bce9d4c26
commit
054913ed06
1 file changed
+7
-37
@@ -184,47 +184,17 @@ scan_keyboard:
|
|||||||
;; // Routine for Scanning a Matrix Row
|
;; // Routine for Scanning a Matrix Row
|
||||||
|
|
||||||
KeyInRow:
|
KeyInRow:
|
||||||
|
ldy #7
|
||||||
|
*
|
||||||
asl
|
asl
|
||||||
bcs nokey0
|
bcs nokey
|
||||||
jsr KeyFound
|
jsr KeyFound
|
||||||
nokey0:
|
nokey:
|
||||||
inx
|
inx
|
||||||
asl
|
dey
|
||||||
bcs nokey1
|
bpl -
|
||||||
jsr KeyFound
|
|
||||||
nokey1:
|
|
||||||
inx
|
|
||||||
asl
|
|
||||||
bcs nokey2
|
|
||||||
jsr KeyFound
|
|
||||||
nokey2:
|
|
||||||
inx
|
|
||||||
asl
|
|
||||||
bcs nokey3
|
|
||||||
jsr KeyFound
|
|
||||||
nokey3:
|
|
||||||
inx
|
|
||||||
asl
|
|
||||||
bcs nokey4
|
|
||||||
jsr KeyFound
|
|
||||||
nokey4:
|
|
||||||
inx
|
|
||||||
asl
|
|
||||||
bcs nokey5
|
|
||||||
jsr KeyFound
|
|
||||||
nokey5:
|
|
||||||
inx
|
|
||||||
asl
|
|
||||||
bcs nokey6
|
|
||||||
jsr KeyFound
|
|
||||||
nokey6:
|
|
||||||
inx
|
|
||||||
asl
|
|
||||||
bcs nokey7
|
|
||||||
jsr KeyFound
|
|
||||||
nokey7:
|
|
||||||
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
;; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
;; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|||||||
Reference in new issue
Block a user