Initialize 3100 cursor to off, for rcons text mode.

(Minimal-distance fix for 1.3 release).
This commit is contained in:
jonathan 1997-11-14 02:01:22 +00:00
parent a5449ca17c
commit 0c7ac6dc71
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pm.c,v 1.22 1997/07/21 05:39:18 jonathan Exp $ */
/* $NetBSD: pm.c,v 1.23 1997/11/14 02:01:22 jonathan Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -55,6 +55,9 @@
* v 9.2 90/02/13 22:16:24 shirriff Exp SPRITE (DECWRL)";
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: pm.c,v 1.23 1997/11/14 02:01:22 jonathan Exp $");
#include <sys/param.h>
#include <sys/time.h>
@ -261,7 +264,7 @@ pmattach(fi, unit, cold_console_flag)
/*
* Initialize the cursor register.
*/
pcc->cmdr = curReg = PCC_ENPA | PCC_ENPB;
pcc->cmdr = curReg = 0;
/*
* Initialize the color map, the screen, and the mouse.
@ -330,6 +333,7 @@ pmLoadCursor(fi, cur)
wbflush();
}
curReg &= ~PCC_LODSA;
curReg |= PCC_ENPA | PCC_ENPB;
pcc->cmdr = curReg;
}