1 | ;
|
---|
2 | ; AiR-BOOT (c) Copyright 1998-2008 M. Kiewitz
|
---|
3 | ;
|
---|
4 | ; This file is part of AiR-BOOT
|
---|
5 | ;
|
---|
6 | ; AiR-BOOT is free software: you can redistribute it and/or modify it under
|
---|
7 | ; the terms of the GNU General Public License as published by the Free
|
---|
8 | ; Software Foundation, either version 3 of the License, or (at your option)
|
---|
9 | ; any later version.
|
---|
10 | ;
|
---|
11 | ; AiR-BOOT is distributed in the hope that it will be useful, but WITHOUT ANY
|
---|
12 | ; WARRANTY: without even the implied warranty of MERCHANTABILITY or FITNESS
|
---|
13 | ; FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
---|
14 | ; details.
|
---|
15 | ;
|
---|
16 | ; You should have received a copy of the GNU General Public License along with
|
---|
17 | ; AiR-BOOT. If not, see <http://www.gnu.org/licenses/>.
|
---|
18 | ;
|
---|
19 |
|
---|
20 |
|
---|
21 | ;
|
---|
22 | ; AiR-BOOT Version Information.
|
---|
23 | ;
|
---|
24 | ; First we define the numeric (BCD) AiR-BOOT version information.
|
---|
25 | ; This is used to derive ASCII and other representations.
|
---|
26 | ;
|
---|
27 |
|
---|
28 | IFDEF RELEASE
|
---|
29 |
|
---|
30 | ; AiR-BOOT version conform WarpIN format with implicit 0 as fourth number.
|
---|
31 | ; Note that the config-version is managed manually.
|
---|
32 | AB_MAJOR_VERSION EQU 1
|
---|
33 | AB_MIDDLE_VERSION EQU 1
|
---|
34 | AB_MINOR_VERSION EQU 6
|
---|
35 |
|
---|
36 | ; The Year, Month and Day in BCD so we can easily extract nibbles.
|
---|
37 | AB_YEAR EQU 2018h
|
---|
38 | AB_MONTH EQU ??h
|
---|
39 | AB_DAY EQU ??h
|
---|
40 |
|
---|
41 | ; The Hours, Minutes and Seconds, again in BCD for easy manipulation.
|
---|
42 | AB_HOURS EQU 01h
|
---|
43 | AB_MINUTES EQU 01h
|
---|
44 | AB_SECONDS EQU 04h
|
---|
45 |
|
---|
46 | ELSE
|
---|
47 |
|
---|
48 | ; AiR-BOOT version conform WarpIN format with implicit 0 as fourth number.
|
---|
49 | ; Note that the config-version is managed manually.
|
---|
50 | AB_MAJOR_VERSION EQU 1
|
---|
51 | AB_MIDDLE_VERSION EQU 1
|
---|
52 | AB_MINOR_VERSION EQU 5
|
---|
53 |
|
---|
54 | ; The Year, Month and Day in BCD so we can easily extract nibbles.
|
---|
55 | AB_YEAR EQU 2018h
|
---|
56 | AB_MONTH EQU 07h
|
---|
57 | AB_DAY EQU 21h
|
---|
58 |
|
---|
59 | ; The Hours, Minutes and Seconds, again in BCD for easy manipulation.
|
---|
60 | AB_HOURS EQU 23h
|
---|
61 | AB_MINUTES EQU 59h
|
---|
62 | AB_SECONDS EQU 59h
|
---|
63 |
|
---|
64 | ENDIF
|
---|
65 |
|
---|
66 | ; The AiR-BOOT signature uses big-endian so we shuffle some bits around.
|
---|
67 | AB_SIG_VERSION EQU (((AB_MIDDLE_VERSION SHL 4) OR AB_MINOR_VERSION) SHL 8) OR AB_MAJOR_VERSION
|
---|
68 | AB_SIG_YEAR EQU ((AB_YEAR SHR 8) OR (AB_YEAR SHL 8) AND 0FFFFh)
|
---|
69 | AB_SIG_DATE EQU (AB_MONTH SHL 8) OR AB_DAY
|
---|
70 |
|
---|
71 |
|
---|
72 | ;
|
---|
73 | ; If the EQU below is enabled, the testbuild color-scheme will be used.
|
---|
74 | ;
|
---|
75 | ;~ TESTBUILD EQU
|
---|
76 |
|
---|
77 | ; COLORS basic
|
---|
78 | ; 0 = black
|
---|
79 | ; 1 = blue
|
---|
80 | ; 2 = green
|
---|
81 | ; 3 = cyan
|
---|
82 | ; 4 = red
|
---|
83 | ; 5 = magenta
|
---|
84 | ; 6 = brown
|
---|
85 | ; 7 = white
|
---|
86 | ; 8 = grey
|
---|
87 |
|
---|
88 | ; COLORS all (fg)
|
---|
89 | ; 00h black
|
---|
90 | ; 10h blue
|
---|
91 | ; 20h green (also nice)
|
---|
92 | ; 30h cyan (also nice)
|
---|
93 | ; 40h red
|
---|
94 | ; 50h magenta
|
---|
95 | ; 60h brown (nice)
|
---|
96 | ; 70h white
|
---|
97 | ; 80h grey
|
---|
98 | ; 90h light blue (nice)
|
---|
99 | ; a0h bright green
|
---|
100 | ; b0h bright cyan
|
---|
101 | ; c0h bright red
|
---|
102 | ; d0h bright magenta
|
---|
103 | ; e0h bright yellow
|
---|
104 | ; f0h bright white
|
---|