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

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

Added version string to initial title banner, for cases where there is not a boot menu (just hotkeys, or no hotkeys). Also ifdef'd out some unused code.

File size: 28.2 KB
RevLine 
[186]1;;;======================================================================
2;;;
3;;; This file is generated by StringsCompress.pl from source in Strings.asm
[252]4;;; DO NOT EDIT DIRECTLY - See the makefile for how to rebuild this file.
[186]5;;; This file only needs to be rebuilt if Strings.asm is changed.
6;;;
7;;;======================================================================
8
[334]9%ifdef STRINGSCOMPRESSED_STRINGS
10
[186]11; Project name : XTIDE Universal BIOS
12; Description : Strings and equates for BIOS messages.
13
[376]14;
15; XTIDE Universal BIOS and Associated Tools
16; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team.
17;
18; This program is free software; you can redistribute it and/or modify
19; it under the terms of the GNU General Public License as published by
20; the Free Software Foundation; either version 2 of the License, or
21; (at your option) any later version.
22;
23; This program is distributed in the hope that it will be useful,
24; but WITHOUT ANY WARRANTY; without even the implied warranty of
25; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26; GNU General Public License for more details.
27; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
[392]28;
[376]29
[186]30%ifdef MODULE_STRINGS_COMPRESSED_PRECOMPRESS
31%include "Display.inc"
32%endif
33
34; Section containing code
35SECTION .text
36
[415]37; POST drive detection strings
38g_szDashForZero: ; db "- ",NULL ; Required by Display Library
39 ; db 2dh, 20h, 00h ; uncompressed
40 db 28h, 00h ; compressed
41
[489]42g_szRomAt: ; db LF,CR
43 ; db 0ah, 0dh ; uncompressed
44 db 39h ; compressed
[415]45
[489]46 ; db "%s @ %x",LF,CR ; -=XTIDE ... =- @ Segment
47 ; db 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh ; uncompressed
48 db 3dh, 20h, 0c6h, 37h, 39h ; compressed
[415]49
[489]50 ; db "%s",LF,CR ; version string
51 ; db 25h, 73h, 0ah, 0dh ; uncompressed
52 db 3dh, 39h ; compressed
[415]53
[489]54 ; db "Released under GNU GPL v2",LF,CR
55 ; db 52h, 65h, 6ch, 65h, 61h, 73h, 65h, 64h, 20h, 75h, 6eh, 64h, 65h, 72h, 20h, 47h, 4eh, 55h, 20h, 47h, 50h, 4ch, 20h, 76h, 32h, 0ah, 0dh ; uncompressed
56 db 58h, 6bh, 72h, 6bh, 67h, 79h, 6bh, 0eah, 7bh, 74h, 6ah, 6bh, 0f8h, 4dh, 54h, 0dbh, 4dh, 56h, 0d2h, 7ch, 2ch, 39h ; compressed
[415]57
[489]58 ; db LF,CR,NULL
59 ; db 0ah, 0dh, 00h ; uncompressed
60 db 19h ; compressed
61
62%ifdef MODULE_BOOT_MENU
63g_szBootMenuTitle: ; db "%s%c",LF,CR ; -=XTIDE ... =- and null (eaten)
64 ; db 25h, 73h, 25h, 63h, 0ah, 0dh ; uncompressed
65 db 3dh, 3ch, 39h ; compressed
66
67 ; db "%s",NULL ; version string
68 ; db 25h, 73h, 00h ; uncompressed
69 db 1dh ; compressed
70
71%endif
72g_szDriveName: ; db "%z",LF,CR,NULL
73 ; db 25h, 7ah, 0ah, 0dh, 00h ; uncompressed
74 db 3eh, 19h ; compressed
75
76
[334]77; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP
78; To support an optimization in that code, these strings must start on the same 256 byte page,
79; which is checked at assembly time below.
80;
81g_szDetectStart:
82g_szDetectMaster: ; db "Master",NULL
83 ; db 4dh, 61h, 73h, 74h, 65h, 72h, 00h ; uncompressed
84 db 53h, 67h, 79h, 7ah, 6bh, 0b8h ; compressed
85
86g_szDetectSlave: ; db "Slave ",NULL
87 ; db 53h, 6ch, 61h, 76h, 65h, 20h, 00h ; uncompressed
88 db 59h, 72h, 67h, 7ch, 6bh, 00h ; compressed
89
90g_szDetectOuter: ; db "%s at %s: ",NULL
91 ; db 25h, 73h, 20h, 61h, 74h, 20h, 25h, 73h, 3ah, 20h, 00h ; uncompressed
[488]92 db 3dh, 20h, 67h, 0fah, 3dh, 40h, 00h ; compressed
[334]93
[415]94%ifdef MODULE_SERIAL
[334]95g_szDetectCOM: ; db "COM%c%s",NULL
96 ; db 43h, 4fh, 4dh, 25h, 63h, 25h, 73h, 00h ; uncompressed
[488]97 db 49h, 55h, 53h, 3ch, 1dh ; compressed
[334]98
99g_szDetectCOMAuto: ; db " Detect",NULL
100 ; db 20h, 44h, 65h, 74h, 65h, 63h, 74h, 00h ; uncompressed
101 db 20h, 4ah, 6bh, 7ah, 6bh, 69h, 0bah ; compressed
102
103g_szDetectCOMSmall: ; db "/%u%u00",NULL ; IDE Master at COM1/9600:
104 ; db 2fh, 25h, 75h, 25h, 75h, 30h, 30h, 00h ; uncompressed
[488]105 db 2ah, 35h, 35h, 33h, 13h ; compressed
[334]106
107g_szDetectCOMLarge: ; db "/%u.%uK",NULL ; IDE Master at COM1/19.2K:
108 ; db 2fh, 25h, 75h, 2eh, 25h, 75h, 4bh, 00h ; uncompressed
[488]109 db 2ah, 35h, 29h, 35h, 91h ; compressed
[334]110
[415]111%endif
[334]112g_szDetectEnd:
113g_szDetectPort: ; db "%x",NULL ; IDE Master at 1F0h:
114 ; db 25h, 78h, 00h ; uncompressed
[488]115 db 17h ; compressed
[334]116
117
118%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
119%if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00)
120%error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP. Please move this block up or down within strings.asm"
121%endif
122%endif
123
[415]124
125; Boot loader strings
126g_szTryToBoot: ; db "Booting %c",ANGLE_QUOTE_RIGHT,"%c",LF,CR,NULL
127 ; db 42h, 6fh, 6fh, 74h, 69h, 6eh, 67h, 20h, 25h, 63h, 0afh, 25h, 63h, 0ah, 0dh, 00h ; uncompressed
[488]128 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 3ch, 24h, 3ch, 19h ; compressed
[415]129
130g_szBootSectorNotFound: ; db "Boot sector "
131 ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed
132 db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed
133
134g_szNotFound: ; db "not found",LF,CR,NULL
135 ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed
[488]136 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 19h ; compressed
[415]137
138g_szReadError: ; db "Error %x!",LF,CR,NULL
139 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed
[488]140 db 4bh, 78h, 78h, 75h, 0f8h, 37h, 25h, 19h ; compressed
[415]141
142
143
144%ifdef MODULE_HOTKEYS
145
146; Hotkey Bar strings
147g_szFDD: ; db "FDD [%c]",NULL ; "FDD [A]"
148 ; db 46h, 44h, 44h, 20h, 5bh, 25h, 63h, 5dh, 00h ; uncompressed
[488]149 db 4ch, 4ah, 0cah, 61h, 3ch, 0a3h ; compressed
[415]150
151g_szHDD: ; db "HDD [%c]",NULL ; "HDD [C]"
152 ; db 48h, 44h, 44h, 20h, 5bh, 25h, 63h, 5dh, 00h ; uncompressed
[488]153 db 4eh, 4ah, 0cah, 61h, 3ch, 0a3h ; compressed
[415]154
155g_szBootMenu: ; db "%sMnu",NULL ; "BootMnu"
156 ; db 25h, 73h, 4dh, 6eh, 75h, 00h ; uncompressed
[488]157 db 3dh, 53h, 74h, 0bbh ; compressed
[415]158
159g_szRomBoot: ; db "Rom%s",NULL ; "RomBoot"
160 ; db 52h, 6fh, 6dh, 25h, 73h, 00h ; uncompressed
[488]161 db 58h, 75h, 73h, 1dh ; compressed
[415]162
163g_szBoot: ; db "Boot",NULL
164 ; db 42h, 6fh, 6fh, 74h, 00h ; uncompressed
165 db 48h, 75h, 75h, 0bah ; compressed
166
167g_szHotkey: ; db "%A%c%c%A%s%A ",NULL ; "C»HDD [A] ", "F2BootMnu " or "F8RomBoot "
168 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed
[488]169 db 3bh, 3ch, 3ch, 3bh, 3dh, 3bh, 00h ; compressed
[415]170
171
172
173%ifdef MODULE_BOOT_MENU
174
[334]175; Boot Menu Floppy Disk strings
176;
177; The following strings are used by BootMenuPrint_RefreshInformation
178; To support optimizations in that code, these strings must start on the same 256 byte page,
179; which is checked at assembly time below.
180;
181g_szFddStart:
182g_szFddUnknown: ; db "Unknown",NULL
183 ; db 55h, 6eh, 6bh, 6eh, 6fh, 77h, 6eh, 00h ; uncompressed
184 db 5bh, 74h, 71h, 74h, 75h, 7dh, 0b4h ; compressed
185
186g_szFddSizeOr: ; db "5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL
187 ; db 35h, 0ach, 22h, 20h, 6fh, 72h, 20h, 33h, 0abh, 22h, 20h, 44h, 44h, 00h ; uncompressed
[488]188 db 2eh, 21h, 26h, 20h, 75h, 0f8h, 2dh, 22h, 26h, 20h, 4ah, 8ah ; compressed
[334]189
190g_szFddSize: ; db "%s",QUOTATION_MARK,", %u kiB",NULL ; 3½", 1440 kiB
191 ; db 25h, 73h, 22h, 2ch, 20h, 25h, 75h, 20h, 6bh, 69h, 42h, 00h ; uncompressed
[488]192 db 3dh, 26h, 27h, 20h, 35h, 20h, 71h, 6fh, 88h ; compressed
[334]193
194g_szFddThreeHalf: ; db "3",ONE_HALF,NULL
195 ; db 33h, 0abh, 00h ; uncompressed
196 db 2dh, 02h ; compressed
197
198g_szFddEnd:
199g_szFddFiveQuarter: ; db "5",ONE_QUARTER,NULL
200 ; db 35h, 0ach, 00h ; uncompressed
[488]201 db 2eh, 01h ; compressed
[334]202
203
204%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
205%if ((g_szFddStart-$$) & 0xff00) <> ((g_szFddEnd-$$) & 0xff00)
206%error "g_szFdd* strings must start on the same 256 byte page, required by the BootMenuPrint_RefreshInformation routines for floppy drives. Please move this block up or down within strings.asm"
207%endif
208%endif
209
[322]210
211g_szAddressingModes:
[421]212g_szNORMAL: ; db "NORMAL",NULL
213 ; db 4eh, 4fh, 52h, 4dh, 41h, 4ch, 00h ; uncompressed
214 db 54h, 55h, 58h, 53h, 47h, 92h ; compressed
[322]215
[421]216g_szLARGE: ; db "LARGE ",NULL
217 ; db 4ch, 41h, 52h, 47h, 45h, 20h, 00h ; uncompressed
218 db 52h, 47h, 58h, 4dh, 4bh, 00h ; compressed
[322]219
[421]220g_szLBA: ; db "LBA ",NULL
221 ; db 4ch, 42h, 41h, 20h, 20h, 20h, 00h ; uncompressed
222 db 52h, 48h, 0c7h, 20h, 00h ; compressed
[322]223
[421]224g_szAddressingModes_Displacement equ (g_szLARGE - g_szAddressingModes)
[322]225;
226; Ensure that addressing modes are correctly spaced in memory
227;
228%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
[421]229%if g_szNORMAL <> g_szAddressingModes
[322]230%error "g_szAddressingModes Displacement Incorrect 1"
231%endif
[421]232%if g_szLARGE <> g_szNORMAL + g_szAddressingModes_Displacement
[322]233%error "g_szAddressingModes Displacement Incorrect 2"
234%endif
[421]235%if g_szLBA <> g_szLARGE + g_szAddressingModes_Displacement
[322]236%error "g_szAddressingModes Displacement Incorrect 3"
237%endif
238%endif
239
[473]240g_szDeviceTypeValues:
241g_szDeviceTypeValues_16bit: ; db " 16",NULL
242 ; db 20h, 31h, 36h, 00h ; uncompressed
[488]243 db 20h, 2bh, 0fh ; compressed
[186]244
[473]245g_szDeviceTypeValues_32bit: ; db " 32",NULL
246 ; db 20h, 33h, 32h, 00h ; uncompressed
247 db 20h, 2dh, 0ch ; compressed
[417]248
[486]249g_szDeviceTypeValues_8bit: ; db " 8",NULL
250 ; db 20h, 20h, 38h, 00h ; uncompressed
[488]251 db 20h, 20h, 10h ; compressed
[486]252
[473]253g_szDeviceTypeValues_XTIDEr1: ; db "D8 ",NULL ; Dual 8-bit
254 ; db 44h, 38h, 20h, 00h ; uncompressed
[488]255 db 4ah, 30h, 00h ; compressed
[186]256
[473]257g_szDeviceTypeValues_XTIDEr2: ; db "X8 ",NULL ; A0<->A3 swapped 8-bit
258 ; db 58h, 38h, 20h, 00h ; uncompressed
[488]259 db 5eh, 30h, 00h ; compressed
[186]260
[473]261g_szDeviceTypeValues_XTCFpio8: ; db "T8 ",NULL ; True 8-bit
262 ; db 54h, 38h, 20h, 00h ; uncompressed
[488]263 db 5ah, 30h, 00h ; compressed
[186]264
[473]265g_szDeviceTypeValues_XTCFdma: ; db "8MA",NULL ; DMA 8-bit
266 ; db 38h, 4dh, 41h, 00h ; uncompressed
[488]267 db 30h, 53h, 87h ; compressed
[186]268
[473]269g_szDeviceTypeValues_XTCFmem: ; db "M8 ",NULL ; Memory Mapped 8-bit
270 ; db 4dh, 38h, 20h, 00h ; uncompressed
[488]271 db 53h, 30h, 00h ; compressed
[186]272
[473]273g_szDeviceTypeValues_JrIde: ; db "M8 ",NULL
274 ; db 4dh, 38h, 20h, 00h ; uncompressed
[488]275 db 53h, 30h, 00h ; compressed
[285]276
[473]277g_szDeviceTypeValues_Serial: ; db "SER",NULL
278 ; db 53h, 45h, 52h, 00h ; uncompressed
279 db 59h, 4bh, 98h ; compressed
280
281
282g_szDeviceTypeValues_Displacement equ (g_szDeviceTypeValues_32bit - g_szDeviceTypeValues)
[186]283;
[473]284; Ensure that device type strings are correctly spaced in memory
[186]285;
[252]286%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
[473]287%if g_szDeviceTypeValues_16bit <> g_szDeviceTypeValues
288%error "g_szDeviceTypeValues Displacement Incorrect 1"
[186]289%endif
[486]290%if g_szDeviceTypeValues_32bit <> g_szDeviceTypeValues_16bit + g_szDeviceTypeValues_Displacement
[473]291%error "g_szDeviceTypeValues Displacement Incorrect 2"
[186]292%endif
[486]293%if g_szDeviceTypeValues_8bit <> g_szDeviceTypeValues_32bit + g_szDeviceTypeValues_Displacement
294%error "g_szDeviceTypeValues Displacement Incorrect 2"
295%endif
296%if g_szDeviceTypeValues_XTIDEr1 <> g_szDeviceTypeValues_8bit + g_szDeviceTypeValues_Displacement
[473]297%error "g_szDeviceTypeValues Displacement Incorrect 3"
[186]298%endif
[473]299%if g_szDeviceTypeValues_XTIDEr2 <> g_szDeviceTypeValues_XTIDEr1 + g_szDeviceTypeValues_Displacement
300%error "g_szDeviceTypeValues Displacement Incorrect 4"
[186]301%endif
[473]302%if g_szDeviceTypeValues_XTCFpio8 <> g_szDeviceTypeValues_XTIDEr2 + g_szDeviceTypeValues_Displacement
303%error "g_szDeviceTypeValues Displacement Incorrect 5"
[186]304%endif
[473]305%if g_szDeviceTypeValues_XTCFdma <> g_szDeviceTypeValues_XTCFpio8 + g_szDeviceTypeValues_Displacement
306%error "g_szDeviceTypeValues Displacement Incorrect 6"
[194]307%endif
[473]308%if g_szDeviceTypeValues_XTCFmem <> g_szDeviceTypeValues_XTCFdma + g_szDeviceTypeValues_Displacement
309%error "g_szDeviceTypeValues Displacement Incorrect 7"
[194]310%endif
[473]311%if g_szDeviceTypeValues_JrIde <> g_szDeviceTypeValues_XTCFmem + g_szDeviceTypeValues_Displacement
312%error "g_szDeviceTypeValues Displacement Incorrect 8"
[285]313%endif
[473]314%if g_szDeviceTypeValues_Serial <> g_szDeviceTypeValues_JrIde + g_szDeviceTypeValues_Displacement
315%error "g_szDeviceTypeValues Displacement Incorrect 9"
316%endif
317%endif
[186]318
[332]319g_szSelectionTimeout: ; db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL
320 ; 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
[488]321 db 31h, 32h, 3bh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ah, 20h, 0b9h ; compressed
[332]322
323
324
325
[277]326; Boot Menu information strings
327g_szCapacity: ; db "Capacity : %s",NULL
328 ; db 43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3ah, 20h, 25h, 73h, 00h ; uncompressed
[488]329 db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 0c0h, 1dh ; compressed
[277]330
331g_szCapacityNum: ; db "%5-u.%u %ciB",NULL
332 ; db 25h, 35h, 2dh, 75h, 2eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h ; uncompressed
[488]333 db 36h, 29h, 35h, 20h, 3ch, 6fh, 88h ; compressed
[277]334
335g_szInformation: ; db "%s",LF,CR
336 ; db 25h, 73h, 0ah, 0dh ; uncompressed
[488]337 db 3dh, 39h ; compressed
[277]338
[421]339 ; db "Addr. ",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR
340 ; db 41h, 64h, 64h, 72h, 2eh, 20h, 0b3h, 42h, 6ch, 6fh, 63h, 6bh, 0b3h, 42h, 75h, 73h, 0b3h, 49h, 52h, 51h, 0b3h, 52h, 65h, 73h, 65h, 74h, 0ah, 0dh ; uncompressed
[488]341 db 47h, 6ah, 6ah, 78h, 29h, 20h, 23h, 48h, 72h, 75h, 69h, 71h, 23h, 48h, 7bh, 79h, 23h, 4fh, 58h, 57h, 23h, 58h, 6bh, 79h, 6bh, 7ah, 39h ; compressed
[277]342
343 ; db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL
344 ; db 25h, 73h, 0b3h, 25h, 35h, 2dh, 75h, 0b3h, 25h, 73h, 0b3h, 20h, 25h, 32h, 2dh, 49h, 0b3h, 25h, 35h, 2dh, 78h, 00h ; uncompressed
[488]345 db 3dh, 23h, 36h, 23h, 3dh, 23h, 20h, 34h, 23h, 18h ; compressed
[277]346
347
[415]348
[334]349; Boot Menu menuitem strings
350;
351; The following strings are used by BootMenuPrint_* routines.
352; To support optimizations in that code, these strings must start on the same 256 byte page,
[332]353; which is checked at assembly time below.
354;
[334]355g_szBootMenuPrintStart:
356g_szDriveNum: ; db "%x %s",NULL
357 ; db 25h, 78h, 20h, 25h, 73h, 00h ; uncompressed
[488]358 db 37h, 20h, 1dh ; compressed
[332]359
[334]360g_szDriveNumBOOTNFO: ; db "%x %z",NULL
361 ; db 25h, 78h, 20h, 25h, 7ah, 00h ; uncompressed
[488]362 db 37h, 20h, 1eh ; compressed
[332]363
[334]364g_szFloppyDrv: ; db "Floppy Drive %c",NULL
365 ; db 46h, 6ch, 6fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 20h, 25h, 63h, 00h ; uncompressed
[488]366 db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0ebh, 1ch ; compressed
[332]367
[334]368g_szBootMenuPrintEnd:
369g_szForeignHD: ; db "Foreign Hard Disk",NULL
370 ; db 46h, 6fh, 72h, 65h, 69h, 67h, 6eh, 20h, 48h, 61h, 72h, 64h, 20h, 44h, 69h, 73h, 6bh, 00h ; uncompressed
371 db 4ch, 75h, 78h, 6bh, 6fh, 6dh, 0f4h, 4eh, 67h, 78h, 0eah, 4ah, 6fh, 79h, 0b1h ; compressed
[332]372
373
374%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
[334]375%if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00)
376%error "g_szBootMenuPrint* strings must start on the same 256 byte page, required by the BootMenuPrint_* routines. Please move this block up or down within strings.asm"
[332]377%endif
378%endif
379
[415]380%endif ; MODULE_BOOT_MENU
381%endif ; MODULE_HOTKEYS
382
383
[197]384;------------------------------------------------------------------------------------------
[252]385;
[197]386; Tables for StringsCompress.pl
387;
[488]388; Items can be added and removed from this table as needed, with the following rules:
389; * Formats follow the special characters. But other than that, order makes no difference.
390; * Some of the formats require "even" and "odd" numbering. Even tells the code that
391; it is a "number-" format, otherwise it doesn't interpret a number first. The easiest
392; way to maintain this is to move one of the "n/a" items to/from the front of the format
393; list to maintain the even/odd.
394; * Values do not need to remain consistent across versions. This table is only used
395; internally to this file.
396; * There can only be 32 of these (0-31).
397; * Keeping the list short is good - this translates to a table in the compressed version.
398; An error will be reported if a character or format is no longer being used by any
399; strings above.
400; * Please keep items sequential for ease of further editing.
401;
[197]402;$translate{ord(' ')} = 0; [StringsCompress Processed]
403;$translate{172} = 1; # ONE_QUARTER [StringsCompress Processed]
404;$translate{171} = 2; # ONE_HALF [StringsCompress Processed]
405;$translate{179} = 3; # SINGLE_VERTICAL [StringsCompress Processed]
406;$translate{175} = 4; # ANGLE_QUOTE_RIGHT [StringsCompress Processed]
407;$translate{ord('!')} = 5; [StringsCompress Processed]
408;$translate{ord('"')} = 6; [StringsCompress Processed]
409;$translate{ord(',')} = 7; [StringsCompress Processed]
410;$translate{ord('-')} = 8; [StringsCompress Processed]
411;$translate{ord('.')} = 9; [StringsCompress Processed]
412;$translate{ord('/')} = 10; [StringsCompress Processed]
[252]413;$translate{ord('1')} = 11; [StringsCompress Processed]
[197]414;$translate{ord('2')} = 12; [StringsCompress Processed]
415;$translate{ord('3')} = 13; [StringsCompress Processed]
[488]416;$translate{ord('5')} = 14; [StringsCompress Processed]
417;$translate{ord('6')} = 15; [StringsCompress Processed]
418;$translate{ord('8')} = 16; [StringsCompress Processed]
419;$translate{200} = 17; # DOUBLE_BOTTOM_LEFT_CORNER [StringsCompress Processed]
420;$translate{181} = 18; # DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL [StringsCompress Processed]
421;$translate{ord('0')} = 19; [StringsCompress Processed]
[197]422;
423; Formats begin immediately after the last Translated character (they are in the same table)
424;
[488]425;$format_begin = 20; [StringsCompress Processed]
[197]426;
[488]427;$format{"2-I"} = 20; # must be even [StringsCompress Processed]
428;$format{"u"} = 21; # must be odd [StringsCompress Processed]
429;$format{"5-u"} = 22; # must be even [StringsCompress Processed]
430;$format{"x"} = 23; # must be odd [StringsCompress Processed]
431;$format{"5-x"} = 24; # must be even [StringsCompress Processed]
432;$format{"nl"} = 25; # n/a [StringsCompress Processed]
433;$format{"2-u"} = 26; # must be even [StringsCompress Processed]
434;$format{"A"} = 27; # n/a [StringsCompress Processed]
435;$format{"c"} = 28; # n/a [StringsCompress Processed]
436;$format{"s"} = 29; # n/a, normal string from DS [StringsCompress Processed]
437;$format{"z"} = 30; # n/a, boot string from BDA [StringsCompress Processed]
[197]438;
439; NOTE: The last $format cannot exceed 31 (stored in a 5-bit quantity).
440;
441; Starting point for the "normal" range, typically around 0x40 to cover upper and lower case
[252]442; letters. If lower case 'z' is not used, 0x3a can be a good choice as it adds ':' to the
[197]443; front end.
444;
445;$normal_base = 0x3a; [StringsCompress Processed]
446;
447; End of StringsCompress.pl information
448;
449;;; end of input stream
450
[334]451%endif ; STRINGSCOMPRESSED_STRINGS
452
453%ifdef STRINGSCOMPRESSED_TABLES
454
[189]455StringsCompressed_NormalBase equ 58
456
[488]457StringsCompressed_FormatsBegin equ 20
[189]458
[186]459StringsCompressed_TranslatesAndFormats:
460 db 32 ; 0
461 db 172 ; 1
462 db 171 ; 2
463 db 179 ; 3
464 db 175 ; 4
465 db 33 ; 5
466 db 34 ; 6
467 db 44 ; 7
468 db 45 ; 8
469 db 46 ; 9
470 db 47 ; 10
471 db 49 ; 11
472 db 50 ; 12
473 db 51 ; 13
[488]474 db 53 ; 14
475 db 54 ; 15
476 db 56 ; 16
477 db 200 ; 17
478 db 181 ; 18
479 db 48 ; 19
480 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I) ; 20
481 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u) ; 21
482 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u) ; 22
483 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x) ; 23
484 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x) ; 24
485 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl) ; 25
486 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u) ; 26
487 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A) ; 27
488 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c) ; 28
489 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s) ; 29
490 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_z) ; 30
[186]491
[194]492%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
[189]493%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_I || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I > 255
494%error "DisplayFormatCompressed_Format_2_I is out of range of DisplayFormatCompressed_BaseFormatOffset"
495%endif
496%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u > 255
497%error "DisplayFormatCompressed_Format_u is out of range of DisplayFormatCompressed_BaseFormatOffset"
498%endif
499%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u > 255
500%error "DisplayFormatCompressed_Format_5_u is out of range of DisplayFormatCompressed_BaseFormatOffset"
501%endif
502%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x > 255
503%error "DisplayFormatCompressed_Format_x is out of range of DisplayFormatCompressed_BaseFormatOffset"
504%endif
505%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x > 255
506%error "DisplayFormatCompressed_Format_5_x is out of range of DisplayFormatCompressed_BaseFormatOffset"
507%endif
508%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_nl || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl > 255
509%error "DisplayFormatCompressed_Format_nl is out of range of DisplayFormatCompressed_BaseFormatOffset"
510%endif
511%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u > 255
512%error "DisplayFormatCompressed_Format_2_u is out of range of DisplayFormatCompressed_BaseFormatOffset"
513%endif
514%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_A || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A > 255
515%error "DisplayFormatCompressed_Format_A is out of range of DisplayFormatCompressed_BaseFormatOffset"
516%endif
[488]517%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_c || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c > 255
518%error "DisplayFormatCompressed_Format_c is out of range of DisplayFormatCompressed_BaseFormatOffset"
519%endif
[233]520%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_s || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s > 255
521%error "DisplayFormatCompressed_Format_s is out of range of DisplayFormatCompressed_BaseFormatOffset"
[194]522%endif
[241]523%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_z || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_z > 255
524%error "DisplayFormatCompressed_Format_z is out of range of DisplayFormatCompressed_BaseFormatOffset"
[233]525%endif
[241]526%endif
[189]527
528;; translated usage stats
[241]529;; 33:1
[486]530;; 32:29
[241]531;; 181:1
532;; 53:2
533;; 48:2
534;; 200:1
535;; 46:3
536;; 179:8
537;; 44:1
[421]538;; 50:2
[241]539;; 51:3
[252]540;; 47:2
[241]541;; 172:2
542;; 34:3
543;; 49:1
[486]544;; 56:7
[421]545;; 45:1
[241]546;; 175:1
547;; 171:2
548;; 54:1
[488]549;; total translated: 20
[189]550
[186]551;; format usage stats
552;; A:4
553;; 2-u:1
[241]554;; 5-u:2
[392]555;; x:5
[489]556;; s:16
[186]557;; 5-x:1
[489]558;; nl:12
[197]559;; 2-I:1
[488]560;; u:6
[489]561;; c:10
562;; z:2
[241]563;; total format: 11
[186]564
565;; alphabet usage stats
[334]566;; 58,::2
[186]567;; 59,;:
568;; 60,<:
569;; 61,=:
570;; 62,>:
571;; 63,?:
572;; 64,@:1
[473]573;; 65,A:5
[421]574;; 66,B:8
575;; 67,C:2
[334]576;; 68,D:10
[421]577;; 69,E:3
[473]578;; 70,F:3
[421]579;; 71,G:3
580;; 72,H:2
[334]581;; 73,I:1
[186]582;; 74,J:
[233]583;; 75,K:1
[334]584;; 76,L:4
[473]585;; 77,M:7
[421]586;; 78,N:2
587;; 79,O:2
588;; 80,P:1
[186]589;; 81,Q:1
[421]590;; 82,R:7
591;; 83,S:3
[473]592;; 84,T:1
[334]593;; 85,U:2
[186]594;; 86,V:
595;; 87,W:
596;; 88,X:1
597;; 89,Y:
598;; 90,Z:
[392]599;; 91,[:2
[186]600;; 92,\:
[392]601;; 93,]:2
[186]602;; 94,^:
603;; 95,_:
604;; 96,`:
[262]605;; 97,a:7
[186]606;; 98,b:
[262]607;; 99,c:5
[334]608;; 100,d:6
609;; 101,e:15
[392]610;; 102,f:1
[186]611;; 103,g:2
612;; 104,h:
[334]613;; 105,i:9
[186]614;; 106,j:
615;; 107,k:4
[262]616;; 108,l:5
[186]617;; 109,m:1
[392]618;; 110,n:11
[334]619;; 111,o:17
[186]620;; 112,p:3
621;; 113,q:
[392]622;; 114,r:11
[334]623;; 115,s:7
[262]624;; 116,t:12
[392]625;; 117,u:4
[334]626;; 118,v:3
[186]627;; 119,w:1
628;; 120,x:
629;; 121,y:2
[473]630;; alphabet used count: 45
[334]631%endif ; STRINGSCOMPRESSED_TABLES
632
Note: See TracBrowser for help on using the repository browser.