[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

video mem and keyboard access with oskit-mach

From: Marcus Brinkmann
Subject: video mem and keyboard access with oskit-mach
Date: Mon, 1 Oct 2001 22:35:34 +0200
User-agent: Mutt/1.3.22i


colortext needs to access the video buffer to poke the characters.
oskit-mach doesn't provide the "kd" device it uses for that, but hey, we
don't want that beast back of course.  But there is this special_mem_device,
and it seems this can be easily used instead.  Or, I guess it could just use
the mem device with an absolute offset.

The other problem is opening the keyboard in raw mode.  It seems to be simple
enough to cook this up, the only thing that seems to be needed is to set the
DC_RAW console flag, I think.

I don't think much more than this will be needed to get X working again
and have a sensible console using 'colortext' (beside finishing colortext of
course!).  If we can use the mem device, no change to oskit-mach is required
for that part, but setting the raw mode requires oskit-mach support.  Is it
acceptable to put a hack in to set it in raw mode (without advertising it
as the final interface)?


`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]