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/amiga/dev pullup 1.3->1.4 (is)



details:   https://anonhg.NetBSD.org/src/rev/b30df9db156d
branches:  netbsd-1-4
changeset: 469120:b30df9db156d
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 28 23:22:17 1999 +0000

description:
pullup 1.3->1.4 (is)

diffstat:

 sys/arch/amiga/dev/ite_cl.c |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 643c4b05ca98 -r b30df9db156d sys/arch/amiga/dev/ite_cl.c
--- a/sys/arch/amiga/dev/ite_cl.c       Mon Jun 28 23:21:09 1999 +0000
+++ b/sys/arch/amiga/dev/ite_cl.c       Mon Jun 28 23:22:17 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite_cl.c,v 1.3 1999/03/25 23:20:00 is Exp $    */
+/*     $NetBSD: ite_cl.c,v 1.3.2.1 1999/06/28 23:22:17 perry Exp $     */
 
 /*
  * Copyright (c) 1995 Ezra Story
@@ -161,6 +161,9 @@
        unsigned char attr;
        unsigned char *cp;
 
+       if (ip->flags & ITE_INGRF)
+               return;
+
        attr =(unsigned char) ((mode & ATTR_INV) ? (0x70) : (0x07));
        if (mode & ATTR_UL)     attr  = 0x01;   /* ???????? */
        if (mode & ATTR_BOLD)   attr |= 0x08;
@@ -189,6 +192,9 @@
        volatile unsigned char *ba = ip->grf->g_regkva;
        int len;
 
+       if (ip->flags & ITE_INGRF)
+               return;
+
        dst = ip->grf->g_fbkva + (sy * ip->cols) + sx;
        src = dst + (ip->rows*ip->cols); 
        len = w*h;
@@ -210,6 +216,9 @@
        unsigned char *fb;
        volatile unsigned char *ba = ip->grf->g_regkva;
 
+       if (ip->flags & ITE_INGRF)
+               return;
+
        fb = ip->grf->g_fbkva + sy * ip->cols;
        SetTextPlane(ba, 0x00);
 



Home | Main Index | Thread Index | Old Index