From: Alan Cox Date: Thu, 11 Jun 2015 21:14:18 +0000 (+0100) Subject: platforms: more vtattr fixups X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=16525464575e545bbce384ca035e6acec8d76b4f;p=FUZIX.git platforms: more vtattr fixups None of these actually add an attr support yet --- diff --git a/Kernel/platform-msx1/devtty.c b/Kernel/platform-msx1/devtty.c index c9a02109..b33593e5 100644 --- a/Kernel/platform-msx1/devtty.c +++ b/Kernel/platform-msx1/devtty.c @@ -19,6 +19,8 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = { /* ttyinq[0] is never used */ {tbuf2, tbuf2, tbuf2, TTYSIZ, 0, TTYSIZ / 2} }; +uint8_t vtattr_cap = 0; /* For now */ + /* tty1 is the screen tty2 is the debug port */ /* Output for the system console (kprintf etc) */ diff --git a/Kernel/platform-msx2/devtty.c b/Kernel/platform-msx2/devtty.c index bac34633..991a68d9 100644 --- a/Kernel/platform-msx2/devtty.c +++ b/Kernel/platform-msx2/devtty.c @@ -16,6 +16,8 @@ __sfr __at 0xA9 kbd_row_read; char tbuf1[TTYSIZ]; char tbuf2[TTYSIZ]; +uint8_t vtattr_cap; + struct s_queue ttyinq[NUM_DEV_TTY + 1] = { /* ttyinq[0] is never used */ {NULL, NULL, NULL, 0, 0, 0}, {tbuf1, tbuf1, tbuf1, TTYSIZ, 0, TTYSIZ / 2}, diff --git a/Kernel/platform-nc100/devtty.c b/Kernel/platform-nc100/devtty.c index ec1ba1cf..231a0feb 100644 --- a/Kernel/platform-nc100/devtty.c +++ b/Kernel/platform-nc100/devtty.c @@ -26,6 +26,8 @@ __sfr __at 0xB7 kmap7; __sfr __at 0xB8 kmap8; __sfr __at 0xB9 kmap9; +uint8_t vtattr_cap; + char tbuf1[TTYSIZ]; char tbuf2[TTYSIZ]; diff --git a/Kernel/platform-pcw8256/devtty.c b/Kernel/platform-pcw8256/devtty.c index a28f8654..ce480d7f 100644 --- a/Kernel/platform-pcw8256/devtty.c +++ b/Kernel/platform-pcw8256/devtty.c @@ -8,6 +8,8 @@ #undef DEBUG /* UNdefine to delete debug code sequences */ +uint8_t vtattr_cap; + __sfr __at 0xE0 dart0d; __sfr __at 0xE1 dart0c; __sfr __at 0xE2 dart1d;