shithub: riscv

Download patch

ref: 0c91d121f0b2c21df66d7e6cf780a8247632f607
parent: 66d0bb89a4cfdc68212e303ecbad94ef1967e2d6
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Jan 16 23:00:36 EST 2015

igfx: fix wrong cursor position register address

--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -297,7 +297,7 @@
 
 		p->cur->cntr	= snarfreg(igfx, 0x70080 + x*0x40);
 		p->cur->base	= snarfreg(igfx, 0x70084 + x*0x40);
-		p->cur->pos	= snarfreg(igfx, 0x7008C + x*0x40);
+		p->cur->pos	= snarfreg(igfx, 0x70088 + x*0x40);
 		break;
 	}
 }