Changeset 488 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Strings.asm
- Timestamp:
- Dec 11, 2012, 3:36:21 PM (12 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r486 r488 100 100 g_szLARGE: db "LARGE ",NULL 101 101 g_szLBA: db "LBA ",NULL 102 wantToRemoveThis: db "4",NULL ; String compression want '4' somewhere103 102 g_szAddressingModes_Displacement equ (g_szLARGE - g_szAddressingModes) 104 103 ; … … 205 204 ; 206 205 ; Tables for StringsCompress.pl 206 ; 207 ; Items can be added and removed from this table as needed, with the following rules: 208 ; * Formats follow the special characters. But other than that, order makes no difference. 209 ; * Some of the formats require "even" and "odd" numbering. Even tells the code that 210 ; it is a "number-" format, otherwise it doesn't interpret a number first. The easiest 211 ; way to maintain this is to move one of the "n/a" items to/from the front of the format 212 ; list to maintain the even/odd. 213 ; * Values do not need to remain consistent across versions. This table is only used 214 ; internally to this file. 215 ; * There can only be 32 of these (0-31). 216 ; * Keeping the list short is good - this translates to a table in the compressed version. 217 ; An error will be reported if a character or format is no longer being used by any 218 ; strings above. 219 ; * Please keep items sequential for ease of further editing. 207 220 ; 208 221 ;$translate{ord(' ')} = 0; … … 220 233 ;$translate{ord('2')} = 12; 221 234 ;$translate{ord('3')} = 13; 222 ;$translate{ord('4')} = 14; ; Not used at the moment 223 ;$translate{ord('5')} = 15; 224 ;$translate{ord('6')} = 16; 225 ;$translate{ord('8')} = 17; 226 ;$translate{200} = 18; # DOUBLE_BOTTOM_LEFT_CORNER 227 ;$translate{181} = 19; # DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL 228 ;$translate{ord('0')} = 20; 235 ;$translate{ord('5')} = 14; 236 ;$translate{ord('6')} = 15; 237 ;$translate{ord('8')} = 16; 238 ;$translate{200} = 17; # DOUBLE_BOTTOM_LEFT_CORNER 239 ;$translate{181} = 18; # DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL 240 ;$translate{ord('0')} = 19; 229 241 ; 230 242 ; Formats begin immediately after the last Translated character (they are in the same table) 231 243 ; 232 ;$format_begin = 2 1;233 ; 234 ;$format{" c"} = 21; # n/a235 ;$format{" 2-I"} = 22; # must be even236 ;$format{" u"} = 23; # must be odd237 ;$format{" 5-u"} = 24; # must be even238 ;$format{" x"} = 25; # must be odd239 ;$format{" 5-x"} = 26; # must be even240 ;$format{" nl"} = 27; # n/a241 ;$format{" 2-u"} = 28; # must be even242 ;$format{" A"} = 29; # n/a243 ;$format{"s"} = 30; # n/a, normal string from DS244 ;$format{"z"} = 3 1; # n/a, boot string from BDA244 ;$format_begin = 20; 245 ; 246 ;$format{"2-I"} = 20; # must be even 247 ;$format{"u"} = 21; # must be odd 248 ;$format{"5-u"} = 22; # must be even 249 ;$format{"x"} = 23; # must be odd 250 ;$format{"5-x"} = 24; # must be even 251 ;$format{"nl"} = 25; # n/a 252 ;$format{"2-u"} = 26; # must be even 253 ;$format{"A"} = 27; # n/a 254 ;$format{"c"} = 28; # n/a 255 ;$format{"s"} = 29; # n/a, normal string from DS 256 ;$format{"z"} = 30; # n/a, boot string from BDA 245 257 ; 246 258 ; NOTE: The last $format cannot exceed 31 (stored in a 5-bit quantity).
Note:
See TracChangeset
for help on using the changeset viewer.