Deleted Added
full compact
version.4th (254952) version.4th (280924)
1\ Copyright (c) 2006-2013 Devin Teske <dteske@FreeBSD.org>
1\ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org>
2\ All rights reserved.
3\
4\ Redistribution and use in source and binary forms, with or without
5\ modification, are permitted provided that the following conditions
6\ are met:
7\ 1. Redistributions of source code must retain the above copyright
8\ notice, this list of conditions and the following disclaimer.
9\ 2. Redistributions in binary form must reproduce the above copyright

--- 7 unchanged lines hidden (view full) ---

17\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23\ SUCH DAMAGE.
24\
2\ All rights reserved.
3\
4\ Redistribution and use in source and binary forms, with or without
5\ modification, are permitted provided that the following conditions
6\ are met:
7\ 1. Redistributions of source code must retain the above copyright
8\ notice, this list of conditions and the following disclaimer.
9\ 2. Redistributions in binary form must reproduce the above copyright

--- 7 unchanged lines hidden (view full) ---

17\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23\ SUCH DAMAGE.
24\
25\ $FreeBSD: head/sys/boot/forth/version.4th 254952 2013-08-27 06:09:28Z dteske $
25\ $FreeBSD: head/sys/boot/forth/version.4th 280924 2015-03-31 22:32:35Z dteske $
26
27marker task-version.4th
28
29variable versionX
30variable versionY
31
32\ Default $loader_version value if not overridden or using tribute screen
33: str_loader_version ( -- C-ADDR/U|-1 ) -1 ;

--- 10 unchanged lines hidden (view full) ---

44 then drop
45 s" loader_version_y" getenv dup -1 <> if
46 ?number drop versionY ! -1
47 then drop
48
49 \ Default version if none was set
50 s" loader_version" getenv dup -1 = if
51 drop
26
27marker task-version.4th
28
29variable versionX
30variable versionY
31
32\ Default $loader_version value if not overridden or using tribute screen
33: str_loader_version ( -- C-ADDR/U|-1 ) -1 ;

--- 10 unchanged lines hidden (view full) ---

44 then drop
45 s" loader_version_y" getenv dup -1 <> if
46 ?number drop versionY ! -1
47 then drop
48
49 \ Default version if none was set
50 s" loader_version" getenv dup -1 = if
51 drop
52 \ Default version if no logo is requested
52 \ Use above default if no logo is requested
53 s" loader_logo" getenv dup -1 = if
54 drop str_loader_version
55 else
53 s" loader_logo" getenv dup -1 = if
54 drop str_loader_version
55 else
56 \ For tributes, do nothing (defer to beastie.4th)
56 2dup s" tribute" compare-insensitive 0= if
57 2drop
58 s" tribute-logo" sfind if
59 drop exit \ see beastie tribute-text
60 else
61 drop str_loader_version
62 then
63 else 2dup s" tributebw" compare-insensitive 0= if

--- 24 unchanged lines hidden ---
57 2dup s" tribute" compare-insensitive 0= if
58 2drop
59 s" tribute-logo" sfind if
60 drop exit \ see beastie tribute-text
61 else
62 drop str_loader_version
63 then
64 else 2dup s" tributebw" compare-insensitive 0= if

--- 24 unchanged lines hidden ---