From: Alan Cox Date: Wed, 4 Jul 2018 00:47:13 +0000 (+0100) Subject: trs80m1: not differing tty on VG X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=52bed7efafe93efb4915ba84ac97df7728878bad;p=FUZIX.git trs80m1: not differing tty on VG --- diff --git a/Kernel/platform-trs80m1/devtty.c b/Kernel/platform-trs80m1/devtty.c index 06e9c2b4..e7d418bc 100644 --- a/Kernel/platform-trs80m1/devtty.c +++ b/Kernel/platform-trs80m1/devtty.c @@ -17,6 +17,10 @@ static struct vt_switch ttysave[2]; struct vt_repeat keyrepeat; extern uint8_t *vtbase[2]; +/* FIXME: The Video Genie EG3020 is similar but the TR1865 is + data in: 8, status out F8, data out: F9 status in F9, + and serial printer on FD with the baud set by switches */ + __sfr __at 0xE8 tr1865_ctrl; __sfr __at 0xE9 tr1865_baud; __sfr __at 0xEA tr1865_status; @@ -50,7 +54,7 @@ ttyready_t tty_writeready(uint8_t minor) static uint8_t vtbuf[64]; static uint8_t *vtq = vtbuf; -static void vtflush(void) +void vtflush(void) { vtoutput(vtbuf, vtq - vtbuf); vtq = vtbuf;