From e1cd0a70ace0944a4916f8a152c50e366c2c6984 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 2 Jan 2014 23:25:46 +0100 Subject: Make sure cursor is initialized * i386/i386at/kd.c (kd_xga_init): Add start, stop variables, read them from CRT registers, make sure the cursor is enabled and is not reduced to 0, and write them back to CRT registers. * i386/i386at/kd.h (C_START, C_STOP): New macros. --- i386/i386at/kd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'i386/i386at/kd.h') diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h index 0907e23..6c869d6 100644 --- a/i386/i386at/kd.h +++ b/i386/i386at/kd.h @@ -113,6 +113,8 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* * Commands sent to graphics adapter. */ +#define C_START 0x0a /* return cursor line start */ +#define C_STOP 0x0b /* return cursor line stop */ #define C_LOW 0x0f /* return low byte of cursor addr */ #define C_HIGH 0x0e /* high byte */ -- cgit v1.2.3