Subject: Re: wsdisplay cursor emulop question
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 03/30/2002 18:07:12
On Sat, Mar 30, 2002 at 16:29:27 +0200, Jukka Andberg wrote:

> 1) position cursor (and pretend it is a hardware cursor), or
> 2) draw cursor?

Since the signature of the "cursor" op is:

    void (*cursor)(void *c, int on, int row, int col);

it both position (row, col) *and* draws (on) cursor.

Check sys/dev/rasops/rasops.c for MI implementation of emulops for
framebuffers.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen