Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/x68k/dev pullup 1.6->1.7 (minoura): Restore sc...



details:   https://anonhg.NetBSD.org/src/rev/ed99d2a7fd94
branches:  netbsd-1-4
changeset: 469159:ed99d2a7fd94
user:      perry <perry%NetBSD.org@localhost>
date:      Fri Jul 02 16:46:52 1999 +0000

description:
pullup 1.6->1.7 (minoura): Restore scroll registers after X server exits

diffstat:

 sys/arch/x68k/dev/ite_tv.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 9d7f64d731db -r ed99d2a7fd94 sys/arch/x68k/dev/ite_tv.c
--- a/sys/arch/x68k/dev/ite_tv.c        Fri Jul 02 16:45:19 1999 +0000
+++ b/sys/arch/x68k/dev/ite_tv.c        Fri Jul 02 16:46:52 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite_tv.c,v 1.6 1999/03/16 16:30:19 minoura Exp $       */
+/*     $NetBSD: ite_tv.c,v 1.6.2.1 1999/07/02 16:46:52 perry Exp $     */
 
 /*
  * Copyright (c) 1997 Masaru Oki.
@@ -656,6 +656,12 @@
        char *p;
        short fh;
 
+       /* XXX: reset scroll register on clearing whole screen */
+       if (y == 0 && x == 0 && height == ip->rows && width == ip->cols) {
+               CRTC.r10 = 0;
+               CRTC.r11 = tv_top * FONTHEIGHT;
+       }
+
        CRTC.r21 = 0x01f0;
        while (height--) {
                p = CHADDR(y++, x);



Home | Main Index | Thread Index | Old Index