From: Alan Cox Date: Tue, 2 Oct 2018 12:07:00 +0000 (+0100) Subject: msx2: update for termios masking X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3b74a2001a1e2e5ff887988871dcb5d9d7264fca;p=FUZIX.git msx2: update for termios masking --- diff --git a/Kernel/platform-msx2/devtty.c b/Kernel/platform-msx2/devtty.c index a590c29b..cea1765e 100644 --- a/Kernel/platform-msx2/devtty.c +++ b/Kernel/platform-msx2/devtty.c @@ -37,6 +37,21 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = { /* ttyinq[0] is never used */ {tbuf4, tbuf4, tbuf4, TTYSIZ, 0, TTYSIZ / 2}, }; +static tcflag_t console_mask[4] = { + _ISYS, + _OSYS, + _CSYS, + _LSYS +}; + +tcflag_t *termios_mask[NUM_DEV_TTY + 1] = { + NULL, + console_mask, + console_mask, + console_mask, + console_mask +}; + uint8_t keyboard[11][8]; uint8_t shiftkeyboard[11][8];