9fans archive / 2000 / 07 / 71 /    prev next

From: "Bruce G. Stewart" <bruce.g.stewart@wor...>
Subject: Re: [9fans] Fixing the Older Millennium-1 Cursor
Date: Wed, 5 Jul 2000 08:32:16 GMT

I have fixed the Millenium I cursor on my machine; I'll dig it out and forward
it to you. The problem is that aux/vga sets the vertical blanking interval way
too short, and the cursor is triggered off the end of the vertical blanking
pulse.

The end-vertical-retrace register should have something like total vertical - 2
or total vertical - 1. I amended /src/cmd/aux/vga/mga2164w.c to do this and the
cursor works fine.

As an added bonus, a few scanlines worth of cruft at the top of the screen went
away.

This probably should be changed in the generic vga file - I can't think of any
reason it should ever be set to anything else, since plan9 has no overscan
border.

I will get the specifics for you next time I have 9 booted.

Stephen Wynne wrote:

> RAMDAC docs: http://www.ti.com/sc/docs/products/analog/tvp3025.html
> Where to get started: /src/9/pc/vgamga2164w.c
> What v3 does support: http://www.ti.com/sc/docs/products/analog/tvp3026.html