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

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

Added printing of COM port and baud rate, when set explicitly by idecfg. Although it eats some bytes, I think it is worth it, since the BIOS will be looking for a server on a particular com port and baud rate, and it could be hard to troubleshoot a mismatch without this information. However, if we become space crunched, this change can be backed out.

File size: 18.4 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: ; db "%s @ %x",LF,CR,NULL
21 ; db 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh, 00h ; uncompressed
22 db 34h, 20h, 0c6h, 39h, 1bh ; compressed
23
24
25g_szMaster: ; db "IDE Master at ",NULL
26 ; db 49h, 44h, 45h, 20h, 4dh, 61h, 73h, 74h, 65h, 72h, 20h, 61h, 74h, 20h, 00h ; uncompressed
27 db 4fh, 4ah, 0cbh, 53h, 67h, 79h, 7ah, 6bh, 0f8h, 67h, 7ah, 00h ; compressed
28
29g_szSlave: ; db "IDE Slave at ",NULL
30 ; db 49h, 44h, 45h, 20h, 53h, 6ch, 61h, 76h, 65h, 20h, 20h, 61h, 74h, 20h, 00h ; uncompressed
31 db 4fh, 4ah, 0cbh, 59h, 72h, 67h, 7ch, 0ebh, 20h, 67h, 7ah, 00h ; compressed
32
33g_szDetect: ; db "%s%x: ",NULL ; IDE Master at 1F0h:
34 ; db 25h, 73h, 25h, 78h, 3ah, 20h, 00h ; uncompressed
35 db 34h, 39h, 40h, 00h ; compressed
36
37g_szDetectCOM: ; db "%sCOM%c/%u%c: ",NULL ; IDE Master at COM1/115K:
38 ; db 25h, 73h, 43h, 4fh, 4dh, 25h, 63h, 2fh, 25h, 75h, 25h, 63h, 3ah, 20h, 00h ; uncompressed
39 db 34h, 49h, 55h, 53h, 35h, 2ah, 37h, 35h, 40h, 00h ; compressed
40
41g_szDetectCOMAuto: ; db "%sCOM Detect: ",NULL ; IDE Master at COM Detect:
42 ; db 25h, 73h, 43h, 4fh, 4dh, 20h, 44h, 65h, 74h, 65h, 63h, 74h, 3ah, 20h, 00h ; uncompressed
43 db 34h, 49h, 55h, 0d3h, 4ah, 6bh, 7ah, 6bh, 69h, 7ah, 40h, 00h ; compressed
44
45
46; Boot loader strings
47g_szTryToBoot: ; db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL
48 ; db 42h, 6fh, 6fh, 74h, 69h, 6eh, 67h, 20h, 66h, 72h, 6fh, 6dh, 20h, 25h, 73h, 20h, 25h, 78h, 0afh, 25h, 78h, 0ah, 0dh, 00h ; uncompressed
49 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 6ch, 78h, 75h, 0f3h, 34h, 20h, 39h, 24h, 39h, 1bh ; compressed
50
51g_szBootSectorNotFound: ; db "Boot sector "
52 ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed
53 db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed
54
55g_szNotFound: ; db "not found",LF,CR,NULL
56 ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed
57 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 1bh ; compressed
58
59g_szReadError: ; db "Error %x!",LF,CR,NULL
60 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed
61 db 4bh, 78h, 78h, 75h, 0f8h, 39h, 25h, 1bh ; compressed
62
63
64; Boot menu bottom of screen strings
65g_szFDD: ; db "FDD ",NULL
66 ; db 46h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed
67 db 4ch, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed
68
69g_szHDD: ; db "HDD ",NULL
70 ; db 48h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed
71 db 4eh, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed
72
73g_szRomBoot: ; db "ROM Boot",NULL
74 ; db 52h, 4fh, 4dh, 20h, 42h, 6fh, 6fh, 74h, 00h ; uncompressed
75 db 58h, 55h, 0d3h, 48h, 75h, 75h, 0bah ; compressed
76
77g_szHotkey: ; db "%A%c%c%A%s%A ",NULL
78 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed
79 db 3dh, 35h, 35h, 3dh, 34h, 3dh, 00h ; compressed
80
81
82
83; Boot Menu menuitem strings
84g_szDriveNum: ; db "%x ",NULL
85 ; db 25h, 78h, 20h, 00h ; uncompressed
86 db 39h, 00h ; compressed
87
88g_szFDLetter: ; db "%s %c",NULL
89 ; db 25h, 73h, 20h, 25h, 63h, 00h ; uncompressed
90 db 34h, 20h, 15h ; compressed
91
92g_szFloppyDrv: ; db "Floppy Drive",NULL
93 ; db 46h, 6ch, 6fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 00h ; uncompressed
94 db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0abh ; compressed
95
96g_szforeignHD: ; db "Foreign Hard Disk",NULL
97 ; db 46h, 6fh, 72h, 65h, 69h, 67h, 6eh, 20h, 48h, 61h, 72h, 64h, 20h, 44h, 69h, 73h, 6bh, 00h ; uncompressed
98 db 4ch, 75h, 78h, 6bh, 6fh, 6dh, 0f4h, 4eh, 67h, 78h, 0eah, 4ah, 6fh, 79h, 0b1h ; compressed
99
100
101; Boot Menu information strings
102g_szCapacity: ; db "Capacity : ",NULL
103 ; db 43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3ah, 20h, 00h ; uncompressed
104 db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 40h, 00h ; compressed
105
106g_szSizeSingle: ; db "%s%u.%u %ciB",NULL
107 ; db 25h, 73h, 25h, 75h, 2eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h ; uncompressed
108 db 34h, 37h, 29h, 37h, 20h, 35h, 6fh, 88h ; compressed
109
110g_szSizeDual: ; db "%s%5-u.%u %ciB /%5-u.%u %ciB",LF,CR,NULL
111 ; db 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 ; uncompressed
112 db 34h, 38h, 29h, 37h, 20h, 35h, 6fh, 0c8h, 2ah, 38h, 29h, 37h, 20h, 35h, 6fh, 48h, 1bh ; compressed
113
114g_szCfgHeader: ; db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus", SINGLE_VERTICAL,"IRQ", SINGLE_VERTICAL,"Reset",LF,CR,NULL
115 ; db 41h, 64h, 64h, 72h, 2eh, 0b3h, 42h, 6ch, 6fh, 63h, 6bh, 0b3h, 42h, 75h, 73h, 0b3h, 49h, 52h, 51h, 0b3h, 52h, 65h, 73h, 65h, 74h, 0ah, 0dh, 00h ; uncompressed
116 db 47h, 6ah, 6ah, 78h, 29h, 23h, 48h, 72h, 75h, 69h, 71h, 23h, 48h, 7bh, 79h, 23h, 4fh, 58h, 57h, 23h, 58h, 6bh, 79h, 6bh, 7ah, 1bh ; compressed
117
118g_szCfgFormat: ; db "%s" ,SINGLE_VERTICAL,"%5-u", SINGLE_VERTICAL,"%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x", NULL
119 ; db 25h, 73h, 0b3h, 25h, 35h, 2dh, 75h, 0b3h, 25h, 73h, 0b3h, 20h, 25h, 32h, 2dh, 49h, 0b3h, 25h, 35h, 2dh, 78h, 00h ; uncompressed
120 db 34h, 23h, 38h, 23h, 34h, 23h, 20h, 36h, 23h, 1ah ; compressed
121
122
123g_szAddressingModes:
124g_szLCHS: ; db "L-CHS",NULL
125 ; db 4ch, 2dh, 43h, 48h, 53h, 00h ; uncompressed
126 db 52h, 28h, 49h, 4eh, 99h ; compressed
127
128g_szPCHS: ; db "P-CHS",NULL
129 ; db 50h, 2dh, 43h, 48h, 53h, 00h ; uncompressed
130 db 56h, 28h, 49h, 4eh, 99h ; compressed
131
132g_szLBA28: ; db "LBA28",NULL
133 ; db 4ch, 42h, 41h, 32h, 38h, 00h ; uncompressed
134 db 52h, 48h, 47h, 2ch, 11h ; compressed
135
136g_szLBA48: ; db "LBA48",NULL
137 ; db 4ch, 42h, 41h, 34h, 38h, 00h ; uncompressed
138 db 52h, 48h, 47h, 2eh, 11h ; compressed
139
140g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes)
141;
142; Ensure that addressing modes are correctly spaced in memory
143;
144%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
145%if g_szLCHS <> g_szAddressingModes
146%error "g_szAddressingModes Displacement Incorrect 1"
147%endif
148%if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement
149%error "g_szAddressingModes Displacement Incorrect 2"
150%endif
151%if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement
152%error "g_szAddressingModes Displacement Incorrect 3"
153%endif
154%if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement
155%error "g_szAddressingModes Displacement Incorrect 4"
156%endif
157%endif
158
159g_szFddUnknown: ; db "%sUnknown",NULL
160 ; db 25h, 73h, 55h, 6eh, 6bh, 6eh, 6fh, 77h, 6eh, 00h ; uncompressed
161 db 34h, 5bh, 74h, 71h, 74h, 75h, 7dh, 0b4h ; compressed
162
163g_szFddSizeOr: ; db "%s5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL
164 ; db 25h, 73h, 35h, 0ach, 22h, 20h, 6fh, 72h, 20h, 33h, 0abh, 22h, 20h, 44h, 44h, 00h ; uncompressed
165 db 34h, 2fh, 21h, 26h, 20h, 75h, 0f8h, 2dh, 22h, 26h, 20h, 4ah, 8ah ; compressed
166
167g_szFddSize: ; db "%s%s",QUOTATION_MARK,", %u kiB",NULL ; 3½", 1440 kiB
168 ; db 25h, 73h, 25h, 73h, 22h, 2ch, 20h, 25h, 75h, 20h, 6bh, 69h, 42h, 00h ; uncompressed
169 db 34h, 34h, 26h, 27h, 20h, 37h, 20h, 71h, 6fh, 88h ; compressed
170
171
172g_szFddThreeHalf: ; db "3",ONE_HALF,NULL
173 ; db 33h, 0abh, 00h ; uncompressed
174 db 2dh, 02h ; compressed
175
176g_szFddFiveQuarter: ; db "5",ONE_QUARTER,NULL
177 ; db 35h, 0ach, 00h ; uncompressed
178 db 2fh, 01h ; compressed
179
180g_szFddThreeFive_Displacement equ (g_szFddFiveQuarter - g_szFddThreeHalf)
181
182g_szBusTypeValues:
183g_szBusTypeValues_8Dual: ; db "D8 ",NULL
184 ; db 44h, 38h, 20h, 00h ; uncompressed
185 db 4ah, 31h, 00h ; compressed
186
187g_szBusTypeValues_8Reversed: ; db "X8 ",NULL
188 ; db 58h, 38h, 20h, 00h ; uncompressed
189 db 5eh, 31h, 00h ; compressed
190
191g_szBusTypeValues_8Single: ; db "S8 ",NULL
192 ; db 53h, 38h, 20h, 00h ; uncompressed
193 db 59h, 31h, 00h ; compressed
194
195g_szBusTypeValues_16: ; db " 16",NULL
196 ; db 20h, 31h, 36h, 00h ; uncompressed
197 db 20h, 2bh, 10h ; compressed
198
199g_szBusTypeValues_32: ; db " 32",NULL
200 ; db 20h, 33h, 32h, 00h ; uncompressed
201 db 20h, 2dh, 0ch ; compressed
202
203g_szBusTypeValues_Serial: ; db "SER",NULL
204 ; db 53h, 45h, 52h, 00h ; uncompressed
205 db 59h, 4bh, 98h ; compressed
206
207g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues)
208;
209; Ensure that bus type strings are correctly spaced in memory
210;
211%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
212%if g_szBusTypeValues_8Dual <> g_szBusTypeValues
213%error "g_szBusTypeValues Displacement Incorrect 1"
214%endif
215%if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement
216%error "g_szBusTypeValues Displacement Incorrect 2"
217%endif
218%if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement
219%error "g_szBusTypeValues Displacement Incorrect 3"
220%endif
221%if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement
222%error "g_szBusTypeValues Displacement Incorrect 4"
223%endif
224%if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement
225%error "g_szBusTypeValues Displacement Incorrect 5"
226%endif
227%if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement
228%error "g_szBusTypeValues Displacement Incorrect 6"
229%endif
230%endif
231
232g_szSelectionTimeout: ; db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL
233 ; db 0c8h, 0b5h, 25h, 41h, 53h, 65h, 6ch, 65h, 63h, 74h, 69h, 6fh, 6eh, 20h, 69h, 6eh, 20h, 25h, 32h, 2dh, 75h, 20h, 73h, 00h ; uncompressed
234 db 32h, 33h, 3dh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ch, 20h, 0b9h ; compressed
235
236
237g_szDashForZero: ; db "- ",NULL
238 ; db 2dh, 20h, 00h ; uncompressed
239 db 28h, 00h ; compressed
240
241;;; end of strings.asm
242
243StringsCompressed_NormalBase equ 58
244
245StringsCompressed_FormatsBegin equ 20
246
247StringsCompressed_TranslatesAndFormats:
248 db 32 ; 0
249 db 172 ; 1
250 db 171 ; 2
251 db 179 ; 3
252 db 175 ; 4
253 db 33 ; 5
254 db 34 ; 6
255 db 44 ; 7
256 db 45 ; 8
257 db 46 ; 9
258 db 47 ; 10
259 db 49 ; 11
260 db 50 ; 12
261 db 51 ; 13
262 db 52 ; 14
263 db 53 ; 15
264 db 54 ; 16
265 db 56 ; 17
266 db 200 ; 18
267 db 181 ; 19
268 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s) ; 20
269 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c) ; 21
270 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I) ; 22
271 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u) ; 23
272 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u) ; 24
273 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x) ; 25
274 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x) ; 26
275 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl) ; 27
276 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u) ; 28
277 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A) ; 29
278
279%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
280%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_s || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s > 255
281%error "DisplayFormatCompressed_Format_s is out of range of DisplayFormatCompressed_BaseFormatOffset"
282%endif
283%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_c || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c > 255
284%error "DisplayFormatCompressed_Format_c is out of range of DisplayFormatCompressed_BaseFormatOffset"
285%endif
286%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_I || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I > 255
287%error "DisplayFormatCompressed_Format_2_I is out of range of DisplayFormatCompressed_BaseFormatOffset"
288%endif
289%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u > 255
290%error "DisplayFormatCompressed_Format_u is out of range of DisplayFormatCompressed_BaseFormatOffset"
291%endif
292%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u > 255
293%error "DisplayFormatCompressed_Format_5_u is out of range of DisplayFormatCompressed_BaseFormatOffset"
294%endif
295%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x > 255
296%error "DisplayFormatCompressed_Format_x is out of range of DisplayFormatCompressed_BaseFormatOffset"
297%endif
298%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x > 255
299%error "DisplayFormatCompressed_Format_5_x is out of range of DisplayFormatCompressed_BaseFormatOffset"
300%endif
301%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_nl || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl > 255
302%error "DisplayFormatCompressed_Format_nl is out of range of DisplayFormatCompressed_BaseFormatOffset"
303%endif
304%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u > 255
305%error "DisplayFormatCompressed_Format_2_u is out of range of DisplayFormatCompressed_BaseFormatOffset"
306%endif
307%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_A || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A > 255
308%error "DisplayFormatCompressed_Format_A is out of range of DisplayFormatCompressed_BaseFormatOffset"
309%endif
310%endif
311
312;; translated usage stats
313;; total translated:
314
315;; format usage stats
316;; A:4
317;; c:8
318;; s:15
319;; 2-u:1
320;; u:6
321;; 5-u:3
322;; 2-I:1
323;; x:6
324;; 5-x:1
325;; nl:6
326;; total format: 10
327
328;; alphabet usage stats
329;; 58,::4
330;; 59,;:
331;; 60,<:
332;; 61,=:
333;; 62,>:
334;; 63,?:
335;; 64,@:1
336;; 65,A:3
337;; 66,B:11
338;; 67,C:5
339;; 68,D:12
340;; 69,E:4
341;; 70,F:3
342;; 71,G:
343;; 72,H:4
344;; 73,I:3
345;; 74,J:
346;; 75,K:
347;; 76,L:3
348;; 77,M:4
349;; 78,N:
350;; 79,O:3
351;; 80,P:1
352;; 81,Q:1
353;; 82,R:4
354;; 83,S:6
355;; 84,T:
356;; 85,U:1
357;; 86,V:
358;; 87,W:
359;; 88,X:1
360;; 89,Y:
361;; 90,Z:
362;; 91,[:
363;; 92,\:
364;; 93,]:
365;; 94,^:
366;; 95,_:
367;; 96,`:
368;; 97,a:7
369;; 98,b:
370;; 99,c:5
371;; 100,d:4
372;; 101,e:11
373;; 102,f:2
374;; 103,g:2
375;; 104,h:
376;; 105,i:11
377;; 106,j:
378;; 107,k:4
379;; 108,l:4
380;; 109,m:1
381;; 110,n:9
382;; 111,o:17
383;; 112,p:3
384;; 113,q:
385;; 114,r:11
386;; 115,s:6
387;; 116,t:13
388;; 117,u:2
389;; 118,v:2
390;; 119,w:1
391;; 120,x:
392;; 121,y:2
393;; alphabet used count: 39
Note: See TracBrowser for help on using the repository browser.