summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2005-10-30 14:40:40 +0000
committerScott Long <scottl@FreeBSD.org>2005-10-30 14:40:40 +0000
commite658bb489d57bdcf08bf7e778dc4f7a81abb8fd9 (patch)
tree7fb442f3b887efbde482af7d59ce7f321bca2e20
parent21f0307211ead03955e5df94af6b96a553d1f39a (diff)
Notes
-rw-r--r--sys/boot/forth/beastie.4th51
-rw-r--r--sys/boot/i386/loader/Makefile2
2 files changed, 43 insertions, 10 deletions
diff --git a/sys/boot/forth/beastie.4th b/sys/boot/forth/beastie.4th
index 5f8f71a99876..fba284e8ab99 100644
--- a/sys/boot/forth/beastie.4th
+++ b/sys/boot/forth/beastie.4th
@@ -50,7 +50,7 @@ variable rebootkey
46 constant dot
\ The BSD Daemon. He is 19 rows high and 34 columns wide
-: technicolor-beastie ( x y -- )
+: beastie-logo ( x y -- )
2dup at-xy ." , ," 1+
2dup at-xy ." /( )`" 1+
2dup at-xy ." \ \___ / |" 1+
@@ -72,7 +72,7 @@ variable rebootkey
at-xy ." `--{__________) "
;
-: boring-beastie ( x y -- )
+: beastiebw-logo ( x y -- )
2dup at-xy ." , ," 1+
2dup at-xy ." /( )`" 1+
2dup at-xy ." \ \___ / |" 1+
@@ -94,18 +94,51 @@ at-xy ." `--{__________) "
at-xy ." `--{__________)"
;
-: print-beastie ( x y -- )
- s" loader_color" getenv
+: fbsdbw-logo ( x y -- )
+ 2dup at-xy ." ______" 1+
+ 2dup at-xy ." | ____| __ ___ ___ " 1+
+ 2dup at-xy ." | |__ | '__/ _ \/ _ \" 1+
+ 2dup at-xy ." | __|| | | __/ __/" 1+
+ 2dup at-xy ." | | | | | | |" 1+
+ 2dup at-xy ." |_| |_| \___|\___|" 1+
+ 2dup at-xy ." ____ _____ _____" 1+
+ 2dup at-xy ." | _ \ / ____| __ \" 1+
+ 2dup at-xy ." | |_) | (___ | | | |" 1+
+ 2dup at-xy ." | _ < \___ \| | | |" 1+
+ 2dup at-xy ." | |_) |____) | |__| |" 1+
+ 2dup at-xy ." | | | |" 1+
+ at-xy ." |____/|_____/|_____/"
+;
+
+: print-logo ( x y -- )
+ s" loader_logo" getenv
dup -1 = if
drop
- boring-beastie
+ fbsdbw-logo
exit
then
- s" YES" compare-insensitive 0<> if
- boring-beastie
+ 2dup s" fbsdbw" compare-insensitive 0= if
+ 2drop
+ fbsdbw-logo
+ exit
+ then
+ 2dup s" beastiebw" compare-insensitive 0= if
+ 2drop
+ beastiebw-logo
+ exit
+ then
+ 2dup s" beastie" compare-insensitive 0= if
+ 2drop
+ beastie-logo
+ exit
+ then
+ 2dup s" none" compare-insensitive 0= if
+ 2drop
+ \ no logo
exit
then
- technicolor-beastie
+ 2drop
+ fbsdbw-logo
;
: acpienabled? ( -- flag )
@@ -144,7 +177,7 @@ at-xy ." `--{__________) "
8 menuY !
5 menuX !
clear
- 46 4 print-beastie
+ 46 4 print-logo
42 20 2 2 box
13 6 at-xy ." Welcome to FreeBSD!"
printmenuitem ." Boot FreeBSD [default]" bootkey !
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index 036f699dbeb5..ad2339756230 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -73,7 +73,7 @@ loader.help: help.common help.i386
.PATH: ${.CURDIR}/../../forth
FILES= loader loader.help loader.4th support.4th loader.conf
-FILES+= screen.4th frames.4th
+FILES+= screen.4th frames.4th beastie.4th
# XXX INSTALLFLAGS_loader= -b
FILESMODE_loader= ${BINMODE} -b
FILESDIR_loader.conf= /boot/defaults