public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa64ac2
)
trs80m1: debugging tty problems - seems to help
author
Alan Cox
<alan@linux.intel.com>
Fri, 25 May 2018 22:25:48 +0000
(23:25 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 25 May 2018 22:25:48 +0000
(23:25 +0100)
Kernel/platform-trs80m1/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-trs80m1/devtty.c
b/Kernel/platform-trs80m1/devtty.c
index
de44657
..
546e724
100644
(file)
--- a/
Kernel/platform-trs80m1/devtty.c
+++ b/
Kernel/platform-trs80m1/devtty.c
@@
-53,7
+53,7
@@
void tty_interrupt(void)
uint8_t reg = tr1865_status;
if (reg & 0x80) {
reg = tr1865_rxtx;
- tty_inproc(
3
, reg);
+ tty_inproc(
2
, reg);
}
}
@@
-221,8
+221,10
@@
static void keydecode(void)
}
else if (capslock && c >= 'a' && c <= 'z')
c -= 'a' - 'A';
- if (c)
+ if (c) {
+// kprintf("Typed %d:%c\n", c, c);
vt_inproc(1, c);
+ }
}
void kbd_interrupt(void)