Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/rasops When legacy Apple 4-bpp color palette is used...



details:   https://anonhg.NetBSD.org/src/rev/c6533b4f8aa0
branches:  trunk
changeset: 453382:c6533b4f8aa0
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Aug 09 11:08:20 2019 +0000

description:
When legacy Apple 4-bpp color palette is used, make green dark so that
kernel messages are printed nicely on white background.

diffstat:

 sys/dev/rasops/rasops.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 47ad6790b66f -r c6533b4f8aa0 sys/dev/rasops/rasops.c
--- a/sys/dev/rasops/rasops.c   Fri Aug 09 11:05:53 2019 +0000
+++ b/sys/dev/rasops/rasops.c   Fri Aug 09 11:08:20 2019 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: rasops.c,v 1.117 2019/08/07 12:27:49 rin Exp $        */
+/*      $NetBSD: rasops.c,v 1.118 2019/08/09 11:08:20 rin Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.117 2019/08/07 12:27:49 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.118 2019/08/09 11:08:20 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_rasops.h"
@@ -175,7 +175,7 @@
 static const uint8_t apple4_devcmap[16] = {
        15,     /* black        */
         3,     /* red          */
-        8,     /* green        */
+        9,     /* dark green   */
         1,     /* yellow       */
         6,     /* blue         */
         4,     /* magenta      */
@@ -184,7 +184,7 @@
 
        13,     /* medium grey  */
         3,     /* red          */
-        8,     /* green        */
+        9,     /* dark green   */
         1,     /* yellow       */
         6,     /* blue         */
         4,     /* magenta      */



Home | Main Index | Thread Index | Old Index