Fix i81x cursor.
[rsc] --rw-rw-r-- M 129339 glenda sys 12036 Dec 12 07:20 sys/src/cmd/aux/vga/i81x.c
/n/sourcesdump/2005/1212/plan9/sys/src/cmd/aux/vga/i81x.c:314,319 -
/n/sourcesdump/2005/1213/plan9/sys/src/cmd/aux/vga/i81x.c:314,320
int i;
ulong *rp;
I81x *i81x;
+ char *p;
i81x = vga->private;
/n/sourcesdump/2005/1212/plan9/sys/src/cmd/aux/vga/i81x.c:337,342 -
/n/sourcesdump/2005/1213/plan9/sys/src/cmd/aux/vga/i81x.c:338,357
*rp++ = i81x->lcd[i];
/* set cursor, graphic mode */
rp = (ulong*)(i81x->mmio+0x70008);
+ *rp = i81x->pixconf | (1<<8);
+
+ p = (char*)(i81x->mmio+Pixmask); /* DACMASK */
+ *p = 0xff;
+ p = (char*)(i81x->mmio+PaddrW); /* DACWX */
+ *p = 0x04;
+ p = (char*)(i81x->mmio+Pdata); /* DACDATA */
+ *p = 0xff;
+ *p = 0xff;
+ *p = 0xff;
+ *p = 0x00;
+ *p = 0x00;
+ *p = 0x00;
+
*rp = i81x->pixconf;
ctlr->flag |= Fload;
|