1 | ;
|
---|
2 | ; OS/2 BLDLEVEL Information.
|
---|
3 | ;
|
---|
4 |
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; The version values in here are derived from the AiR-BOOT versions
|
---|
8 | ; as defined in VERSION.INC.
|
---|
9 | ;
|
---|
10 |
|
---|
11 | ;
|
---|
12 | ; For some reason JWasm and Tasm don't accept 'EN' for instance, but need
|
---|
13 | ; it to be split-up. While 'iEN' does work. So all the strings that were not
|
---|
14 | ; accepted are split-up.
|
---|
15 | ;
|
---|
16 | ; Changed langid to be just one letter in build-level, conforming to the
|
---|
17 | ; AiR-BOOT signature.
|
---|
18 | ;
|
---|
19 |
|
---|
20 | ; Vendor
|
---|
21 | BLDLVL_VENDOR EQU 'KIEWITZ'
|
---|
22 | ; Version
|
---|
23 | BLDLVL_MAJOR_VERSION EQU AB_MAJOR_VERSION + '0'
|
---|
24 | BLDLVL_MIDDLE_VERSION EQU AB_MIDDLE_VERSION + '0'
|
---|
25 | BLDLVL_MINOR_VERSION EQU AB_MINOR_VERSION + '0'
|
---|
26 | ; Build date
|
---|
27 | BLDLVL_YEAR EQU (AB_YEAR SHR 12 AND 0Fh)+'0',(AB_YEAR SHR 8 AND 0Fh)+'0',(AB_YEAR SHR 4 AND 0Fh)+'0',(AB_YEAR AND 0Fh)+'0'
|
---|
28 | BLDLVL_MONTH EQU (AB_MONTH SHR 4)+'0',(AB_MONTH AND 0Fh)+'0'
|
---|
29 | BLDLVL_DAY EQU (AB_DAY SHR 4)+'0',(AB_DAY AND 0Fh)+'0'
|
---|
30 | ; Build time
|
---|
31 | BLDLVL_HOURS EQU (AB_HOURS SHR 4)+'0',(AB_HOURS AND 0Fh)+'0'
|
---|
32 | BLDLVL_MINUTES EQU (AB_MINUTES SHR 4)+'0',(AB_MINUTES AND 0Fh)+'0'
|
---|
33 | BLDLVL_SECONDS EQU (AB_SECONDS SHR 4)+'0',(AB_SECONDS AND 0Fh)+'0'
|
---|
34 | ; Build machine
|
---|
35 | ;BLDLVL_MACHINE EQU 'ecs-devbox'
|
---|
36 | BLDLVL_MACHINE EQU '*UNKNOWN*'
|
---|
37 | ; Build language
|
---|
38 | IFDEF WASM
|
---|
39 | ; Wasm can only process the reference to 'lang' in pass 2 because it comes
|
---|
40 | ; from an included file which it has not processed yet at pass 1.
|
---|
41 | IF2
|
---|
42 | BLDLVL_LANGUAGE EQU TXT_LanguageID
|
---|
43 | ENDIF
|
---|
44 | ; The other assemblers process 'lang' correctly in pass 1.
|
---|
45 | ELSE
|
---|
46 | BLDLVL_LANGUAGE EQU TXT_LanguageID
|
---|
47 | ENDIF
|
---|
48 | ; Description
|
---|
49 | BLDLVL_DESCRIPTION EQU 'AiR-BOOT Boot Manager'
|
---|
50 |
|
---|
51 |
|
---|
52 |
|
---|
53 | ;~ bliep struct
|
---|
54 | ;~ db '@#'
|
---|
55 | ;~ db BLDLVL_VENDOR
|
---|
56 | ;~ db ':'
|
---|
57 | ;~ db BLDLVL_MAJOR_VERSION
|
---|
58 | ;~ db '.'
|
---|
59 | ;~ db BLDLVL_MIDDLE_VERSION
|
---|
60 | ;~ db '.'
|
---|
61 | ;~ db BLDLVL_MINOR_VERSION
|
---|
62 | ;~ db '#@##1## '
|
---|
63 | ;~ bld_level_date_start db BLDLVL_YEAR
|
---|
64 | ;~ db '/'
|
---|
65 | ;~ db BLDLVL_MONTH
|
---|
66 | ;~ db '/'
|
---|
67 | ;~ db BLDLVL_DAY
|
---|
68 | ;~ db ' '
|
---|
69 | ;~ db BLDLVL_HOURS
|
---|
70 | ;~ db ':'
|
---|
71 | ;~ db BLDLVL_MINUTES
|
---|
72 | ;~ db ':'
|
---|
73 | ;~ db BLDLVL_SECONDS
|
---|
74 | ;~ bld_level_date_end db ' '
|
---|
75 | ;~ db BLDLVL_MACHINE
|
---|
76 | ;~ db '::'
|
---|
77 | ;~ ; Wasm can only process the reference to 'lang' in pass 2 because it comes
|
---|
78 | ;~ ; from an included file which it has not processed yet at pass 1.
|
---|
79 | ;~ IFDEF WASM
|
---|
80 | ;~ IF2
|
---|
81 | ;~ db BLDLVL_LANGUAGE
|
---|
82 | ;~ ENDIF
|
---|
83 | ;~ ; The other assemblers process 'lang' correctly in pass 1.
|
---|
84 | ;~ ELSE
|
---|
85 | ;~ db BLDLVL_LANGUAGE
|
---|
86 | ;~ ENDIF
|
---|
87 | ;~ db '::'
|
---|
88 | ;~ db BLDLVL_MINOR_VERSION
|
---|
89 | ;~ db '::@@'
|
---|
90 | ;~ db BLDLVL_DESCRIPTION
|
---|
91 | ;~ db 0
|
---|
92 | ;~ bliep ends
|
---|
93 |
|
---|
94 |
|
---|
95 | ;
|
---|
96 | ; This macro inserts the BLDLEVEL string at the place where it is invoked.
|
---|
97 | ;
|
---|
98 | InsertBuildLevel MACRO
|
---|
99 | db '@#'
|
---|
100 | db BLDLVL_VENDOR
|
---|
101 | db ':'
|
---|
102 | db BLDLVL_MAJOR_VERSION
|
---|
103 | db '.'
|
---|
104 | db BLDLVL_MIDDLE_VERSION
|
---|
105 | db '.'
|
---|
106 | db BLDLVL_MINOR_VERSION
|
---|
107 | db '#@##1## '
|
---|
108 | bld_level_date_start:
|
---|
109 | db BLDLVL_YEAR
|
---|
110 | db '/'
|
---|
111 | db BLDLVL_MONTH
|
---|
112 | db '/'
|
---|
113 | db BLDLVL_DAY
|
---|
114 | db ' '
|
---|
115 | db BLDLVL_HOURS
|
---|
116 | db ':'
|
---|
117 | db BLDLVL_MINUTES
|
---|
118 | db ':'
|
---|
119 | db BLDLVL_SECONDS
|
---|
120 | bld_level_date_end:
|
---|
121 | db ' '
|
---|
122 | db BLDLVL_MACHINE
|
---|
123 | db '::'
|
---|
124 | ; Wasm can only process the reference to 'lang' in pass 2 because it comes
|
---|
125 | ; from an included file which it has not processed yet at pass 1.
|
---|
126 | IFDEF WASM
|
---|
127 | IF2
|
---|
128 | db BLDLVL_LANGUAGE
|
---|
129 | ENDIF
|
---|
130 | ; The other assemblers process 'lang' correctly in pass 1.
|
---|
131 | ELSE
|
---|
132 | db BLDLVL_LANGUAGE
|
---|
133 | ENDIF
|
---|
134 | db '::'
|
---|
135 | db BLDLVL_MINOR_VERSION
|
---|
136 | db '::@@'
|
---|
137 | db BLDLVL_DESCRIPTION
|
---|
138 | db 0
|
---|
139 | ENDM
|
---|
140 |
|
---|