From 56c891cc916219b8879e72afe65ccfbf0afaa2a9 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 1 Jan 2018 23:15:16 +0000 Subject: [PATCH] v65c816-big: fix bug in devtty introduced in peek conversion --- Kernel/platform-v65c816-big/devtty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/platform-v65c816-big/devtty.c b/Kernel/platform-v65c816-big/devtty.c index 6dbbb005..6117fdf5 100644 --- a/Kernel/platform-v65c816-big/devtty.c +++ b/Kernel/platform-v65c816-big/devtty.c @@ -57,7 +57,7 @@ void tty_poll(void) { uint8_t x; - x = peek(0x21); + x = peek(0x21) & 1 ; if (x) { x = peek(0x20); tty_inproc(1, x); -- 2.34.1