summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-10-30 05:36:23 +0000
committerscottl <scottl@FreeBSD.org>2005-10-30 05:36:23 +0000
commita8c009aff5eac9bf2af4703b65e68ed5a84e9cd4 (patch)
tree637ded4c2070d5b01c999969b364f39cbbc222a9 /sys/boot
parent7571ee7eff2d81aa37130d4c1f7f2d11bfd3267e (diff)
downloadFreeBSD-src-a8c009aff5eac9bf2af4703b65e68ed5a84e9cd4.zip
FreeBSD-src-a8c009aff5eac9bf2af4703b65e68ed5a84e9cd4.tar.gz
Replace loader_color with loader_logo
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/forth/beastie.4th51
1 files changed, 42 insertions, 9 deletions
diff --git a/sys/boot/forth/beastie.4th b/sys/boot/forth/beastie.4th
index 5f8f71a..fba284e 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 !
OpenPOWER on IntegriCloud