Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!news.alpha.net!news.mathworks.com!newshost.marcam.com!uunet!news.iij.ad.jp!sranha.sra.co.jp!sranhc.sra.co.jp!sran230.sra.co.jp!soda
From: soda@sra.CO.JP (Noriyuki Soda)
Newsgroups: comp.os.386bsd.questions
Subject: Re: No cursor (NetBSD 1.0)
Date: 05 Mar 1995 09:14:01 GMT
Organization: Software Research Associates, Inc., Japan
Lines: 48
Distribution: world
Message-ID: <SODA.95Mar5181401@sran230.sra.CO.JP>
References: <DCHAPMAN.95Feb25165917@access.victoria.bc.ca>
NNTP-Posting-Host: sran230.sra.co.jp
In-reply-to: dchapman@access.victoria.bc.ca's message of Sun, 26 Feb 1995 00:59:17 GMT
>>>>> On Sun, 26 Feb 1995 00:59:17 GMT,
dchapman@access.victoria.bc.ca (David Chapman) said:
> I have just recently installed NetBSD 1.0, and usually when I boot it
> I wind up without a cursor. About 1 in 8 times I will get a cursor.
> I am using CGA, if that helps..
this problem is already fixed in NetBSD-current.
or, you can fix it in NetBSD-1.0 by following methods
1. try switching from pccons to pcvt (I don't try this, though)
or
2. apply following patch to /usr/src/sys/arch/i386/isa/pccons.c
(this patch is completely unofficial, and ad hoc)
--- 1.1 1994/10/17 01:58:27
+++ pccons.c 1994/11/01 07:58:51
@@ -280,10 +280,12 @@
{
register u_short iobase = addr_6845;
+#if 0
outb(iobase, 10);
outb(iobase+1, cursor_shape>>8);
outb(iobase, 11);
outb(iobase+1, cursor_shape);
+#endif
old_cursor_shape = cursor_shape;
}
@@ -800,10 +802,12 @@
cursor_shape = 0x0012;
#else
/* Extract cursor shape */
+#if 0
outb(addr_6845, 10);
cursor_shape = inb(addr_6845+1) << 8;
outb(addr_6845, 11);
cursor_shape |= inb(addr_6845+1);
+#endif
/*
* real 6845's, as found on, MDA, Hercules or CGA cards, do
--
soda@sra.co.jp $B!!!!!!(BSRA $B%7%9%F%`5;=Q%0%k!<%W(B $B!!A>EDE/G7(B (Soda Noriyuki)