Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Use pcdisplay_cursor_init().
details: https://anonhg.NetBSD.org/src/rev/14be7bd0a875
branches: trunk
changeset: 480161:14be7bd0a875
user: ad <ad%NetBSD.org@localhost>
date: Wed Jan 05 18:27:47 2000 +0000
description:
Use pcdisplay_cursor_init().
diffstat:
sys/dev/isa/ega.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (23 lines):
diff -r dbbaec0d0df2 -r 14be7bd0a875 sys/dev/isa/ega.c
--- a/sys/dev/isa/ega.c Wed Jan 05 18:15:20 2000 +0000
+++ b/sys/dev/isa/ega.c Wed Jan 05 18:27:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ega.c,v 1.1 1999/12/13 16:28:57 drochner Exp $ */
+/* $NetBSD: ega.c,v 1.2 2000/01/05 18:27:47 ad Exp $ */
/*
* Copyright (c) 1999
@@ -373,11 +373,8 @@
if (scr->pcs.dispoffset < scr->mindispoffset ||
scr->pcs.dispoffset > scr->maxdispoffset)
scr->pcs.dispoffset = scr->mindispoffset;
-#ifdef PCDISPLAY_SOFTCURSOR
- /* disable hardware cursor */
- vga_6845_write(&vc->hdl, curstart, 0x10);
- vga_6845_write(&vc->hdl, curend, 0x10);
-#endif
+
+ pcdisplay_cursor_init(&scr->pcs);
} else {
cpos = 0;
scr->pcs.dispoffset = scr->mindispoffset;
Home |
Main Index |
Thread Index |
Old Index