mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-06-26 06:29:30 +00:00
Added InputFlags check for consistency.
This commit is contained in:
parent
56057a4aba
commit
7f74c733d8
|
@ -211,6 +211,10 @@ waitRead:
|
||||||
bit Keyboard ;keypress will abort waiting to read
|
bit Keyboard ;keypress will abort waiting to read
|
||||||
bpl waitRead
|
bpl waitRead
|
||||||
keyPressed:
|
keyPressed:
|
||||||
|
lda InputFlags,x
|
||||||
|
rol
|
||||||
|
rol
|
||||||
|
bcs keyPressed
|
||||||
lda Keyboard ;send keypress to RPi
|
lda Keyboard ;send keypress to RPi
|
||||||
and #$7f
|
and #$7f
|
||||||
sta OutputByte,x
|
sta OutputByte,x
|
||||||
|
|
Loading…
Reference in New Issue
Block a user