- Timestamp:
- Dec 11, 2012, 3:36:21 PM (12 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/Emulate.inc
r445 r488 439 439 ;-------------------------------------------------------------------- 440 440 %macro eSHIFT_IM 3 441 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 441 442 %ifndef USE_186 442 443 %ifidni %1, cl … … 460 461 %3 %1, %2 461 462 %endif 463 %endif 462 464 %endmacro 463 465 -
trunk/Serial_Server/library/Serial.cpp
r376 r488 40 40 { 230400, 0xff, "230.4K" }, 41 41 { 460800, 0xff, "460.8K" }, 42 { 921600, 0xff, "921.6K" }, 42 43 { 0, 0, "Unknown" }, 43 44 }; -
trunk/Serial_Server/win32/Win32.cpp
r376 r488 71 71 " -b BaudRate Baud rate to use on the COM port, with client machine", 72 72 " rate multiplier in effect:", 73 " None: 2400, 4800, 9600, 28.8K, 57.6K, 115.2K", 74 " 2x: 4800, 9600, 19200, 57.6K, 115.2K, 230.4K", 75 " 4x: 9600, 19200, 38400, 115.2K, 230.4K, 460.8K", 76 " and for completeness: 76.8K, 153.6K", 73 " None: 2400, 4800, 9600, 28.8K, 57.6K, 115.2K", 74 " 2x: 4800, 9600, 19200, 57.6K, 115.2K, 230.4K", 75 " 4x: 9600, 19200, 38400, 115.2K, 230.4K, 460.8K", 76 " 8x: 19200, 38400, 115.2K, 230.4K, 460.8K, 921.6K", 77 " and for completeness: 76.8K, 153.6K", 77 78 " (default is 9600, 115.2K when in named pipe mode)", 78 79 "", -
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r480 r488 132 132 ; On performance critical situations we compare DPT_ATA.bDevice without checking FLGH_DPT_SERIAL_DEVICE 133 133 ; first! DPT_ATA.bDevice uses small values so there will be no problems. 134 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 134 135 %if DPT_SERIAL.bSerialPort <> DPT_ATA.bDevice 135 136 %error "DPT_ATA.bDevice and DPT_SERIAL.bSerialPort must be in same offsets!" 137 %endif 136 138 %endif 137 139 %endif -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/JrIdeTransfer.asm
r480 r488 290 290 291 291 292 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 292 293 %if SECTOR_ACCESS_WINDOW_SIZE <> 512 293 294 %error "SECTOR_ACCESS_WINDOW_SIZE is no longer equal to 512. JrIdeTransfer.asm needs changes." 294 295 %endif 296 %endif -
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). -
trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm
r486 r488 42 42 g_szRomAt: ; db LF,CR,"%s @ %x",LF,CR 43 43 ; db 0ah, 0dh, 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh ; uncompressed 44 db 3 bh, 3eh, 20h, 0c6h, 39h, 3bh ; compressed44 db 39h, 3dh, 20h, 0c6h, 37h, 39h ; compressed 45 45 46 46 ; db "Released under GNU GPL v2",LF,CR,LF,CR,NULL 47 47 ; 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 48 db 58h, 6bh, 72h, 6bh, 67h, 79h, 6bh, 0eah, 7bh, 74h, 6ah, 6bh, 0f8h, 4dh, 54h, 0dbh, 4dh, 56h, 0d2h, 7ch, 2ch, 3 bh, 1bh ; compressed48 db 58h, 6bh, 72h, 6bh, 67h, 79h, 6bh, 0eah, 7bh, 74h, 6ah, 6bh, 0f8h, 4dh, 54h, 0dbh, 4dh, 56h, 0d2h, 7ch, 2ch, 39h, 19h ; compressed 49 49 50 50 … … 65 65 g_szDetectOuter: ; db "%s at %s: ",NULL 66 66 ; db 25h, 73h, 20h, 61h, 74h, 20h, 25h, 73h, 3ah, 20h, 00h ; uncompressed 67 db 3 eh, 20h, 67h, 0fah, 3eh, 40h, 00h ; compressed67 db 3dh, 20h, 67h, 0fah, 3dh, 40h, 00h ; compressed 68 68 69 69 %ifdef MODULE_SERIAL 70 70 g_szDetectCOM: ; db "COM%c%s",NULL 71 71 ; db 43h, 4fh, 4dh, 25h, 63h, 25h, 73h, 00h ; uncompressed 72 db 49h, 55h, 53h, 3 5h, 1eh ; compressed72 db 49h, 55h, 53h, 3ch, 1dh ; compressed 73 73 74 74 g_szDetectCOMAuto: ; db " Detect",NULL … … 78 78 g_szDetectCOMSmall: ; db "/%u%u00",NULL ; IDE Master at COM1/9600: 79 79 ; db 2fh, 25h, 75h, 25h, 75h, 30h, 30h, 00h ; uncompressed 80 db 2ah, 3 7h, 37h, 34h, 14h ; compressed80 db 2ah, 35h, 35h, 33h, 13h ; compressed 81 81 82 82 g_szDetectCOMLarge: ; db "/%u.%uK",NULL ; IDE Master at COM1/19.2K: 83 83 ; db 2fh, 25h, 75h, 2eh, 25h, 75h, 4bh, 00h ; uncompressed 84 db 2ah, 3 7h, 29h, 37h, 91h ; compressed84 db 2ah, 35h, 29h, 35h, 91h ; compressed 85 85 86 86 %endif … … 88 88 g_szDetectPort: ; db "%x",NULL ; IDE Master at 1F0h: 89 89 ; db 25h, 78h, 00h ; uncompressed 90 db 1 9h ; compressed90 db 17h ; compressed 91 91 92 92 … … 101 101 g_szTryToBoot: ; db "Booting %c",ANGLE_QUOTE_RIGHT,"%c",LF,CR,NULL 102 102 ; db 42h, 6fh, 6fh, 74h, 69h, 6eh, 67h, 20h, 25h, 63h, 0afh, 25h, 63h, 0ah, 0dh, 00h ; uncompressed 103 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 3 5h, 24h, 35h, 1bh ; compressed103 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 3ch, 24h, 3ch, 19h ; compressed 104 104 105 105 g_szBootSectorNotFound: ; db "Boot sector " … … 109 109 g_szNotFound: ; db "not found",LF,CR,NULL 110 110 ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed 111 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 1 bh ; compressed111 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 19h ; compressed 112 112 113 113 g_szReadError: ; db "Error %x!",LF,CR,NULL 114 114 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed 115 db 4bh, 78h, 78h, 75h, 0f8h, 3 9h, 25h, 1bh ; compressed115 db 4bh, 78h, 78h, 75h, 0f8h, 37h, 25h, 19h ; compressed 116 116 117 117 … … 122 122 g_szFDD: ; db "FDD [%c]",NULL ; "FDD [A]" 123 123 ; db 46h, 44h, 44h, 20h, 5bh, 25h, 63h, 5dh, 00h ; uncompressed 124 db 4ch, 4ah, 0cah, 61h, 3 5h, 0a3h ; compressed124 db 4ch, 4ah, 0cah, 61h, 3ch, 0a3h ; compressed 125 125 126 126 g_szHDD: ; db "HDD [%c]",NULL ; "HDD [C]" 127 127 ; db 48h, 44h, 44h, 20h, 5bh, 25h, 63h, 5dh, 00h ; uncompressed 128 db 4eh, 4ah, 0cah, 61h, 3 5h, 0a3h ; compressed128 db 4eh, 4ah, 0cah, 61h, 3ch, 0a3h ; compressed 129 129 130 130 g_szBootMenu: ; db "%sMnu",NULL ; "BootMnu" 131 131 ; db 25h, 73h, 4dh, 6eh, 75h, 00h ; uncompressed 132 db 3 eh, 53h, 74h, 0bbh ; compressed132 db 3dh, 53h, 74h, 0bbh ; compressed 133 133 134 134 g_szRomBoot: ; db "Rom%s",NULL ; "RomBoot" 135 135 ; db 52h, 6fh, 6dh, 25h, 73h, 00h ; uncompressed 136 db 58h, 75h, 73h, 1 eh ; compressed136 db 58h, 75h, 73h, 1dh ; compressed 137 137 138 138 g_szBoot: ; db "Boot",NULL … … 142 142 g_szHotkey: ; db "%A%c%c%A%s%A ",NULL ; "C»HDD [A] ", "F2BootMnu " or "F8RomBoot " 143 143 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed 144 db 3 dh, 35h, 35h, 3dh, 3eh, 3dh, 00h ; compressed144 db 3bh, 3ch, 3ch, 3bh, 3dh, 3bh, 00h ; compressed 145 145 146 146 … … 161 161 g_szFddSizeOr: ; db "5",ONE_QUARTER,QUOTATION_MARK," or 3",ONE_HALF,QUOTATION_MARK," DD",NULL 162 162 ; db 35h, 0ach, 22h, 20h, 6fh, 72h, 20h, 33h, 0abh, 22h, 20h, 44h, 44h, 00h ; uncompressed 163 db 2 fh, 21h, 26h, 20h, 75h, 0f8h, 2dh, 22h, 26h, 20h, 4ah, 8ah ; compressed163 db 2eh, 21h, 26h, 20h, 75h, 0f8h, 2dh, 22h, 26h, 20h, 4ah, 8ah ; compressed 164 164 165 165 g_szFddSize: ; db "%s",QUOTATION_MARK,", %u kiB",NULL ; 3½", 1440 kiB 166 166 ; db 25h, 73h, 22h, 2ch, 20h, 25h, 75h, 20h, 6bh, 69h, 42h, 00h ; uncompressed 167 db 3 eh, 26h, 27h, 20h, 37h, 20h, 71h, 6fh, 88h ; compressed167 db 3dh, 26h, 27h, 20h, 35h, 20h, 71h, 6fh, 88h ; compressed 168 168 169 169 g_szFddThreeHalf: ; db "3",ONE_HALF,NULL … … 174 174 g_szFddFiveQuarter: ; db "5",ONE_QUARTER,NULL 175 175 ; db 35h, 0ach, 00h ; uncompressed 176 db 2 fh, 01h ; compressed176 db 2eh, 01h ; compressed 177 177 178 178 … … 197 197 db 52h, 48h, 0c7h, 20h, 00h ; compressed 198 198 199 wantToRemoveThis: ; db "4",NULL ; String compression want '4' somewhere200 ; db 34h, 00h ; uncompressed201 db 0eh ; compressed202 203 199 g_szAddressingModes_Displacement equ (g_szLARGE - g_szAddressingModes) 204 200 ; … … 220 216 g_szDeviceTypeValues_16bit: ; db " 16",NULL 221 217 ; db 20h, 31h, 36h, 00h ; uncompressed 222 db 20h, 2bh, 10h ; compressed218 db 20h, 2bh, 0fh ; compressed 223 219 224 220 g_szDeviceTypeValues_32bit: ; db " 32",NULL … … 228 224 g_szDeviceTypeValues_8bit: ; db " 8",NULL 229 225 ; db 20h, 20h, 38h, 00h ; uncompressed 230 db 20h, 20h, 1 1h ; compressed226 db 20h, 20h, 10h ; compressed 231 227 232 228 g_szDeviceTypeValues_XTIDEr1: ; db "D8 ",NULL ; Dual 8-bit 233 229 ; db 44h, 38h, 20h, 00h ; uncompressed 234 db 4ah, 3 1h, 00h ; compressed230 db 4ah, 30h, 00h ; compressed 235 231 236 232 g_szDeviceTypeValues_XTIDEr2: ; db "X8 ",NULL ; A0<->A3 swapped 8-bit 237 233 ; db 58h, 38h, 20h, 00h ; uncompressed 238 db 5eh, 3 1h, 00h ; compressed234 db 5eh, 30h, 00h ; compressed 239 235 240 236 g_szDeviceTypeValues_XTCFpio8: ; db "T8 ",NULL ; True 8-bit 241 237 ; db 54h, 38h, 20h, 00h ; uncompressed 242 db 5ah, 3 1h, 00h ; compressed238 db 5ah, 30h, 00h ; compressed 243 239 244 240 g_szDeviceTypeValues_XTCFdma: ; db "8MA",NULL ; DMA 8-bit 245 241 ; db 38h, 4dh, 41h, 00h ; uncompressed 246 db 3 1h, 53h, 87h ; compressed242 db 30h, 53h, 87h ; compressed 247 243 248 244 g_szDeviceTypeValues_XTCFmem: ; db "M8 ",NULL ; Memory Mapped 8-bit 249 245 ; db 4dh, 38h, 20h, 00h ; uncompressed 250 db 53h, 3 1h, 00h ; compressed246 db 53h, 30h, 00h ; compressed 251 247 252 248 g_szDeviceTypeValues_JrIde: ; db "M8 ",NULL 253 249 ; db 4dh, 38h, 20h, 00h ; uncompressed 254 db 53h, 3 1h, 00h ; compressed250 db 53h, 30h, 00h ; compressed 255 251 256 252 g_szDeviceTypeValues_Serial: ; db "SER",NULL … … 298 294 g_szSelectionTimeout: ; db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL 299 295 ; 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 300 db 3 2h, 33h, 3dh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ch, 20h, 0b9h ; compressed296 db 31h, 32h, 3bh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ah, 20h, 0b9h ; compressed 301 297 302 298 … … 307 303 g_szCapacity: ; db "Capacity : %s",NULL 308 304 ; db 43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3ah, 20h, 25h, 73h, 00h ; uncompressed 309 db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 0c0h, 1 eh ; compressed305 db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 0c0h, 1dh ; compressed 310 306 311 307 g_szCapacityNum: ; db "%5-u.%u %ciB",NULL 312 308 ; db 25h, 35h, 2dh, 75h, 2eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h ; uncompressed 313 db 3 8h, 29h, 37h, 20h, 35h, 6fh, 88h ; compressed309 db 36h, 29h, 35h, 20h, 3ch, 6fh, 88h ; compressed 314 310 315 311 g_szInformation: ; db "%s",LF,CR 316 312 ; db 25h, 73h, 0ah, 0dh ; uncompressed 317 db 3 eh, 3bh ; compressed313 db 3dh, 39h ; compressed 318 314 319 315 ; db "Addr. ",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR 320 316 ; 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 321 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, 3 bh ; compressed317 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 322 318 323 319 ; db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL 324 320 ; db 25h, 73h, 0b3h, 25h, 35h, 2dh, 75h, 0b3h, 25h, 73h, 0b3h, 20h, 25h, 32h, 2dh, 49h, 0b3h, 25h, 35h, 2dh, 78h, 00h ; uncompressed 325 db 3 eh, 23h, 38h, 23h, 3eh, 23h, 20h, 36h, 23h, 1ah ; compressed321 db 3dh, 23h, 36h, 23h, 3dh, 23h, 20h, 34h, 23h, 18h ; compressed 326 322 327 323 … … 336 332 g_szDriveNum: ; db "%x %s",NULL 337 333 ; db 25h, 78h, 20h, 25h, 73h, 00h ; uncompressed 338 db 3 9h, 20h, 1eh ; compressed334 db 37h, 20h, 1dh ; compressed 339 335 340 336 g_szDriveNumBOOTNFO: ; db "%x %z",NULL 341 337 ; db 25h, 78h, 20h, 25h, 7ah, 00h ; uncompressed 342 db 3 9h, 20h, 1fh ; compressed338 db 37h, 20h, 1eh ; compressed 343 339 344 340 g_szFloppyDrv: ; db "Floppy Drive %c",NULL 345 341 ; db 46h, 6ch, 6fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 20h, 25h, 63h, 00h ; uncompressed 346 db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0ebh, 1 5h ; compressed342 db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0ebh, 1ch ; compressed 347 343 348 344 g_szBootMenuPrintEnd: … … 365 361 ; 366 362 ; Tables for StringsCompress.pl 363 ; 364 ; Items can be added and removed from this table as needed, with the following rules: 365 ; * Formats follow the special characters. But other than that, order makes no difference. 366 ; * Some of the formats require "even" and "odd" numbering. Even tells the code that 367 ; it is a "number-" format, otherwise it doesn't interpret a number first. The easiest 368 ; way to maintain this is to move one of the "n/a" items to/from the front of the format 369 ; list to maintain the even/odd. 370 ; * Values do not need to remain consistent across versions. This table is only used 371 ; internally to this file. 372 ; * There can only be 32 of these (0-31). 373 ; * Keeping the list short is good - this translates to a table in the compressed version. 374 ; An error will be reported if a character or format is no longer being used by any 375 ; strings above. 376 ; * Please keep items sequential for ease of further editing. 367 377 ; 368 378 ;$translate{ord(' ')} = 0; [StringsCompress Processed] … … 380 390 ;$translate{ord('2')} = 12; [StringsCompress Processed] 381 391 ;$translate{ord('3')} = 13; [StringsCompress Processed] 382 ;$translate{ord('4')} = 14; ; Not used at the moment [StringsCompress Processed] 383 ;$translate{ord('5')} = 15; [StringsCompress Processed] 384 ;$translate{ord('6')} = 16; [StringsCompress Processed] 385 ;$translate{ord('8')} = 17; [StringsCompress Processed] 386 ;$translate{200} = 18; # DOUBLE_BOTTOM_LEFT_CORNER [StringsCompress Processed] 387 ;$translate{181} = 19; # DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL [StringsCompress Processed] 388 ;$translate{ord('0')} = 20; [StringsCompress Processed] 392 ;$translate{ord('5')} = 14; [StringsCompress Processed] 393 ;$translate{ord('6')} = 15; [StringsCompress Processed] 394 ;$translate{ord('8')} = 16; [StringsCompress Processed] 395 ;$translate{200} = 17; # DOUBLE_BOTTOM_LEFT_CORNER [StringsCompress Processed] 396 ;$translate{181} = 18; # DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL [StringsCompress Processed] 397 ;$translate{ord('0')} = 19; [StringsCompress Processed] 389 398 ; 390 399 ; Formats begin immediately after the last Translated character (they are in the same table) 391 400 ; 392 ;$format_begin = 2 1; [StringsCompress Processed]393 ; 394 ;$format{" c"} = 21; # n/a[StringsCompress Processed]395 ;$format{" 2-I"} = 22; # must be even[StringsCompress Processed]396 ;$format{" u"} = 23; # must be odd[StringsCompress Processed]397 ;$format{" 5-u"} = 24; # must be even[StringsCompress Processed]398 ;$format{" x"} = 25; # must be odd[StringsCompress Processed]399 ;$format{" 5-x"} = 26; # must be even[StringsCompress Processed]400 ;$format{" nl"} = 27; # n/a[StringsCompress Processed]401 ;$format{" 2-u"} = 28; # must be even[StringsCompress Processed]402 ;$format{" A"} = 29; # n/a [StringsCompress Processed]403 ;$format{"s"} = 30; # n/a, normal string from DS [StringsCompress Processed]404 ;$format{"z"} = 3 1; # n/a, boot string from BDA [StringsCompress Processed]401 ;$format_begin = 20; [StringsCompress Processed] 402 ; 403 ;$format{"2-I"} = 20; # must be even [StringsCompress Processed] 404 ;$format{"u"} = 21; # must be odd [StringsCompress Processed] 405 ;$format{"5-u"} = 22; # must be even [StringsCompress Processed] 406 ;$format{"x"} = 23; # must be odd [StringsCompress Processed] 407 ;$format{"5-x"} = 24; # must be even [StringsCompress Processed] 408 ;$format{"nl"} = 25; # n/a [StringsCompress Processed] 409 ;$format{"2-u"} = 26; # must be even [StringsCompress Processed] 410 ;$format{"A"} = 27; # n/a [StringsCompress Processed] 411 ;$format{"c"} = 28; # n/a [StringsCompress Processed] 412 ;$format{"s"} = 29; # n/a, normal string from DS [StringsCompress Processed] 413 ;$format{"z"} = 30; # n/a, boot string from BDA [StringsCompress Processed] 405 414 ; 406 415 ; NOTE: The last $format cannot exceed 31 (stored in a 5-bit quantity). … … 422 431 StringsCompressed_NormalBase equ 58 423 432 424 StringsCompressed_FormatsBegin equ 2 1433 StringsCompressed_FormatsBegin equ 20 425 434 426 435 StringsCompressed_TranslatesAndFormats: … … 439 448 db 50 ; 12 440 449 db 51 ; 13 441 db 52 ; 14 442 db 53 ; 15 443 db 54 ; 16 444 db 56 ; 17 445 db 200 ; 18 446 db 181 ; 19 447 db 48 ; 20 448 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c) ; 21 449 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I) ; 22 450 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u) ; 23 451 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u) ; 24 452 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x) ; 25 453 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x) ; 26 454 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl) ; 27 455 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u) ; 28 456 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A) ; 29 457 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s) ; 30 458 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_z) ; 31 450 db 53 ; 14 451 db 54 ; 15 452 db 56 ; 16 453 db 200 ; 17 454 db 181 ; 18 455 db 48 ; 19 456 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I) ; 20 457 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u) ; 21 458 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u) ; 22 459 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x) ; 23 460 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x) ; 24 461 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl) ; 25 462 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u) ; 26 463 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A) ; 27 464 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c) ; 28 465 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s) ; 29 466 db (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_z) ; 30 459 467 460 468 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 469 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_I || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I > 255 470 %error "DisplayFormatCompressed_Format_2_I is out of range of DisplayFormatCompressed_BaseFormatOffset" 471 %endif 472 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u > 255 473 %error "DisplayFormatCompressed_Format_u is out of range of DisplayFormatCompressed_BaseFormatOffset" 474 %endif 475 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u > 255 476 %error "DisplayFormatCompressed_Format_5_u is out of range of DisplayFormatCompressed_BaseFormatOffset" 477 %endif 478 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x > 255 479 %error "DisplayFormatCompressed_Format_x is out of range of DisplayFormatCompressed_BaseFormatOffset" 480 %endif 481 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x > 255 482 %error "DisplayFormatCompressed_Format_5_x is out of range of DisplayFormatCompressed_BaseFormatOffset" 483 %endif 484 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_nl || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl > 255 485 %error "DisplayFormatCompressed_Format_nl is out of range of DisplayFormatCompressed_BaseFormatOffset" 486 %endif 487 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u > 255 488 %error "DisplayFormatCompressed_Format_2_u is out of range of DisplayFormatCompressed_BaseFormatOffset" 489 %endif 490 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_A || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A > 255 491 %error "DisplayFormatCompressed_Format_A is out of range of DisplayFormatCompressed_BaseFormatOffset" 492 %endif 461 493 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_c || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_c > 255 462 494 %error "DisplayFormatCompressed_Format_c is out of range of DisplayFormatCompressed_BaseFormatOffset" 463 %endif464 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_I || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_I > 255465 %error "DisplayFormatCompressed_Format_2_I is out of range of DisplayFormatCompressed_BaseFormatOffset"466 %endif467 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_u > 255468 %error "DisplayFormatCompressed_Format_u is out of range of DisplayFormatCompressed_BaseFormatOffset"469 %endif470 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_u > 255471 %error "DisplayFormatCompressed_Format_5_u is out of range of DisplayFormatCompressed_BaseFormatOffset"472 %endif473 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_x > 255474 %error "DisplayFormatCompressed_Format_x is out of range of DisplayFormatCompressed_BaseFormatOffset"475 %endif476 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_5_x || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_5_x > 255477 %error "DisplayFormatCompressed_Format_5_x is out of range of DisplayFormatCompressed_BaseFormatOffset"478 %endif479 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_nl || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_nl > 255480 %error "DisplayFormatCompressed_Format_nl is out of range of DisplayFormatCompressed_BaseFormatOffset"481 %endif482 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_2_u || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_2_u > 255483 %error "DisplayFormatCompressed_Format_2_u is out of range of DisplayFormatCompressed_BaseFormatOffset"484 %endif485 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_A || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A > 255486 %error "DisplayFormatCompressed_Format_A is out of range of DisplayFormatCompressed_BaseFormatOffset"487 495 %endif 488 496 %if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_s || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s > 255 … … 507 515 ;; 51:3 508 516 ;; 47:2 509 ;; 52:1510 517 ;; 172:2 511 518 ;; 34:3 … … 516 523 ;; 171:2 517 524 ;; 54:1 518 ;; total translated: 2 1525 ;; total translated: 20 519 526 520 527 ;; format usage stats … … 527 534 ;; nl:9 528 535 ;; 2-I:1 536 ;; u:6 529 537 ;; c:9 530 ;; u:6531 538 ;; z:1 532 539 ;; total format: 11
Note:
See TracChangeset
for help on using the changeset viewer.