Added InputFlags check for consistency.

This commit is contained in:
Oliver Schmidt 2022-08-16 15:13:47 +02:00 committed by Terence Boldt
parent 56057a4aba
commit 7f74c733d8
1 changed files with 4 additions and 0 deletions

View File

@ -211,6 +211,10 @@ waitRead:
bit Keyboard ;keypress will abort waiting to read
bpl waitRead
keyPressed:
lda InputFlags,x
rol
rol
bcs keyPressed
lda Keyboard ;send keypress to RPi
and #$7f
sta OutputByte,x