From: Alan Cox Date: Wed, 16 May 2018 21:20:33 +0000 (+0100) Subject: trs80: work around a bug in xtrs X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c2cee47f72000d82c02dd9fa4b1c2d6153e60cc4;p=FUZIX.git trs80: work around a bug in xtrs The emulator delays intializing the port until the code touches it. We however don't necessarily touch it until someone types something and rely on the IRQ. --- diff --git a/Kernel/platform-trs80/discard.c b/Kernel/platform-trs80/discard.c index 5da36f56..3c7d5ab4 100644 --- a/Kernel/platform-trs80/discard.c +++ b/Kernel/platform-trs80/discard.c @@ -1,6 +1,7 @@ #include #include #include +#include void device_init(void) { @@ -10,6 +11,7 @@ void device_init(void) inittod(); #endif hd_probe(); + tty_setup(3); } void map_init(void)