From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Wed, 5 Jul 2000 08:32:43 +0000 From: "Bruce G. Stewart" Message-ID: <39629C85.674304EB@worldnet.att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <200007020115.VAA06014@fuji.homenet> Subject: Re: [9fans] Fixing the Older Millennium-1 Cursor Topicbox-Message-UUID: d3d6ec06-eac8-11e9-9e20-41e7f4b1d025 I missed the first part of this thread, so I don't know if the problem it refers to has been solved. Here's the fix I put in for the cursor on a Millennium I card (this particular card was V2.3.) The change adjusts the end-vertical-blanking parameter to be 2 less than the number of lines, visible and not, per scan. It has NOT been tested with interlaced modes; in fact, it has not been tested with anything other than -m p815 1600x1200x8. You will want to save the file /386/bin/aux/vga somewhere in case you need to go back. Add the line numbered 357 here to the function init() in file /sys/src/cmd/aux/vga/mga2164w.c: 353 354 offset = (mode->x*mode->z) >> ((pixbuswidth==32)? 6 : 7); 355 vga->crt[0x13] = offset; 356 vga->crt[0x14] = 0; 357 vga->crt[0x16] = mode->vt - 2; // bgs 30-Jun-00 358 vga->crt[0x17] = 0xE3; 359 Then build and reboot: cd /sys/src/cmd/aux/vga disk/kfscmd allow mk install disk/kfscmd halt Ctrl-Alt-Delete 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