9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] TNT
Date: Wed,  4 Apr 2001 10:10:54 -0400	[thread overview]
Message-ID: <20010404141056.970D1199F3@mail.cse.psu.edu> (raw)

On Wed Apr  4 07:26:26 EDT 2001, Axel.Belinfante@cs.utwente.nl wrote:
> I'm confused about the meaning of the '+cur' and '=cur' that follow
> the vga* lines in the confguration files.

'+cur' means this driver includes a hardware cursor section;
'=cur' means this driver is only for a hardware cursor.

You may also want to make the following changes to vganvidia.c to make
the cursor behave 'properly' at the screen edges.

196a197
> 	scr->offset = curs->offset;
211c212
< 	*cursorpos = (p.x & 0xFFFF) | (p.y << 16);
---
> 	*cursorpos = ((p.y+scr->offset.y)<<16)|((p.x+scr->offset.x) & 0xFFFF);


The only other problem I see is that when you move the cursor around
continuously there's sometimes a flash of an uninitialised (mostly white)
cursor. Maybe it's just my card:

	0xC00A2="NVIDIA TNT2 Model 64 BIOS V2.05.13 "	# NVIDIA TNT Model 64

All in all, a nice contribution, thank you.

--jim


             reply	other threads:[~2001-04-04 14:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-04 14:10 jmk [this message]
2001-04-04 23:41 ` Nicholas Waples
  -- strict thread matches above, loose matches on Subject: below --
2001-05-11 14:21 Russ Cox
2001-04-05 15:05 paurea
2001-04-05 10:36 paurea
2001-04-05 11:47 ` Axel Belinfante
2001-04-04 15:58 jmk
2001-04-04 10:26 paurea
2001-04-04 11:24 ` Axel Belinfante
2001-04-04 16:27   ` paurea
2001-04-04 22:47 ` Nicholas Waples
2001-04-04 16:30   ` paurea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010404141056.970D1199F3@mail.cse.psu.edu \
    --to=jmk@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).