aboutsummaryrefslogtreecommitdiff
path: root/src/kgetc.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/kgetc.s')
-rw-r--r--src/kgetc.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kgetc.s b/src/kgetc.s
index c11cb6d..524e348 100644
--- a/src/kgetc.s
+++ b/src/kgetc.s
@@ -33,6 +33,8 @@
XCH_CAPS = $8a ; must agree with keytab.h
+ ; note: _keypress returns true/false, but also the Z
+ ; flag reflects the return status (Z clear for true).
_keypress:
ldx CH
cpx #$ff