1280933Sdteske\ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org>
2280933Sdteske\ All rights reserved.
3280933Sdteske\ 
4280933Sdteske\ Redistribution and use in source and binary forms, with or without
5280933Sdteske\ modification, are permitted provided that the following conditions
6280933Sdteske\ are met:
7280933Sdteske\ 1. Redistributions of source code must retain the above copyright
8280933Sdteske\    notice, this list of conditions and the following disclaimer.
9280933Sdteske\ 2. Redistributions in binary form must reproduce the above copyright
10280933Sdteske\    notice, this list of conditions and the following disclaimer in the
11280933Sdteske\    documentation and/or other materials provided with the distribution.
12280933Sdteske\ 
13280933Sdteske\ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14280933Sdteske\ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15280933Sdteske\ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16280933Sdteske\ ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17280933Sdteske\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18280933Sdteske\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19280933Sdteske\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20280933Sdteske\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21280933Sdteske\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22280933Sdteske\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23280933Sdteske\ SUCH DAMAGE.
24280933Sdteske\ 
25280933Sdteske\ $FreeBSD: releng/10.2/sys/boot/forth/logo-orb.4th 281843 2015-04-22 01:08:40Z dteske $
26280933Sdteske
27280933Sdteske46 logoX ! 7 logoY ! \ Initialize logo placement defaults
28280933Sdteske
29281843Sdteske: logo+ ( x y c-addr/u -- x y' )
30281843Sdteske	2swap 2dup at-xy 2swap \ position the cursor
31281843Sdteske	[char] @ escc! \ replace @ with Esc
32281843Sdteske	type \ print to the screen
33281843Sdteske	1+ \ increase y for next time we're called
34281843Sdteske;
35281843Sdteske
36280933Sdteske: logo ( x y -- ) \ color Orb mascot (15 rows x 30 columns)
37280933Sdteske
38281843Sdteske	s"  @[31m```                        @[31;1m`@[31m" logo+
39281843Sdteske	s" s` `.....---...@[31;1m....--.```   -/@[31m"     logo+
40281843Sdteske	s" +o   .--`         @[31;1m/y:`      +.@[31m"     logo+
41281843Sdteske	s"  yo`:.            @[31;1m:o      `+-@[31m"      logo+
42281843Sdteske	s"   y/               @[31;1m-/`   -o/@[31m"       logo+
43281843Sdteske	s"  .-                  @[31;1m::/sy+:.@[31m"      logo+
44281843Sdteske	s"  /                     @[31;1m`--  /@[31m"      logo+
45281843Sdteske	s" `:                          @[31;1m:`@[31m"     logo+
46281843Sdteske	s" `:                          @[31;1m:`@[31m"     logo+
47281843Sdteske	s"  /                          @[31;1m/@[31m"      logo+
48281843Sdteske	s"  .-                        @[31;1m-.@[31m"      logo+
49281843Sdteske	s"   --                      @[31;1m-.@[31m"       logo+
50281843Sdteske	s"    `:`                  @[31;1m`:`"             logo+
51281843Sdteske	s"      @[31;1m.--             `--."               logo+
52281843Sdteske	s"         .---.....----.@[m"                      logo+
53281843Sdteske
54281843Sdteske	2drop
55280933Sdteske;
56