[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 | |
---|
| 14 | %ifdef MODULE_STRINGS_COMPRESSED_PRECOMPRESS |
---|
| 15 | %include "Display.inc" |
---|
| 16 | %endif |
---|
| 17 | |
---|
| 18 | ; Section containing code |
---|
| 19 | SECTION .text |
---|
| 20 | |
---|
[334] | 21 | ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP |
---|
| 22 | ; To support an optimization in that code, these strings must start on the same 256 byte page, |
---|
| 23 | ; which is checked at assembly time below. |
---|
| 24 | ; |
---|
| 25 | g_szDetectStart: |
---|
| 26 | g_szDetectMaster: ; db "Master",NULL |
---|
| 27 | ; db 4dh, 61h, 73h, 74h, 65h, 72h, 00h ; uncompressed |
---|
| 28 | db 53h, 67h, 79h, 7ah, 6bh, 0b8h ; compressed |
---|
| 29 | |
---|
| 30 | g_szDetectSlave: ; db "Slave ",NULL |
---|
| 31 | ; db 53h, 6ch, 61h, 76h, 65h, 20h, 00h ; uncompressed |
---|
| 32 | db 59h, 72h, 67h, 7ch, 6bh, 00h ; compressed |
---|
| 33 | |
---|
| 34 | g_szDetectOuter: ; db "%s at %s: ",NULL |
---|
| 35 | ; db 25h, 73h, 20h, 61h, 74h, 20h, 25h, 73h, 3ah, 20h, 00h ; uncompressed |
---|
| 36 | db 3eh, 20h, 67h, 0fah, 3eh, 40h, 00h ; compressed |
---|
| 37 | |
---|
| 38 | %ifdef MODULE_SERIAL ;%%; is stripped off after string compression, %ifdef won't compress properly |
---|
| 39 | g_szDetectCOM: ; db "COM%c%s",NULL |
---|
| 40 | ; db 43h, 4fh, 4dh, 25h, 63h, 25h, 73h, 00h ; uncompressed |
---|
| 41 | db 49h, 55h, 53h, 35h, 1eh ; compressed |
---|
| 42 | |
---|
| 43 | g_szDetectCOMAuto: ; db " Detect",NULL |
---|
| 44 | ; db 20h, 44h, 65h, 74h, 65h, 63h, 74h, 00h ; uncompressed |
---|
| 45 | db 20h, 4ah, 6bh, 7ah, 6bh, 69h, 0bah ; compressed |
---|
| 46 | |
---|
| 47 | g_szDetectCOMSmall: ; db "/%u%u00",NULL ; IDE Master at COM1/9600: |
---|
| 48 | ; db 2fh, 25h, 75h, 25h, 75h, 30h, 30h, 00h ; uncompressed |
---|
| 49 | db 2ah, 37h, 37h, 34h, 14h ; compressed |
---|
| 50 | |
---|
| 51 | g_szDetectCOMLarge: ; db "/%u.%uK",NULL ; IDE Master at COM1/19.2K: |
---|
| 52 | ; db 2fh, 25h, 75h, 2eh, 25h, 75h, 4bh, 00h ; uncompressed |
---|
| 53 | db 2ah, 37h, 29h, 37h, 91h ; compressed |
---|
| 54 | |
---|
| 55 | %endif ;%%; is stripped off after string compression, %ifdef won't compress properly |
---|
| 56 | g_szDetectEnd: |
---|
| 57 | g_szDetectPort: ; db "%x",NULL ; IDE Master at 1F0h: |
---|
| 58 | ; db 25h, 78h, 00h ; uncompressed |
---|
| 59 | db 19h ; compressed |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS |
---|
| 63 | %if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00) |
---|
| 64 | %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" |
---|
| 65 | %endif |
---|
| 66 | %endif |
---|
| 67 | |
---|
| 68 | ; Boot Menu Floppy Disk strings |
---|
| 69 | ; |
---|
| 70 | ; The following strings are used by BootMenuPrint_RefreshInformation |
---|
| 71 | ; To support optimizations in that code, these strings must start on the same 256 byte page, |
---|
| 72 | ; which is checked at assembly time below. |
---|
| 73 | ; |
---|
| 74 | g_szFddStart: |
---|
| 75 | g_szFddUnknown: ; db "Unknown",NULL |
---|
| 76 | ; db 55h, 6eh, 6bh, 6eh, 6fh, 77h, 6eh, 00h ; uncompressed |
---|
| 77 | db 5bh, 74h, 71h, 74h, 75h, 7dh, 0b4h ; compressed |
---|
| 78 | |
---|
| 79 | g_szFddSizeOr: ; db "5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL |
---|
| 80 | ; db 35h, 0ach, 22h, 20h, 6fh, 72h, 20h, 33h, 0abh, 22h, 20h, 44h, 44h, 00h ; uncompressed |
---|
| 81 | db 2fh, 21h, 26h, 20h, 75h, 0f8h, 2dh, 22h, 26h, 20h, 4ah, 8ah ; compressed |
---|
| 82 | |
---|
| 83 | g_szFddSize: ; db "%s",QUOTATION_MARK,", %u kiB",NULL ; 3½", 1440 kiB |
---|
| 84 | ; db 25h, 73h, 22h, 2ch, 20h, 25h, 75h, 20h, 6bh, 69h, 42h, 00h ; uncompressed |
---|
| 85 | db 3eh, 26h, 27h, 20h, 37h, 20h, 71h, 6fh, 88h ; compressed |
---|
| 86 | |
---|
| 87 | g_szFddThreeHalf: ; db "3",ONE_HALF,NULL |
---|
| 88 | ; db 33h, 0abh, 00h ; uncompressed |
---|
| 89 | db 2dh, 02h ; compressed |
---|
| 90 | |
---|
| 91 | g_szFddEnd: |
---|
| 92 | g_szFddFiveQuarter: ; db "5",ONE_QUARTER,NULL |
---|
| 93 | ; db 35h, 0ach, 00h ; uncompressed |
---|
| 94 | db 2fh, 01h ; compressed |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS |
---|
| 98 | %if ((g_szFddStart-$$) & 0xff00) <> ((g_szFddEnd-$$) & 0xff00) |
---|
| 99 | %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" |
---|
| 100 | %endif |
---|
| 101 | %endif |
---|
| 102 | |
---|
[322] | 103 | ; POST drive detection strings |
---|
[334] | 104 | g_szRomAt: ; db "%s @ %x",LF,CR |
---|
| 105 | ; db 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh ; uncompressed |
---|
| 106 | db 3eh, 20h, 0c6h, 39h, 3bh ; compressed |
---|
[322] | 107 | |
---|
[334] | 108 | ; db "Released under GNU GPL v2",LF,CR,LF,CR,NULL |
---|
| 109 | ; 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, 0ah, 0dh, 00h ; uncompressed |
---|
| 110 | db 58h, 6bh, 72h, 6bh, 67h, 79h, 6bh, 0eah, 7bh, 74h, 6ah, 6bh, 0f8h, 4dh, 54h, 0dbh, 4dh, 56h, 0d2h, 7ch, 2ch, 3bh, 1bh ; compressed |
---|
[322] | 111 | |
---|
[334] | 112 | |
---|
[322] | 113 | ; Boot loader strings |
---|
| 114 | g_szTryToBoot: ; db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL |
---|
| 115 | ; 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 |
---|
| 116 | db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 6ch, 78h, 75h, 0f3h, 3eh, 20h, 39h, 24h, 39h, 1bh ; compressed |
---|
| 117 | |
---|
| 118 | g_szBootSectorNotFound: ; db "Boot sector " |
---|
| 119 | ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed |
---|
| 120 | db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed |
---|
| 121 | |
---|
| 122 | g_szNotFound: ; db "not found",LF,CR,NULL |
---|
| 123 | ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed |
---|
| 124 | db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 1bh ; compressed |
---|
| 125 | |
---|
| 126 | g_szReadError: ; db "Error %x!",LF,CR,NULL |
---|
| 127 | ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed |
---|
| 128 | db 4bh, 78h, 78h, 75h, 0f8h, 39h, 25h, 1bh ; compressed |
---|
| 129 | |
---|
| 130 | |
---|
| 131 | g_szAddressingModes: |
---|
| 132 | g_szLCHS: ; db "L-CHS",NULL |
---|
| 133 | ; db 4ch, 2dh, 43h, 48h, 53h, 00h ; uncompressed |
---|
| 134 | db 52h, 28h, 49h, 4eh, 99h ; compressed |
---|
| 135 | |
---|
| 136 | g_szPCHS: ; db "P-CHS",NULL |
---|
| 137 | ; db 50h, 2dh, 43h, 48h, 53h, 00h ; uncompressed |
---|
| 138 | db 56h, 28h, 49h, 4eh, 99h ; compressed |
---|
| 139 | |
---|
| 140 | g_szLBA28: ; db "LBA28",NULL |
---|
| 141 | ; db 4ch, 42h, 41h, 32h, 38h, 00h ; uncompressed |
---|
| 142 | db 52h, 48h, 47h, 2ch, 11h ; compressed |
---|
| 143 | |
---|
| 144 | g_szLBA48: ; db "LBA48",NULL |
---|
| 145 | ; db 4ch, 42h, 41h, 34h, 38h, 00h ; uncompressed |
---|
| 146 | db 52h, 48h, 47h, 2eh, 11h ; compressed |
---|
| 147 | |
---|
| 148 | g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes) |
---|
| 149 | ; |
---|
| 150 | ; Ensure that addressing modes are correctly spaced in memory |
---|
| 151 | ; |
---|
| 152 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS |
---|
| 153 | %if g_szLCHS <> g_szAddressingModes |
---|
| 154 | %error "g_szAddressingModes Displacement Incorrect 1" |
---|
| 155 | %endif |
---|
| 156 | %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement |
---|
| 157 | %error "g_szAddressingModes Displacement Incorrect 2" |
---|
| 158 | %endif |
---|
| 159 | %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement |
---|
| 160 | %error "g_szAddressingModes Displacement Incorrect 3" |
---|
| 161 | %endif |
---|
| 162 | %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement |
---|
| 163 | %error "g_szAddressingModes Displacement Incorrect 4" |
---|
| 164 | %endif |
---|
| 165 | %endif |
---|
| 166 | |
---|
[252] | 167 | g_szBusTypeValues: |
---|
[189] | 168 | g_szBusTypeValues_8Dual: ; db "D8 ",NULL |
---|
| 169 | ; db 44h, 38h, 20h, 00h ; uncompressed |
---|
| 170 | db 4ah, 31h, 00h ; compressed |
---|
[186] | 171 | |
---|
[189] | 172 | g_szBusTypeValues_8Reversed: ; db "X8 ",NULL |
---|
| 173 | ; db 58h, 38h, 20h, 00h ; uncompressed |
---|
| 174 | db 5eh, 31h, 00h ; compressed |
---|
[186] | 175 | |
---|
[189] | 176 | g_szBusTypeValues_8Single: ; db "S8 ",NULL |
---|
| 177 | ; db 53h, 38h, 20h, 00h ; uncompressed |
---|
| 178 | db 59h, 31h, 00h ; compressed |
---|
[186] | 179 | |
---|
[189] | 180 | g_szBusTypeValues_16: ; db " 16",NULL |
---|
| 181 | ; db 20h, 31h, 36h, 00h ; uncompressed |
---|
| 182 | db 20h, 2bh, 10h ; compressed |
---|
[186] | 183 | |
---|
[189] | 184 | g_szBusTypeValues_32: ; db " 32",NULL |
---|
| 185 | ; db 20h, 33h, 32h, 00h ; uncompressed |
---|
| 186 | db 20h, 2dh, 0ch ; compressed |
---|
[186] | 187 | |
---|
[189] | 188 | g_szBusTypeValues_Serial: ; db "SER",NULL |
---|
| 189 | ; db 53h, 45h, 52h, 00h ; uncompressed |
---|
| 190 | db 59h, 4bh, 98h ; compressed |
---|
[186] | 191 | |
---|
[285] | 192 | g_szBusTypeValues_8MemMapped: ; db "M8 ",NULL |
---|
| 193 | ; db 4dh, 38h, 20h, 00h ; uncompressed |
---|
| 194 | db 53h, 31h, 00h ; compressed |
---|
| 195 | |
---|
[186] | 196 | g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues) |
---|
| 197 | ; |
---|
| 198 | ; Ensure that bus type strings are correctly spaced in memory |
---|
| 199 | ; |
---|
[252] | 200 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS |
---|
[186] | 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 |
---|
[252] | 205 | %error "g_szBusTypeValues Displacement Incorrect 2" |
---|
[186] | 206 | %endif |
---|
| 207 | %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement |
---|
[252] | 208 | %error "g_szBusTypeValues Displacement Incorrect 3" |
---|
[186] | 209 | %endif |
---|
[252] | 210 | %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement |
---|
| 211 | %error "g_szBusTypeValues Displacement Incorrect 4" |
---|
[186] | 212 | %endif |
---|
| 213 | %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement |
---|
[252] | 214 | %error "g_szBusTypeValues Displacement Incorrect 5" |
---|
[186] | 215 | %endif |
---|
| 216 | %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement |
---|
[252] | 217 | %error "g_szBusTypeValues Displacement Incorrect 6" |
---|
[194] | 218 | %endif |
---|
[285] | 219 | %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement |
---|
| 220 | %error "g_szBusTypeValues Displacement Incorrect 7" |
---|
[194] | 221 | %endif |
---|
[285] | 222 | %endif |
---|
[186] | 223 | |
---|
[332] | 224 | g_szSelectionTimeout: ; db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL |
---|
| 225 | ; 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 |
---|
| 226 | db 32h, 33h, 3dh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ch, 20h, 0b9h ; compressed |
---|
| 227 | |
---|
| 228 | |
---|
| 229 | g_szDashForZero: ; db "- ",NULL |
---|
| 230 | ; db 2dh, 20h, 00h ; uncompressed |
---|
| 231 | db 28h, 00h ; compressed |
---|
| 232 | |
---|
| 233 | |
---|
[277] | 234 | ; Boot menu bottom of screen strings |
---|
| 235 | g_szFDD: ; db "FDD ",NULL |
---|
| 236 | ; db 46h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed |
---|
| 237 | db 4ch, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed |
---|
| 238 | |
---|
| 239 | g_szHDD: ; db "HDD ",NULL |
---|
| 240 | ; db 48h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed |
---|
| 241 | db 4eh, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed |
---|
| 242 | |
---|
| 243 | g_szRomBoot: ; db "ROM Boot",NULL |
---|
| 244 | ; db 52h, 4fh, 4dh, 20h, 42h, 6fh, 6fh, 74h, 00h ; uncompressed |
---|
| 245 | db 58h, 55h, 0d3h, 48h, 75h, 75h, 0bah ; compressed |
---|
| 246 | |
---|
| 247 | g_szHotkey: ; db "%A%c%c%A%s%A ",NULL |
---|
| 248 | ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed |
---|
| 249 | db 3dh, 35h, 35h, 3dh, 3eh, 3dh, 00h ; compressed |
---|
| 250 | |
---|
| 251 | |
---|
| 252 | ; Boot Menu information strings |
---|
| 253 | g_szCapacity: ; db "Capacity : %s",NULL |
---|
| 254 | ; db 43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3ah, 20h, 25h, 73h, 00h ; uncompressed |
---|
| 255 | db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 0c0h, 1eh ; compressed |
---|
| 256 | |
---|
| 257 | g_szCapacityNum: ; db "%5-u.%u %ciB",NULL |
---|
| 258 | ; db 25h, 35h, 2dh, 75h, 2eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h ; uncompressed |
---|
| 259 | db 38h, 29h, 37h, 20h, 35h, 6fh, 88h ; compressed |
---|
| 260 | |
---|
| 261 | g_szInformation: ; db "%s",LF,CR |
---|
| 262 | ; db 25h, 73h, 0ah, 0dh ; uncompressed |
---|
| 263 | db 3eh, 3bh ; compressed |
---|
| 264 | |
---|
| 265 | ; db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR |
---|
| 266 | ; 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 ; uncompressed |
---|
| 267 | 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, 3bh ; compressed |
---|
| 268 | |
---|
| 269 | ; db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL |
---|
| 270 | ; db 25h, 73h, 0b3h, 25h, 35h, 2dh, 75h, 0b3h, 25h, 73h, 0b3h, 20h, 25h, 32h, 2dh, 49h, 0b3h, 25h, 35h, 2dh, 78h, 00h ; uncompressed |
---|
| 271 | db 3eh, 23h, 38h, 23h, 3eh, 23h, 20h, 36h, 23h, 1ah ; compressed |
---|
| 272 | |
---|
| 273 | |
---|
[334] | 274 | ; Boot Menu menuitem strings |
---|
| 275 | ; |
---|
| 276 | ; The following strings are used by BootMenuPrint_* routines. |
---|
| 277 | ; To support optimizations in that code, these strings must start on the same 256 byte page, |
---|
[332] | 278 | ; which is checked at assembly time below. |
---|
| 279 | ; |
---|
[334] | 280 | g_szBootMenuPrintStart: |
---|
| 281 | g_szDriveNum: ; db "%x %s",NULL |
---|
| 282 | ; db 25h, 78h, 20h, 25h, 73h, 00h ; uncompressed |
---|
| 283 | db 39h, 20h, 1eh ; compressed |
---|
[332] | 284 | |
---|
[334] | 285 | g_szDriveNumBOOTNFO: ; db "%x %z",NULL |
---|
| 286 | ; db 25h, 78h, 20h, 25h, 7ah, 00h ; uncompressed |
---|
| 287 | db 39h, 20h, 1fh ; compressed |
---|
[332] | 288 | |
---|
[334] | 289 | g_szFloppyDrv: ; db "Floppy Drive %c",NULL |
---|
| 290 | ; db 46h, 6ch, 6fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 20h, 25h, 63h, 00h ; uncompressed |
---|
| 291 | db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0ebh, 15h ; compressed |
---|
[332] | 292 | |
---|
[334] | 293 | g_szBootMenuPrintEnd: |
---|
| 294 | g_szForeignHD: ; db "Foreign Hard Disk",NULL |
---|
| 295 | ; db 46h, 6fh, 72h, 65h, 69h, 67h, 6eh, 20h, 48h, 61h, 72h, 64h, 20h, 44h, 69h, 73h, 6bh, 00h ; uncompressed |
---|
| 296 | db 4ch, 75h, 78h, 6bh, 6fh, 6dh, 0f4h, 4eh, 67h, 78h, 0eah, 4ah, 6fh, 79h, 0b1h ; compressed |
---|
[332] | 297 | |
---|
| 298 | |
---|
| 299 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS |
---|
[334] | 300 | %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00) |
---|
| 301 | %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] | 302 | %endif |
---|
| 303 | %endif |
---|
| 304 | |
---|
[197] | 305 | ;------------------------------------------------------------------------------------------ |
---|
[252] | 306 | ; |
---|
[197] | 307 | ; Tables for StringsCompress.pl |
---|
| 308 | ; |
---|
| 309 | ;$translate{ord(' ')} = 0; [StringsCompress Processed] |
---|
| 310 | ;$translate{172} = 1; # ONE_QUARTER [StringsCompress Processed] |
---|
| 311 | ;$translate{171} = 2; # ONE_HALF [StringsCompress Processed] |
---|
| 312 | ;$translate{179} = 3; # SINGLE_VERTICAL [StringsCompress Processed] |
---|
| 313 | ;$translate{175} = 4; # ANGLE_QUOTE_RIGHT [StringsCompress Processed] |
---|
| 314 | ;$translate{ord('!')} = 5; [StringsCompress Processed] |
---|
| 315 | ;$translate{ord('"')} = 6; [StringsCompress Processed] |
---|
| 316 | ;$translate{ord(',')} = 7; [StringsCompress Processed] |
---|
| 317 | ;$translate{ord('-')} = 8; [StringsCompress Processed] |
---|
| 318 | ;$translate{ord('.')} = 9; [StringsCompress Processed] |
---|
| 319 | ;$translate{ord('/')} = 10; [StringsCompress Processed] |
---|
[252] | 320 | ;$translate{ord('1')} = 11; [StringsCompress Processed] |
---|
[197] | 321 | ;$translate{ord('2')} = 12; [StringsCompress Processed] |
---|
| 322 | ;$translate{ord('3')} = 13; [StringsCompress Processed] |
---|
| 323 | ;$translate{ord('4')} = 14; [StringsCompress Processed] |
---|
| 324 | ;$translate{ord('5')} = 15; [StringsCompress Processed] |
---|
| 325 | ;$translate{ord('6')} = 16; [StringsCompress Processed] |
---|
| 326 | ;$translate{ord('8')} = 17; [StringsCompress Processed] |
---|
| 327 | ;$translate{200} = 18; # DOUBLE_BOTTOM_LEFT_CORNER [StringsCompress Processed] |
---|
| 328 | ;$translate{181} = 19; # DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL [StringsCompress Processed] |
---|
[241] | 329 | ;$translate{ord('0')} = 20; [StringsCompress Processed] |
---|
[197] | 330 | ; |
---|
| 331 | ; Formats begin immediately after the last Translated character (they are in the same table) |
---|
| 332 | ; |
---|
[233] | 333 | ;$format_begin = 21; [StringsCompress Processed] |
---|
[197] | 334 | ; |
---|
| 335 | ;$format{"c"} = 21; # n/a [StringsCompress Processed] |
---|
| 336 | ;$format{"2-I"} = 22; # must be even [StringsCompress Processed] |
---|
| 337 | ;$format{"u"} = 23; # must be odd [StringsCompress Processed] |
---|
| 338 | ;$format{"5-u"} = 24; # must be even [StringsCompress Processed] |
---|
| 339 | ;$format{"x"} = 25; # must be odd [StringsCompress Processed] |
---|
| 340 | ;$format{"5-x"} = 26; # must be even [StringsCompress Processed] |
---|
| 341 | ;$format{"nl"} = 27; # n/a [StringsCompress Processed] |
---|
| 342 | ;$format{"2-u"} = 28; # must be even [StringsCompress Processed] |
---|
| 343 | ;$format{"A"} = 29; # n/a [StringsCompress Processed] |
---|
[241] | 344 | ;$format{"s"} = 30; # n/a, normal string from DS [StringsCompress Processed] |
---|
| 345 | ;$format{"z"} = 31; # n/a, boot string from BDA [StringsCompress Processed] |
---|
[197] | 346 | ; |
---|
| 347 | ; NOTE: The last $format cannot exceed 31 (stored in a 5-bit quantity). |
---|
| 348 | ; |
---|
| 349 | ; Starting point for the "normal" range, typically around 0x40 to cover upper and lower case |
---|
[252] | 350 | ; letters. If lower case 'z' is not used, 0x3a can be a good choice as it adds ':' to the |
---|
[197] | 351 | ; front end. |
---|
| 352 | ; |
---|
| 353 | ;$normal_base = 0x3a; [StringsCompress Processed] |
---|
| 354 | ; |
---|
| 355 | ; End of StringsCompress.pl information |
---|
| 356 | ; |
---|
| 357 | ;------------------------------------------------------------------------------------------ |
---|
| 358 | |
---|
| 359 | ;;; end of input stream |
---|
| 360 | |
---|
[334] | 361 | %endif ; STRINGSCOMPRESSED_STRINGS |
---|
| 362 | |
---|
| 363 | %ifdef STRINGSCOMPRESSED_TABLES |
---|
| 364 | |
---|
[189] | 365 | StringsCompressed_NormalBase equ 58 |
---|
| 366 | |
---|
[233] | 367 | StringsCompressed_FormatsBegin equ 21 |
---|
[189] | 368 | |
---|
[186] | 369 | StringsCompressed_TranslatesAndFormats: |
---|
| 370 | db 32 ; 0 |
---|
| 371 | db 172 ; 1 |
---|
| 372 | db 171 ; 2 |
---|
| 373 | db 179 ; 3 |
---|
| 374 | db 175 ; 4 |
---|
| 375 | db 33 ; 5 |
---|
| 376 | db 34 ; 6 |
---|
| 377 | db 44 ; 7 |
---|
| 378 | db 45 ; 8 |
---|
| 379 | db 46 ; 9 |
---|
| 380 | db 47 ; 10 |
---|
| 381 | db 49 ; 11 |
---|
| 382 | db 50 ; 12 |
---|
| 383 | db 51 ; 13 |
---|
| 384 | db 52 ; 14 |
---|
| 385 | db 53 ; 15 |
---|
| 386 | db 54 ; 16 |
---|
| 387 | db 56 ; 17 |
---|
| 388 | db 200 ; 18 |
---|
| 389 | db 181 ; 19 |
---|
[233] | 390 | db 48 ; 20 |
---|
[189] | 391 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c) ; 21 |
---|
| 392 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I) ; 22 |
---|
| 393 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u) ; 23 |
---|
| 394 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u) ; 24 |
---|
| 395 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x) ; 25 |
---|
| 396 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x) ; 26 |
---|
| 397 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl) ; 27 |
---|
| 398 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u) ; 28 |
---|
| 399 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A) ; 29 |
---|
[233] | 400 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s) ; 30 |
---|
[241] | 401 | db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_z) ; 31 |
---|
[186] | 402 | |
---|
[194] | 403 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS |
---|
[189] | 404 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_c || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c > 255 |
---|
| 405 | %error "DisplayFormatCompressed_Format_c is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 406 | %endif |
---|
| 407 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_I || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I > 255 |
---|
| 408 | %error "DisplayFormatCompressed_Format_2_I is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 409 | %endif |
---|
| 410 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u > 255 |
---|
| 411 | %error "DisplayFormatCompressed_Format_u is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 412 | %endif |
---|
| 413 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u > 255 |
---|
| 414 | %error "DisplayFormatCompressed_Format_5_u is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 415 | %endif |
---|
| 416 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x > 255 |
---|
| 417 | %error "DisplayFormatCompressed_Format_x is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 418 | %endif |
---|
| 419 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x > 255 |
---|
| 420 | %error "DisplayFormatCompressed_Format_5_x is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 421 | %endif |
---|
| 422 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_nl || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl > 255 |
---|
| 423 | %error "DisplayFormatCompressed_Format_nl is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 424 | %endif |
---|
| 425 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u > 255 |
---|
| 426 | %error "DisplayFormatCompressed_Format_2_u is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 427 | %endif |
---|
| 428 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_A || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A > 255 |
---|
| 429 | %error "DisplayFormatCompressed_Format_A is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
| 430 | %endif |
---|
[233] | 431 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_s || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s > 255 |
---|
| 432 | %error "DisplayFormatCompressed_Format_s is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
[194] | 433 | %endif |
---|
[241] | 434 | %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_z || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_z > 255 |
---|
| 435 | %error "DisplayFormatCompressed_Format_z is out of range of DisplayFormatCompressed_BaseFormatOffset" |
---|
[233] | 436 | %endif |
---|
[241] | 437 | %endif |
---|
[189] | 438 | |
---|
| 439 | ;; translated usage stats |
---|
[241] | 440 | ;; 33:1 |
---|
[334] | 441 | ;; 32:31 |
---|
[241] | 442 | ;; 181:1 |
---|
| 443 | ;; 53:2 |
---|
| 444 | ;; 48:2 |
---|
| 445 | ;; 200:1 |
---|
| 446 | ;; 46:3 |
---|
| 447 | ;; 179:8 |
---|
| 448 | ;; 44:1 |
---|
[334] | 449 | ;; 50:3 |
---|
[241] | 450 | ;; 51:3 |
---|
[252] | 451 | ;; 47:2 |
---|
[241] | 452 | ;; 52:1 |
---|
| 453 | ;; 172:2 |
---|
| 454 | ;; 34:3 |
---|
| 455 | ;; 49:1 |
---|
[285] | 456 | ;; 56:6 |
---|
[241] | 457 | ;; 45:3 |
---|
| 458 | ;; 175:1 |
---|
| 459 | ;; 171:2 |
---|
| 460 | ;; 54:1 |
---|
| 461 | ;; total translated: 21 |
---|
[189] | 462 | |
---|
[186] | 463 | ;; format usage stats |
---|
| 464 | ;; A:4 |
---|
| 465 | ;; 2-u:1 |
---|
[241] | 466 | ;; 5-u:2 |
---|
| 467 | ;; x:7 |
---|
[334] | 468 | ;; s:12 |
---|
[186] | 469 | ;; 5-x:1 |
---|
[334] | 470 | ;; nl:8 |
---|
[197] | 471 | ;; 2-I:1 |
---|
[241] | 472 | ;; c:5 |
---|
| 473 | ;; u:6 |
---|
| 474 | ;; z:1 |
---|
| 475 | ;; total format: 11 |
---|
[186] | 476 | |
---|
| 477 | ;; alphabet usage stats |
---|
[334] | 478 | ;; 58,::2 |
---|
[186] | 479 | ;; 59,;: |
---|
| 480 | ;; 60,<: |
---|
| 481 | ;; 61,=: |
---|
| 482 | ;; 62,>: |
---|
| 483 | ;; 63,?: |
---|
| 484 | ;; 64,@:1 |
---|
[262] | 485 | ;; 65,A:3 |
---|
[241] | 486 | ;; 66,B:9 |
---|
[233] | 487 | ;; 67,C:4 |
---|
[334] | 488 | ;; 68,D:10 |
---|
| 489 | ;; 69,E:2 |
---|
[186] | 490 | ;; 70,F:3 |
---|
[334] | 491 | ;; 71,G:2 |
---|
[186] | 492 | ;; 72,H:4 |
---|
[334] | 493 | ;; 73,I:1 |
---|
[186] | 494 | ;; 74,J: |
---|
[233] | 495 | ;; 75,K:1 |
---|
[334] | 496 | ;; 76,L:4 |
---|
[285] | 497 | ;; 77,M:4 |
---|
[334] | 498 | ;; 78,N:1 |
---|
[233] | 499 | ;; 79,O:2 |
---|
[334] | 500 | ;; 80,P:2 |
---|
[186] | 501 | ;; 81,Q:1 |
---|
[334] | 502 | ;; 82,R:5 |
---|
| 503 | ;; 83,S:6 |
---|
[186] | 504 | ;; 84,T: |
---|
[334] | 505 | ;; 85,U:2 |
---|
[186] | 506 | ;; 86,V: |
---|
| 507 | ;; 87,W: |
---|
| 508 | ;; 88,X:1 |
---|
| 509 | ;; 89,Y: |
---|
| 510 | ;; 90,Z: |
---|
| 511 | ;; 91,[: |
---|
| 512 | ;; 92,\: |
---|
| 513 | ;; 93,]: |
---|
| 514 | ;; 94,^: |
---|
| 515 | ;; 95,_: |
---|
| 516 | ;; 96,`: |
---|
[262] | 517 | ;; 97,a:7 |
---|
[186] | 518 | ;; 98,b: |
---|
[262] | 519 | ;; 99,c:5 |
---|
[334] | 520 | ;; 100,d:6 |
---|
| 521 | ;; 101,e:15 |
---|
[186] | 522 | ;; 102,f:2 |
---|
| 523 | ;; 103,g:2 |
---|
| 524 | ;; 104,h: |
---|
[334] | 525 | ;; 105,i:9 |
---|
[186] | 526 | ;; 106,j: |
---|
| 527 | ;; 107,k:4 |
---|
[262] | 528 | ;; 108,l:5 |
---|
[186] | 529 | ;; 109,m:1 |
---|
[262] | 530 | ;; 110,n:10 |
---|
[334] | 531 | ;; 111,o:17 |
---|
[186] | 532 | ;; 112,p:3 |
---|
| 533 | ;; 113,q: |
---|
[262] | 534 | ;; 114,r:12 |
---|
[334] | 535 | ;; 115,s:7 |
---|
[262] | 536 | ;; 116,t:12 |
---|
[334] | 537 | ;; 117,u:3 |
---|
| 538 | ;; 118,v:3 |
---|
[186] | 539 | ;; 119,w:1 |
---|
| 540 | ;; 120,x: |
---|
| 541 | ;; 121,y:2 |
---|
[334] | 542 | ;; alphabet used count: 42 |
---|
| 543 | %endif ; STRINGSCOMPRESSED_TABLES |
---|
| 544 | |
---|