From c9ff0b7eccd22db910a03c792bf1a20ce5ab339f Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Mon, 23 Jul 2018 23:57:37 +0200 Subject: [PATCH] dragon-nx32: Reduce crt9128 screen size because of overscan On most monitors the last columns and lines of the CRT9128 output are not visible. The sync parameters were mask programmable on the CRT9128 so there might be exceptions but this seems a common issue with the standard parts available. Signed-off-by: Tormod Volden --- Kernel/platform-dragon-nx32/devtty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-dragon-nx32/devtty.c b/Kernel/platform-dragon-nx32/devtty.c index 62d3ee34..74c9a482 100644 --- a/Kernel/platform-dragon-nx32/devtty.c +++ b/Kernel/platform-dragon-nx32/devtty.c @@ -41,8 +41,8 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = { /* ttyinq[0] is never used */ uint8_t vtattr_cap = VTA_INVERSE|VTA_UNDERLINE|VTA_ITALIC|VTA_BOLD| VTA_OVERSTRIKE|VTA_NOCURSOR; -const signed char vt_tright[2] = { 31, 79 }; -const signed char vt_tbottom[2] = { 23, 23 }; +const signed char vt_tright[2] = { 31, 77 }; +const signed char vt_tbottom[2] = { 23, 22 }; extern uint8_t curtty; static uint8_t inputtty; static struct vt_switch ttysave[2]; -- 2.34.1