public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1496b
)
trs80m1: don't do kernel video writes when in micrografyx mode
author
Alan Cox
<alan@linux.intel.com>
Fri, 6 Jul 2018 21:20:50 +0000
(22:20 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 6 Jul 2018 21:20:50 +0000
(22:20 +0100)
Kernel/platform-trs80m1/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-trs80m1/devtty.c
b/Kernel/platform-trs80m1/devtty.c
index
81ff082
..
d28fafc
100644
(file)
--- a/
Kernel/platform-trs80m1/devtty.c
+++ b/
Kernel/platform-trs80m1/devtty.c
@@
-7,6
+7,7
@@
#include <devtty.h>
#include <input.h>
#include <devinput.h>
+#include <devgfx.h>
#include <stdarg.h>
static char tbuf1[TTYSIZ];
@@
-89,6
+90,8
@@
void tty_putc(uint8_t minor, unsigned char c)
if (minor == 3)
tr1865_rxtx = c;
else {
+ if (video_mode == 2) /* Micrografyx */
+ return;
irq = di();
if (curtty != minor -1) {
/* Kill the cursor as we are changing the memory buffers. If