[88] | 1 | ; Project name : XTIDE Universal BIOS
|
---|
[3] | 2 | ; Description : Strings and equates for BIOS messages.
|
---|
| 3 |
|
---|
[376] | 4 | ;
|
---|
[491] | 5 | ; XTIDE Universal BIOS and Associated Tools
|
---|
[526] | 6 | ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
|
---|
[376] | 7 | ;
|
---|
| 8 | ; This program is free software; you can redistribute it and/or modify
|
---|
| 9 | ; it under the terms of the GNU General Public License as published by
|
---|
| 10 | ; the Free Software Foundation; either version 2 of the License, or
|
---|
| 11 | ; (at your option) any later version.
|
---|
[491] | 12 | ;
|
---|
[376] | 13 | ; This program is distributed in the hope that it will be useful,
|
---|
| 14 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 15 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 16 | ; GNU General Public License for more details.
|
---|
[491] | 17 | ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
---|
| 18 | ;
|
---|
[376] | 19 |
|
---|
[186] | 20 | %ifdef MODULE_STRINGS_COMPRESSED_PRECOMPRESS
|
---|
[242] | 21 | %include "Display.inc"
|
---|
[186] | 22 | %endif
|
---|
| 23 |
|
---|
[3] | 24 | ; Section containing code
|
---|
| 25 | SECTION .text
|
---|
| 26 |
|
---|
[334] | 27 | ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP
|
---|
| 28 | ; To support an optimization in that code, these strings must start on the same 256 byte page,
|
---|
| 29 | ; which is checked at assembly time below.
|
---|
| 30 | ;
|
---|
| 31 | g_szDetectStart:
|
---|
| 32 | g_szDetectMaster: db "Master",NULL
|
---|
| 33 | g_szDetectSlave: db "Slave ",NULL
|
---|
| 34 | g_szDetectOuter: db "%s at %s: ",NULL
|
---|
[415] | 35 | %ifdef MODULE_SERIAL
|
---|
[491] | 36 | g_szDetectCOM: db "COM%c%s",NULL
|
---|
[334] | 37 | g_szDetectCOMAuto: db " Detect",NULL
|
---|
| 38 | g_szDetectCOMSmall: db "/%u%u00",NULL ; IDE Master at COM1/9600:
|
---|
| 39 | g_szDetectCOMLarge: db "/%u.%uK",NULL ; IDE Master at COM1/19.2K:
|
---|
[415] | 40 | %endif
|
---|
[334] | 41 | g_szDetectEnd:
|
---|
[491] | 42 | g_szDetectPort: db "%x",NULL ; IDE Master at 1F0h:
|
---|
[334] | 43 |
|
---|
| 44 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 45 | %if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00)
|
---|
[491] | 46 | %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"
|
---|
[334] | 47 | %endif
|
---|
| 48 | %endif
|
---|
| 49 |
|
---|
[415] | 50 |
|
---|
[491] | 51 | ; POST drive detection strings
|
---|
| 52 | g_szDashForZero: db "- ",NULL ; Required by Display Library
|
---|
| 53 | g_szRomAt: db LF,CR
|
---|
| 54 | db "%s @ %x",LF,CR ; -=XTIDE ... =- @ Segment
|
---|
| 55 | db "%s",LF,CR ; version string
|
---|
[603] | 56 | %ifdef MODULE_STRINGS_COMPRESSED
|
---|
[491] | 57 | db "Released under GNU GPL v2",LF,CR
|
---|
[603] | 58 | %else
|
---|
| 59 | db "Released under GNU GPL v2",LF
|
---|
| 60 | %endif
|
---|
[491] | 61 | db LF,CR,NULL
|
---|
| 62 | %ifdef MODULE_BOOT_MENU
|
---|
| 63 | g_szBootMenuTitle: db "%s%c",LF,CR ; -=XTIDE ... =- and null (eaten)
|
---|
| 64 | db "%s",NULL ; version string
|
---|
| 65 | %endif
|
---|
| 66 | g_szDriveName: db "%z",LF,CR,NULL
|
---|
| 67 |
|
---|
| 68 |
|
---|
[415] | 69 | ; Boot loader strings
|
---|
| 70 | g_szTryToBoot: db "Booting %c",ANGLE_QUOTE_RIGHT,"%c",LF,CR,NULL
|
---|
[492] | 71 | g_szBootSectorNotFound: db "Boot sector " ; String fall through...
|
---|
[415] | 72 | g_szNotFound: db "not found",LF,CR,NULL
|
---|
| 73 | g_szReadError: db "Error %x!",LF,CR,NULL
|
---|
| 74 |
|
---|
| 75 |
|
---|
| 76 | %ifdef MODULE_HOTKEYS
|
---|
| 77 | ; Hotkey Bar strings
|
---|
[492] | 78 | g_szFDD: db "FDD [%c]",NULL ; "FDD [A]"
|
---|
| 79 | g_szHDD: db "HDD [%c]",NULL ; "HDD [C]"
|
---|
| 80 | %ifdef MODULE_BOOT_MENU
|
---|
| 81 | g_szBootMenu: db "BootMnu%c",NULL ; "BootMnu", location of %c doesn't matter
|
---|
| 82 | %endif ; MODULE_BOOT_MENU
|
---|
| 83 | g_szHotkey: db "%A%c%c%A%s%A ",NULL ; "C»HDD [A] ", "F2BootMnu " or "F8RomBoot "
|
---|
| 84 | %ifdef MODULE_SERIAL
|
---|
| 85 | g_szHotComDetect: db "ComDtct%c",NULL ; "ComDtct", location of %c doesn't matter
|
---|
| 86 | %endif ; MODULE_SERIAL
|
---|
| 87 | %endif ; MODULE_HOTKEYS
|
---|
[415] | 88 |
|
---|
[492] | 89 | %ifdef MODULE_BOOT_MENU
|
---|
| 90 | g_szRomBootDash: db " - " ; String fall through to g_szRomBoot
|
---|
| 91 | %endif
|
---|
[505] | 92 | %ifdef MODULE_HOTKEYS OR MODULE_BOOT_MENU
|
---|
| 93 | g_szRomBoot: db "Rom%cBoot",NULL ; "RomBoot" or "Rom Boot"
|
---|
[492] | 94 | %endif
|
---|
[415] | 95 |
|
---|
[505] | 96 |
|
---|
[415] | 97 | %ifdef MODULE_BOOT_MENU
|
---|
[334] | 98 | ; Boot Menu Floppy Disk strings
|
---|
| 99 | ;
|
---|
| 100 | ; The following strings are used by BootMenuPrint_RefreshInformation
|
---|
| 101 | ; To support optimizations in that code, these strings must start on the same 256 byte page,
|
---|
| 102 | ; which is checked at assembly time below.
|
---|
| 103 | ;
|
---|
| 104 | g_szFddStart:
|
---|
[491] | 105 | g_szFddUnknown: db "Unknown",NULL
|
---|
| 106 | g_szFddSizeOr: db "5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL
|
---|
| 107 | g_szFddSize: db "%s",QUOTATION_MARK,", %u kiB",NULL ; 3½", 1440 kiB
|
---|
| 108 | g_szFddThreeHalf: db "3",ONE_HALF,NULL
|
---|
[334] | 109 | g_szFddEnd:
|
---|
[491] | 110 | g_szFddFiveQuarter: db "5",ONE_QUARTER,NULL
|
---|
[334] | 111 |
|
---|
| 112 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
| 113 | %if ((g_szFddStart-$$) & 0xff00) <> ((g_szFddEnd-$$) & 0xff00)
|
---|
[491] | 114 | %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"
|
---|
[334] | 115 | %endif
|
---|
| 116 | %endif
|
---|
| 117 |
|
---|
[322] | 118 |
|
---|
| 119 | g_szAddressingModes:
|
---|
[421] | 120 | g_szNORMAL: db "NORMAL",NULL
|
---|
| 121 | g_szLARGE: db "LARGE ",NULL
|
---|
| 122 | g_szLBA: db "LBA ",NULL
|
---|
| 123 | g_szAddressingModes_Displacement equ (g_szLARGE - g_szAddressingModes)
|
---|
[322] | 124 | ;
|
---|
| 125 | ; Ensure that addressing modes are correctly spaced in memory
|
---|
| 126 | ;
|
---|
| 127 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
[421] | 128 | %if g_szNORMAL <> g_szAddressingModes
|
---|
[322] | 129 | %error "g_szAddressingModes Displacement Incorrect 1"
|
---|
| 130 | %endif
|
---|
[421] | 131 | %if g_szLARGE <> g_szNORMAL + g_szAddressingModes_Displacement
|
---|
[322] | 132 | %error "g_szAddressingModes Displacement Incorrect 2"
|
---|
| 133 | %endif
|
---|
[421] | 134 | %if g_szLBA <> g_szLARGE + g_szAddressingModes_Displacement
|
---|
[322] | 135 | %error "g_szAddressingModes Displacement Incorrect 3"
|
---|
| 136 | %endif
|
---|
| 137 | %endif
|
---|
| 138 |
|
---|
[491] | 139 |
|
---|
[473] | 140 | g_szDeviceTypeValues:
|
---|
[601] | 141 | g_szDeviceTypeValues_16bit: db " 16",NULL
|
---|
[589] | 142 | %ifdef MODULE_ADVANCED_ATA OR MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
[601] | 143 | g_szDeviceTypeValues_32bit: db " 32",NULL
|
---|
[589] | 144 | %ifdef MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
[601] | 145 | g_szDeviceTypeValues_8bit: db " 8",NULL
|
---|
| 146 | g_szDeviceTypeValues_XTIDEr1: db "D8 ",NULL ; Dual 8-bit
|
---|
| 147 | g_szDeviceTypeValues_XTIDEr2: db "X8 ",NULL ; A0<->A3 swapped 8-bit
|
---|
| 148 | g_szDeviceTypeValues_XTIDEr2_Olivetti: db "X8O",NULL ; Same as above but in Olivetti M24 and derivatives
|
---|
[589] | 149 | %ifdef MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
[601] | 150 | g_szDeviceTypeValues_XTCFpio8: db "T8 ",NULL ; True 8-bit
|
---|
| 151 | g_szDeviceTypeValues_XTCFpio8BIU: db "T8B",NULL
|
---|
| 152 | g_szDeviceTypeValues_XTCFpio16BIU: db "16B",NULL
|
---|
| 153 | g_szDeviceTypeValues_XTCFdma: db "8MA",NULL ; DMA 8-bit
|
---|
| 154 | g_szDeviceTypeValues_JrIde: db "M8 ",NULL ; Memory Mapped 8-bit
|
---|
| 155 | g_szDeviceTypeValues_ADP50L: db "M8 ",NULL ; Memory Mapped 8-bit
|
---|
[589] | 156 | %ifdef MODULE_SERIAL
|
---|
[601] | 157 | g_szDeviceTypeValues_Serial: db "SER",NULL
|
---|
[589] | 158 | %endif ; MODULE_SERIAL
|
---|
| 159 | %endif ; MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
| 160 | %endif ; MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
| 161 | %endif ; MODULE_ADVANCED_ATA OR MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
[417] | 162 |
|
---|
[603] | 163 | %ifdef MODULE_STRINGS_COMPRESSED
|
---|
| 164 | g_szDeviceTypeValues_Displacement equ 3
|
---|
| 165 | %else
|
---|
| 166 | g_szDeviceTypeValues_Displacement equ 4
|
---|
| 167 | %endif
|
---|
[185] | 168 | ;
|
---|
[473] | 169 | ; Ensure that device type strings are correctly spaced in memory
|
---|
[185] | 170 | ;
|
---|
[242] | 171 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
[473] | 172 | %if g_szDeviceTypeValues_16bit <> g_szDeviceTypeValues
|
---|
| 173 | %error "g_szDeviceTypeValues Displacement Incorrect 1"
|
---|
[242] | 174 | %endif
|
---|
[589] | 175 |
|
---|
| 176 | %ifdef MODULE_ADVANCED_ATA OR MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
| 177 |
|
---|
[486] | 178 | %if g_szDeviceTypeValues_32bit <> g_szDeviceTypeValues_16bit + g_szDeviceTypeValues_Displacement
|
---|
[473] | 179 | %error "g_szDeviceTypeValues Displacement Incorrect 2"
|
---|
[242] | 180 | %endif
|
---|
[589] | 181 |
|
---|
| 182 | %ifdef MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
| 183 |
|
---|
[486] | 184 | %if g_szDeviceTypeValues_8bit <> g_szDeviceTypeValues_32bit + g_szDeviceTypeValues_Displacement
|
---|
[588] | 185 | %error "g_szDeviceTypeValues Displacement Incorrect 3"
|
---|
[486] | 186 | %endif
|
---|
| 187 | %if g_szDeviceTypeValues_XTIDEr1 <> g_szDeviceTypeValues_8bit + g_szDeviceTypeValues_Displacement
|
---|
[588] | 188 | %error "g_szDeviceTypeValues Displacement Incorrect 4"
|
---|
[242] | 189 | %endif
|
---|
[473] | 190 | %if g_szDeviceTypeValues_XTIDEr2 <> g_szDeviceTypeValues_XTIDEr1 + g_szDeviceTypeValues_Displacement
|
---|
[588] | 191 | %error "g_szDeviceTypeValues Displacement Incorrect 5"
|
---|
[242] | 192 | %endif
|
---|
[601] | 193 | %if g_szDeviceTypeValues_XTIDEr2_Olivetti <> g_szDeviceTypeValues_XTIDEr2 + g_szDeviceTypeValues_Displacement
|
---|
| 194 | %error "g_szDeviceTypeValues Displacement Incorrect 6"
|
---|
| 195 | %endif
|
---|
[589] | 196 |
|
---|
| 197 | %ifdef MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
| 198 |
|
---|
[601] | 199 | %if g_szDeviceTypeValues_XTCFpio8 <> g_szDeviceTypeValues_XTIDEr2_Olivetti + g_szDeviceTypeValues_Displacement
|
---|
| 200 | %error "g_szDeviceTypeValues Displacement Incorrect 7"
|
---|
[242] | 201 | %endif
|
---|
[588] | 202 | %if g_szDeviceTypeValues_XTCFpio8BIU <> g_szDeviceTypeValues_XTCFpio8 + g_szDeviceTypeValues_Displacement
|
---|
[601] | 203 | %error "g_szDeviceTypeValues Displacement Incorrect 8"
|
---|
[285] | 204 | %endif
|
---|
[588] | 205 | %if g_szDeviceTypeValues_XTCFpio16BIU <> g_szDeviceTypeValues_XTCFpio8BIU + g_szDeviceTypeValues_Displacement
|
---|
[601] | 206 | %error "g_szDeviceTypeValues Displacement Incorrect 9"
|
---|
[473] | 207 | %endif
|
---|
[588] | 208 | %if g_szDeviceTypeValues_XTCFdma <> g_szDeviceTypeValues_XTCFpio16BIU + g_szDeviceTypeValues_Displacement
|
---|
[601] | 209 | %error "g_szDeviceTypeValues Displacement Incorrect 10"
|
---|
[473] | 210 | %endif
|
---|
[588] | 211 | %if g_szDeviceTypeValues_JrIde <> g_szDeviceTypeValues_XTCFdma + g_szDeviceTypeValues_Displacement
|
---|
[601] | 212 | %error "g_szDeviceTypeValues Displacement Incorrect 11"
|
---|
[536] | 213 | %endif
|
---|
[588] | 214 | %if g_szDeviceTypeValues_ADP50L <> g_szDeviceTypeValues_JrIde + g_szDeviceTypeValues_Displacement
|
---|
[601] | 215 | %error "g_szDeviceTypeValues Displacement Incorrect 12"
|
---|
[588] | 216 | %endif
|
---|
[589] | 217 |
|
---|
| 218 | %ifdef MODULE_SERIAL
|
---|
| 219 |
|
---|
[588] | 220 | %if g_szDeviceTypeValues_Serial <> g_szDeviceTypeValues_ADP50L + g_szDeviceTypeValues_Displacement
|
---|
[601] | 221 | %error "g_szDeviceTypeValues Displacement Incorrect 13"
|
---|
[588] | 222 | %endif
|
---|
[589] | 223 |
|
---|
| 224 | %endif ; MODULE_SERIAL
|
---|
| 225 | %endif ; MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
| 226 | %endif ; MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
| 227 | %endif ; MODULE_ADVANCED_ATA OR MODULE_8BIT_IDE OR MODULE_8BIT_IDE_ADVANCED OR MODULE_SERIAL
|
---|
| 228 |
|
---|
[185] | 229 | %endif
|
---|
[242] | 230 |
|
---|
[332] | 231 |
|
---|
[491] | 232 | g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL
|
---|
[332] | 233 |
|
---|
[277] | 234 |
|
---|
[334] | 235 | ; Boot Menu menuitem strings
|
---|
| 236 | ;
|
---|
| 237 | ; The following strings are used by BootMenuPrint_* routines.
|
---|
| 238 | ; To support optimizations in that code, these strings must start on the same 256 byte page,
|
---|
[332] | 239 | ; which is checked at assembly time below.
|
---|
| 240 | ;
|
---|
[492] | 241 | g_szDriveNumSpace: db " " ; leading space, used if drive number is less than 0fh
|
---|
| 242 | ; must come immediately before g_szDriveNum!
|
---|
[334] | 243 | g_szBootMenuPrintStart:
|
---|
| 244 | g_szDriveNum: db "%x %s",NULL
|
---|
[492] | 245 | g_szDriveNumBNSpace: db " " ; leading space, used if drive number is less than 0fh
|
---|
| 246 | ; must come immediately before g_szDriveNumBOOTNFO!
|
---|
[334] | 247 | g_szDriveNumBOOTNFO: db "%x %z",NULL
|
---|
| 248 | g_szFloppyDrv: db "Floppy Drive %c",NULL
|
---|
| 249 | g_szBootMenuPrintEnd:
|
---|
| 250 | g_szForeignHD: db "Foreign Hard Disk",NULL
|
---|
[332] | 251 |
|
---|
| 252 | %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
|
---|
[334] | 253 | %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00)
|
---|
[491] | 254 | %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] | 255 | %endif
|
---|
[492] | 256 | %if g_szDriveNumSpace+1 != g_szDriveNum || g_szDriveNumBNSpace+1 != g_szDriveNumBOOTNFO
|
---|
| 257 | %error "g_szDriveNumSpace or g_szDriveNumBNSpace are out of position"
|
---|
| 258 | %endif
|
---|
[332] | 259 | %endif
|
---|
[415] | 260 |
|
---|
[536] | 261 |
|
---|
| 262 | ; Boot Menu information strings
|
---|
| 263 | g_szCapacity: db "Capacity : %s",NULL
|
---|
| 264 | g_szCapacityNum: db "%5-u.%u %ciB",NULL
|
---|
| 265 | g_szInformation: db "%s",LF,CR
|
---|
| 266 | db "Addr. ",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL,"IRQ",SINGLE_VERTICAL,"Reset",LF,CR
|
---|
| 267 | db "%s",SINGLE_VERTICAL,"%5-u",SINGLE_VERTICAL,"%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x",NULL
|
---|
| 268 |
|
---|
[415] | 269 | %endif ; MODULE_BOOT_MENU
|
---|
| 270 |
|
---|
| 271 |
|
---|
[197] | 272 | ;------------------------------------------------------------------------------------------
|
---|
[242] | 273 | ;
|
---|
[197] | 274 | ; Tables for StringsCompress.pl
|
---|
| 275 | ;
|
---|
[488] | 276 | ; Items can be added and removed from this table as needed, with the following rules:
|
---|
| 277 | ; * Formats follow the special characters. But other than that, order makes no difference.
|
---|
| 278 | ; * Some of the formats require "even" and "odd" numbering. Even tells the code that
|
---|
| 279 | ; it is a "number-" format, otherwise it doesn't interpret a number first. The easiest
|
---|
| 280 | ; way to maintain this is to move one of the "n/a" items to/from the front of the format
|
---|
| 281 | ; list to maintain the even/odd.
|
---|
| 282 | ; * Values do not need to remain consistent across versions. This table is only used
|
---|
| 283 | ; internally to this file.
|
---|
| 284 | ; * There can only be 32 of these (0-31).
|
---|
| 285 | ; * Keeping the list short is good - this translates to a table in the compressed version.
|
---|
[491] | 286 | ; An error will be reported if a character or format is no longer being used by any
|
---|
[488] | 287 | ; strings above.
|
---|
| 288 | ; * Please keep items sequential for ease of further editing.
|
---|
| 289 | ;
|
---|
[197] | 290 | ;$translate{ord(' ')} = 0;
|
---|
| 291 | ;$translate{172} = 1; # ONE_QUARTER
|
---|
| 292 | ;$translate{171} = 2; # ONE_HALF
|
---|
| 293 | ;$translate{179} = 3; # SINGLE_VERTICAL
|
---|
| 294 | ;$translate{175} = 4; # ANGLE_QUOTE_RIGHT
|
---|
| 295 | ;$translate{ord('!')} = 5;
|
---|
| 296 | ;$translate{ord('"')} = 6;
|
---|
| 297 | ;$translate{ord(',')} = 7;
|
---|
| 298 | ;$translate{ord('-')} = 8;
|
---|
| 299 | ;$translate{ord('.')} = 9;
|
---|
| 300 | ;$translate{ord('/')} = 10;
|
---|
[242] | 301 | ;$translate{ord('1')} = 11;
|
---|
[197] | 302 | ;$translate{ord('2')} = 12;
|
---|
| 303 | ;$translate{ord('3')} = 13;
|
---|
[488] | 304 | ;$translate{ord('5')} = 14;
|
---|
| 305 | ;$translate{ord('6')} = 15;
|
---|
| 306 | ;$translate{ord('8')} = 16;
|
---|
| 307 | ;$translate{200} = 17; # DOUBLE_BOTTOM_LEFT_CORNER
|
---|
| 308 | ;$translate{181} = 18; # DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL
|
---|
| 309 | ;$translate{ord('0')} = 19;
|
---|
[197] | 310 | ;
|
---|
| 311 | ; Formats begin immediately after the last Translated character (they are in the same table)
|
---|
| 312 | ;
|
---|
[488] | 313 | ;$format_begin = 20;
|
---|
[197] | 314 | ;
|
---|
[488] | 315 | ;$format{"2-I"} = 20; # must be even
|
---|
| 316 | ;$format{"u"} = 21; # must be odd
|
---|
| 317 | ;$format{"5-u"} = 22; # must be even
|
---|
| 318 | ;$format{"x"} = 23; # must be odd
|
---|
| 319 | ;$format{"5-x"} = 24; # must be even
|
---|
| 320 | ;$format{"nl"} = 25; # n/a
|
---|
| 321 | ;$format{"2-u"} = 26; # must be even
|
---|
| 322 | ;$format{"A"} = 27; # n/a
|
---|
| 323 | ;$format{"c"} = 28; # n/a
|
---|
| 324 | ;$format{"s"} = 29; # n/a, normal string from DS
|
---|
| 325 | ;$format{"z"} = 30; # n/a, boot string from BDA
|
---|
[197] | 326 | ;
|
---|
| 327 | ; NOTE: The last $format cannot exceed 31 (stored in a 5-bit quantity).
|
---|
| 328 | ;
|
---|
| 329 | ; Starting point for the "normal" range, typically around 0x40 to cover upper and lower case
|
---|
[242] | 330 | ; letters. If lower case 'z' is not used, 0x3a can be a good choice as it adds ':' to the
|
---|
[197] | 331 | ; front end.
|
---|
| 332 | ;
|
---|
| 333 | ;$normal_base = 0x3a;
|
---|
| 334 | ;
|
---|
| 335 | ; End of StringsCompress.pl information
|
---|
| 336 | ;
|
---|
| 337 | ;------------------------------------------------------------------------------------------
|
---|