| plan 9 kernel history: overview | file list | diff list |
1995/0623/pc/vgaark2000pv.c (diff list | history)
| 1995/0516/sys/src/9/pc/vgaark2000pv.c:80,94 – 1995/0623/sys/src/9/pc/vgaark2000pv.c:80,95 (short | long | prev | next) | ||
| 1995/0516 | * If it's the same as the last cursor we loaded, * just make sure it's enabled. */ | |
| 1995/0623 | seq20 = vgaxi(Seqx, 0x20); | |
| 1995/0516 | if(memcmp(c, &curcursor, sizeof(Cursor)) == 0){ | |
| 1995/0623 | vgaxo(Seqx, 0x20, seq20|0x08); | |
| 1995/0516 | unlock(&ark2000pvlock); return; } memmove(&curcursor, c, sizeof(Cursor)); | |
| 1995/0623 | vgaxo(Seqx, 0x20, seq20 & ~0x08); | |
| 1995/0516 | /* * Is linear addressing turned on? This will determine * how we access the cursor storage. | |
| 1995/0516/sys/src/9/pc/vgaark2000pv.c:129,135 – 1995/0623/sys/src/9/pc/vgaark2000pv.c:130,136 | ||
| 1995/0516 | * Set the cursor hotpoint and enable the cursor. */ hotpoint = c->offset; | |
| 1995/0623 | vgaxo(Seqx, 0x20, seq20|0x08); | |
| 1995/0516 | unlock(&ark2000pvlock); } | |