useless aesthetics -- ascii dragonfly boot splash

Aaron Malone aaron at munge.net
Mon Jan 5 12:55:33 PST 2004


On Monday 05 January 2004 12:52, David Rhodus wrote:
> Are you going to do the screen saver too ?

Here it is -- patch for src/sys/dev/misc/syscons/daemon/daemon_saver.c 
(that's a mouthful) to change the beastie.
-- 
Aaron Malone
aaron at xxxxxxxxx
--- daemon_saver.c.orig	Mon Jan  5 20:40:14 2004
+++ daemon_saver.c	Mon Jan  5 20:51:03 2004
@@ -48,59 +48,49 @@
 #include <pc98/pc98/pc98_machdep.h>
 #endif
 
-#define DAEMON_MAX_WIDTH	32
-#define DAEMON_MAX_HEIGHT	19
+#define DAEMON_MAX_WIDTH	31
+#define DAEMON_MAX_HEIGHT	15
 
 static u_char *message;
 static int messagelen;
 static int blanked;
 
-/* Who is the author of this ASCII pic? */
-
 static u_char *daemon_pic[] = {
-        "             ,        ,",
-	"            /(        )`",
-	"            \\ \\___   / |",
-	"            /- _  `-/  '",
-	"           (/\\/ \\ \\   /\\",
-	"           / /   | `    \\",
-	"           O O   ) /    |",
-	"           `-^--'`<     '",
-	"          (_.)  _  )   /",
-	"           `.___/`    /",
-	"             `-----' /",
-	"<----.     __ / __   \\",
-	"<----|====O)))==) \\) /====",
-	"<----'    `--' `.__,' \\",
-	"             |        |",
-	"              \\       /       /\\",
-	"         ______( (_  / \\______/",
-	"       ,'  ,-----'   |",
-	"       `--{__________)",
-	NULL
+        ",--,           |           ,--,",
+        "|   `-,       ,^,       ,-'   |",
+        " `,    `-,   (/ \\)   ,-`    ,-'",
+        "   `-,    `-,/   \\,-`    ,-`",
+        "      `------(   )------'",
+        "  ,----------(   )-----------,",
+        " |        _,-(   )-,_        |",
+        "  `-,__,-`   \\   /   `-,__,-'",
+        "              | |",
+        "              | |",
+        "              | |",
+        "              | |",
+        "              | |",
+        "              | |",
+        "              `|'",
+        NULL
 };
 
 static u_char *daemon_attr[] = {
-        "             R        R",
-	"            RR        RR",
-	"            R RRRR   R R",
-	"            RR W  RRR  R",
-	"           RWWW W R   RR",
-	"           W W   W R    R",
-	"           B B   W R    R",
-	"           WWWWWWRR     R",
-	"          RRRR  R  R   R",
-	"           RRRRRRR    R",
-	"             RRRRRRR R",
-	"YYYYYY     RR R RR   R",
-	"YYYYYYYYYYRRRRYYR RR RYYYY",
-	"YYYYYY    RRRR RRRRRR R",
-	"             R        R",
-	"              R       R       RR",
-	"         CCCCCCR RR  R RRRRRRRR",
-	"       CC  CCCCCCC   C",
-	"       CCCCCCCCCCCCCCC",
-	NULL
+        "WWWW           R           WWWW",
+        "W   WWW       RRR       WWW   W",
+        " WW    WWW   GR RG   WWW    WWW",
+        "   WWW    WWWR   RWWW    WWW",
+        "      WWWWWWWR   RWWWWWWW",
+        "  WWWWWWWWWWWR   RWWWWWWWWWWWW",
+        " W        WWWR   RWWW        W",
+        "  WWWWWWWW   R   R   WWWWWWWW",
+        "              R R",
+        "              R R",
+        "              R R",
+        "              R R",
+        "              R R",
+        "              R R",
+        "              RRR",
+        NULL
 };
 
 /*
@@ -161,6 +151,7 @@
 			case 'B': attr = (FG_LIGHTBLUE|BG_BLACK)<<8; break;
 			case 'W': attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
 			case 'C': attr = (FG_CYAN|BG_BLACK)<<8; break;
+                        case 'G': attr = (FG_GREEN|BG_BLACK)<<8; break;
 			default: attr = (FG_WHITE|BG_BLACK)<<8; break;
 #else /* PC98 */
 			case 'R': attr = (FG_RED|BG_BLACK)<<8; break;
@@ -168,6 +159,7 @@
 			case 'B': attr = (FG_BLUE|BG_BLACK)<<8; break;
 			case 'W': attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
 			case 'C': attr = (FG_CYAN|BG_BLACK)<<8; break;
+                        case 'G': attr = (FG_GREEN|BG_BLACK)<<8; break;
 			default: attr = (FG_LIGHTGREY|BG_BLACK)<<8; break;
 #endif /* PC98 */
 			}




More information about the Submit mailing list