source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm @ 186

Last change on this file since 186 was 186, checked in by gregli@…, 12 years ago

Initial string compression checkin. All changes are under MODULE_STRINGS_COMPRESSED, and this can still be turned off. With this checkin, the serial and ebios code can both be turned on at the same time and still we remain below the 8K boundary (barely). I still need to chekin StringsCompress.pl after some more code cleanup. The output, in StringsCompressed.asm is checked in here, and should continue be to checkin when Strings.asm is changed, for those who do not have/want to run the Perl script to recreate it.

File size: 10.2 KB
Line 
1;;;======================================================================
2;;;
3;;; This file is generated by StringsCompress.pl from source in Strings.asm
4;;; DO NOT EDIT DIRECTLY - See the maekfile for how to rebuild this file.
5;;; This file only needs to be rebuilt if Strings.asm is changed.
6;;;
7;;;======================================================================
8
9; Project name  :   XTIDE Universal BIOS
10; Description   :   Strings and equates for BIOS messages.
11
12%ifdef MODULE_STRINGS_COMPRESSED_PRECOMPRESS
13%include "Display.inc"
14%endif
15
16; Section containing code
17SECTION .text
18
19; POST drive detection strings
20g_szRomAt:
21 db  034h, 020h, 0c6h, 039h, 01bh
22; source:  25h, 73h, 20h, 40h, 20h, 25h, 78h, 0Ah, 0Dh, 00h
23
24g_szMaster:
25 db  053h, 067h, 079h, 07ah, 06bh, 0b8h
26; source:  4Dh, 61h, 73h, 74h, 65h, 72h, 00h
27
28g_szSlave:
29 db  059h, 072h, 067h, 07ch, 06bh, 000h
30; source:  53h, 6Ch, 61h, 76h, 65h, 20h, 00h
31
32g_szDetect:
33 db  04fh, 04ah, 0cbh, 034h, 020h, 067h, 0fah, 039h, 040h, 000h
34; source:  49h, 44h, 45h, 20h, 25h, 73h, 20h, 61h, 74h, 20h, 25h, 78h, 3Ah, 20h, 00h
35
36
37
38; Boot loader strings
39g_szTryToBoot:
40 db  048h, 075h, 075h, 07ah, 06fh, 074h, 0edh, 06ch, 078h, 075h, 0f3h, 034h, 020h, 039h, 024h, 039h, 01bh
41; source:  42h, 6Fh, 6Fh, 74h, 69h, 6Eh, 67h, 20h, 66h, 72h, 6Fh, 6Dh, 20h, 25h, 73h, 20h, 25h, 78h, AFh, 25h, 78h, 0Ah, 0Dh, 00h
42
43g_szBootSectorNotFound:
44 db  048h, 075h, 075h, 0fah, 079h, 06bh, 069h, 07ah, 075h, 078h, 020h
45; source:  42h, 6Fh, 6Fh, 74h, 20h, 73h, 65h, 63h, 74h, 6Fh, 72h, 20h
46
47g_szNotFound:
48 db  074h, 075h, 0fah, 06ch, 075h, 07bh, 074h, 06ah, 01bh
49; source:  6Eh, 6Fh, 74h, 20h, 66h, 6Fh, 75h, 6Eh, 64h, 0Ah, 0Dh, 00h
50
51g_szReadError:
52 db  04bh, 078h, 078h, 075h, 0f8h, 039h, 025h, 01bh
53; source:  45h, 72h, 72h, 6Fh, 72h, 20h, 25h, 78h, 21h, 0Ah, 0Dh, 00h
54
55
56; Boot menu bottom of screen strings
57g_szFDD:
58 db  04ch, 04ah, 0cah, 020h, 020h, 020h, 000h
59; source:  46h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h
60
61g_szHDD:
62 db  04eh, 04ah, 0cah, 020h, 020h, 020h, 000h
63; source:  48h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h
64
65g_szRomBoot:
66 db  058h, 055h, 0d3h, 048h, 075h, 075h, 0bah
67; source:  52h, 4Fh, 4Dh, 20h, 42h, 6Fh, 6Fh, 74h, 00h
68
69g_szHotkey:
70 db  03dh, 035h, 035h, 03dh, 034h, 03dh, 000h
71; source:  25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h
72
73
74
75; Boot Menu menuitem strings
76g_szDriveNum:
77 db  039h, 000h
78; source:  25h, 78h, 20h, 00h
79
80g_szFDLetter:
81 db  034h, 020h, 015h
82; source:  25h, 73h, 20h, 25h, 63h, 00h
83
84g_szFloppyDrv:
85 db  04ch, 072h, 075h, 076h, 076h, 0ffh, 04ah, 078h, 06fh, 07ch, 0abh
86; source:  46h, 6Ch, 6Fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 00h
87
88g_szforeignHD:
89 db  04ch, 075h, 078h, 06bh, 06fh, 06dh, 0f4h, 04eh, 067h, 078h, 0eah, 04ah, 06fh, 079h, 0b1h
90; source:  46h, 6Fh, 72h, 65h, 69h, 67h, 6Eh, 20h, 48h, 61h, 72h, 64h, 20h, 44h, 69h, 73h, 6Bh, 00h
91
92
93; Boot Menu information strings
94g_szCapacity:
95 db  049h, 067h, 076h, 067h, 069h, 06fh, 07ah, 0ffh, 040h, 000h
96; source:  43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3Ah, 20h, 00h
97
98g_szSizeSingle:
99 db  034h, 037h, 029h, 037h, 020h, 035h, 06fh, 088h
100; source:  25h, 73h, 25h, 75h, 2Eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h
101
102g_szSizeDual:
103 db  034h, 038h, 029h, 037h, 020h, 035h, 06fh, 0c8h, 02ah, 038h, 029h, 037h, 020h, 035h, 06fh, 048h, 01bh
104; source:  25h, 73h, 25h, 35h, 2Dh, 75h, 2Eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 20h, 2Fh, 25h, 35h, 2Dh, 75h, 2Eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 0Ah, 0Dh, 00h
105
106g_szCfgHeader:
107 db  047h, 06ah, 06ah, 078h, 029h, 023h, 048h, 072h, 075h, 069h, 071h, 023h, 048h, 07bh, 079h, 023h, 04fh, 058h, 057h, 023h, 058h, 06bh, 079h, 06bh, 07ah, 01bh
108; source:  41h, 64h, 64h, 72h, 2Eh, B3h, 42h, 6Ch, 6Fh, 63h, 6Bh, B3h, 42h, 75h, 73h, B3h, 49h, 52h, 51h, B3h, 52h, 65h, 73h, 65h, 74h, 0Ah, 0Dh, 00h
109
110g_szCfgFormat:
111 db  034h, 023h, 038h, 023h, 034h, 023h, 020h, 036h, 023h, 01ah
112; source:  25h, 73h, B3h, 25h, 35h, 2Dh, 75h, B3h, 25h, 73h, B3h, 20h, 25h, 32h, 2Dh, 49h, B3h, 25h, 35h, 2Dh, 78h, 00h
113
114
115g_szAddressingModes:                   
116g_szLCHS:
117 db  052h, 028h, 049h, 04eh, 099h
118; source:  4Ch, 2Dh, 43h, 48h, 53h, 00h
119
120g_szPCHS:
121 db  056h, 028h, 049h, 04eh, 099h
122; source:  50h, 2Dh, 43h, 48h, 53h, 00h
123
124g_szLBA28:
125 db  052h, 048h, 047h, 02ch, 011h
126; source:  4Ch, 42h, 41h, 32h, 38h, 00h
127
128g_szLBA48:
129 db  052h, 048h, 047h, 02eh, 011h
130; source:  4Ch, 42h, 41h, 34h, 38h, 00h
131
132g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes)
133;
134; Ensure that addressing modes are correctly spaced in memory
135;
136%if g_szLCHS <> g_szAddressingModes
137%error "g_szAddressingModes Displacement Incorrect 1"
138%endif
139%if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement
140%error "g_szAddressingModes Displacement Incorrect 2"
141%endif
142%if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement       
143%error "g_szAddressingModes Displacement Incorrect 3"
144%endif
145%if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement       
146%error "g_szAddressingModes Displacement Incorrect 4"
147%endif             
148
149g_szFddUnknown:
150 db  034h, 05bh, 074h, 071h, 074h, 075h, 07dh, 0b4h
151; source:  25h, 73h, 55h, 6Eh, 6Bh, 6Eh, 6Fh, 77h, 6Eh, 00h
152
153g_szFddSizeOr:
154 db  034h, 02fh, 021h, 026h, 020h, 075h, 0f8h, 02dh, 022h, 026h, 020h, 04ah, 08ah
155; source:  25h, 73h, 35h, ACh, 22h, 20h, 6Fh, 72h, 20h, 33h, ABh, 22h, 20h, 44h, 44h, 00h
156
157g_szFddSize:
158 db  034h, 034h, 026h, 027h, 020h, 037h, 020h, 071h, 06fh, 088h
159; source:  25h, 73h, 25h, 73h, 22h, 2Ch, 20h, 25h, 75h, 20h, 6Bh, 69h, 42h, 00h
160
161
162g_szFddThreeHalf:
163 db  02dh, 002h
164; source:  33h, ABh, 00h
165
166g_szFddFiveQuarter:
167 db  02fh, 001h
168; source:  35h, ACh, 00h
169
170g_szFddThreeFive_Displacement equ (g_szFddFiveQuarter - g_szFddThreeHalf)
171
172g_szBusTypeValues:     
173g_szBusTypeValues_8Dual:
174 db  04ah, 031h, 000h
175; source:  44h, 38h, 20h, 00h
176
177g_szBusTypeValues_8Reversed:
178 db  05eh, 031h, 000h
179; source:  58h, 38h, 20h, 00h
180
181g_szBusTypeValues_8Single:
182 db  059h, 031h, 000h
183; source:  53h, 38h, 20h, 00h
184
185g_szBusTypeValues_16:
186 db  020h, 02bh, 010h
187; source:  20h, 31h, 36h, 00h
188
189g_szBusTypeValues_32:
190 db  020h, 02dh, 00ch
191; source:  20h, 33h, 32h, 00h
192
193g_szBusTypeValues_Serial:
194 db  059h, 04bh, 098h
195; source:  53h, 45h, 52h, 00h
196
197g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues)
198;
199; Ensure that bus type strings are correctly spaced in memory
200;
201%if g_szBusTypeValues_8Dual <> g_szBusTypeValues
202%error "g_szBusTypeValues Displacement Incorrect 1"
203%endif
204%if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement
205%error "g_szBusTypeValues Displacement Incorrect 2"     
206%endif
207%if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement
208%error "g_szBusTypeValues Displacement Incorrect 3"             
209%endif
210%if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement     
211%error "g_szBusTypeValues Displacement Incorrect 4"             
212%endif
213%if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement
214%error "g_szBusTypeValues Displacement Incorrect 5"             
215%endif
216%if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement
217%error "g_szBusTypeValues Displacement Incorrect 6"             
218%endif             
219
220g_szSelectionTimeout:
221 db  032h, 033h, 03dh, 059h, 06bh, 072h, 06bh, 069h, 07ah, 06fh, 075h, 0f4h, 06fh, 0f4h, 03ch, 020h, 0b9h
222; source:  C8h, B5h, 25h, 41h, 53h, 65h, 6Ch, 65h, 63h, 74h, 69h, 6Fh, 6Eh, 20h, 69h, 6Eh, 20h, 25h, 32h, 2Dh, 75h, 20h, 73h, 00h
223
224
225g_szDashForZero:
226 db  028h, 000h
227; source:  2Dh, 20h, 00h
228
229StringsCompressed_NormalBase equ 58
230
231;; translated usage stats
232;; 179:8
233;; 50:2
234;; 32:33
235;; 51:3
236;; 33:1
237;; 52:1
238;; 34:3
239;; 53:2
240;; 44:1
241;; 54:1
242;; 45:3
243;; 46:4
244;; 56:5
245;; 47:1
246;; 49:1
247;; 200:1
248;; 171:2
249;; 181:1
250;; 172:2
251;; 175:1
252;; total special: 20
253StringsCompressed_TranslatesAndFormats: 
254        db     32  ; 0
255        db     172  ; 1
256        db     171  ; 2
257        db     179  ; 3
258        db     175  ; 4
259        db     33  ; 5
260        db     34  ; 6
261        db     44  ; 7
262        db     45  ; 8
263        db     46  ; 9
264        db     47  ; 10
265        db     49  ; 11
266        db     50  ; 12
267        db     51  ; 13
268        db     52  ; 14
269        db     53  ; 15
270        db     54  ; 16
271        db     56  ; 17
272        db     200  ; 18
273        db     181  ; 19
274
275;; format usage stats
276;; A:4
277;; c:6
278;; s:13
279;; 2-u:1
280;; u:5
281;; 5-u:3
282;; 2-I:1
283;; x:6
284;; 5-x:1
285;; nl:6
286;; total format: 10
287        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s)  ; 20
288        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c)  ; 21
289        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I)  ; 22
290        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u)  ; 23
291        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u)  ; 24
292        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x)  ; 25
293        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x)  ; 26
294        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl)  ; 27
295        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u)  ; 28
296        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A)  ; 29
297
298StringsCompressed_FormatsBegin   equ   20
299
300
301;; alphabet usage stats
302;; 58,::2
303;; 59,;:
304;; 60,<:
305;; 61,=:
306;; 62,>:
307;; 63,?:
308;; 64,@:1
309;; 65,A:3
310;; 66,B:11
311;; 67,C:3
312;; 68,D:10
313;; 69,E:3
314;; 70,F:3
315;; 71,G:
316;; 72,H:4
317;; 73,I:2
318;; 74,J:
319;; 75,K:
320;; 76,L:3
321;; 77,M:2
322;; 78,N:
323;; 79,O:1
324;; 80,P:1
325;; 81,Q:1
326;; 82,R:4
327;; 83,S:6
328;; 84,T:
329;; 85,U:1
330;; 86,V:
331;; 87,W:
332;; 88,X:1
333;; 89,Y:
334;; 90,Z:
335;; 91,[:
336;; 92,\:
337;; 93,]:
338;; 94,^:
339;; 95,_:
340;; 96,`:
341;; 97,a:6
342;; 98,b:
343;; 99,c:4
344;; 100,d:4
345;; 101,e:9
346;; 102,f:2
347;; 103,g:2
348;; 104,h:
349;; 105,i:11
350;; 106,j:
351;; 107,k:4
352;; 108,l:4
353;; 109,m:1
354;; 110,n:9
355;; 111,o:17
356;; 112,p:3
357;; 113,q:
358;; 114,r:11
359;; 115,s:6
360;; 116,t:10
361;; 117,u:2
362;; 118,v:2
363;; 119,w:1
364;; 120,x:
365;; 121,y:2
366;; alphabet used_count: 39
Note: See TracBrowser for help on using the repository browser.