From: Alan Cox Date: Sun, 1 Jul 2018 23:56:32 +0000 (+0100) Subject: trs80m1: Only poll the serial port X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f9d2f5d4e3fc7300b0f206dfdaa2e53c647abf67;p=FUZIX.git trs80m1: Only poll the serial port Otherwise we try and ack no existant interrupts, our timers go off and our keyboard repeat breaks. With this fixed xtrs works even without delays (ie simulating a 200MHz+ Z80) --- diff --git a/Kernel/platform-trs80m1/main.c b/Kernel/platform-trs80m1/main.c index 647c1ecf..f3c3b1ad 100644 --- a/Kernel/platform-trs80m1/main.c +++ b/Kernel/platform-trs80m1/main.c @@ -12,11 +12,11 @@ uint8_t vtattr_cap; struct blkbuf *bufpool_end = bufpool + NBUFS; /* We need to spin here because we don't have interrupts for the UART on the - model I */ + model I, or for the keyboard on model I or III */ void platform_idle(void) { irqflags_t irq = di(); - platform_interrupt(); + tty_interrupt(); irqrestore(irq); }