Changeset 415 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS
- Timestamp:
- May 3, 2012, 2:33:46 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r392 r415 25 25 SECTION .text 26 26 27 ; POST drive detection strings 28 g_szDashForZero: db "- ",NULL ; Required by Display Library 29 g_szRomAt: db LF,CR,"%s @ %x",LF,CR 30 db "Released under GNU GPL v2",LF,CR,LF,CR,NULL 31 32 27 33 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP 28 34 ; To support an optimization in that code, these strings must start on the same 256 byte page, … … 33 39 g_szDetectSlave: db "Slave ",NULL 34 40 g_szDetectOuter: db "%s at %s: ",NULL 35 ;%%; %ifdef MODULE_SERIAL ;%%; is stripped off after string compression, %ifdef won't compress properly 41 %ifdef MODULE_SERIAL 36 42 g_szDetectCOM: db "COM%c%s",NULL 37 43 g_szDetectCOMAuto: db " Detect",NULL 38 44 g_szDetectCOMSmall: db "/%u%u00",NULL ; IDE Master at COM1/9600: 39 45 g_szDetectCOMLarge: db "/%u.%uK",NULL ; IDE Master at COM1/19.2K: 40 ;%%; %endif ;%%; is stripped off after string compression, %ifdef won't compress properly 46 %endif 41 47 g_szDetectEnd: 42 48 g_szDetectPort: db "%x",NULL ; IDE Master at 1F0h: … … 47 53 %endif 48 54 %endif 55 56 57 ; Boot loader strings 58 g_szTryToBoot: db "Booting %c",ANGLE_QUOTE_RIGHT,"%c",LF,CR,NULL 59 g_szBootSectorNotFound: db "Boot sector " 60 g_szNotFound: db "not found",LF,CR,NULL 61 g_szReadError: db "Error %x!",LF,CR,NULL 62 63 64 %ifdef MODULE_HOTKEYS 65 66 ; Hotkey Bar strings 67 g_szFDD: db "FDD [%c]",NULL ; "FDD [A]" 68 g_szHDD: db "HDD [%c]",NULL ; "HDD [C]" 69 g_szBootMenu: db "%sMnu",NULL ; "BootMnu" 70 g_szRomBoot: db "Rom%s",NULL ; "RomBoot" 71 g_szBoot: db "Boot",NULL 72 g_szHotkey: db "%A%c%c%A%s%A ",NULL ; "C»HDD [A] ", "F2BootMnu " or "F8RomBoot " 73 74 75 %ifdef MODULE_BOOT_MENU 49 76 50 77 ; Boot Menu Floppy Disk strings … … 67 94 %endif 68 95 %endif 69 70 ; POST drive detection strings71 g_szRomAt: db "%s @ %x",LF,CR72 db "Released under GNU GPL v2",LF,CR,LF,CR,NULL73 74 ; Boot loader strings75 g_szTryToBoot: db "Booting %c",ANGLE_QUOTE_RIGHT,"%c",LF,CR,NULL76 g_szBootSectorNotFound: db "Boot sector "77 g_szNotFound: db "not found",LF,CR,NULL78 g_szReadError: db "Error %x!",LF,CR,NULL79 96 80 97 … … 141 158 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL 142 159 143 g_szDashForZero: db "- ",NULL 144 145 ; Boot menu bottom of screen strings 146 g_szFDD: db "FDD [%c]",NULL ; "FDD [A]" 147 g_szHDD: db "HDD [%c]",NULL ; "HDD [C]" 148 g_szBootMenu: db "%sMnu",NULL ; "BootMnu" 149 g_szRomBoot: db "Rom%s",NULL ; "RomBoot" 150 g_szBoot: db "Boot",NULL 151 g_szHotkey: db "%A%c%c%A%s%A ",NULL ; "C»HDD [A] ", "F2BootMnu " or "F8RomBoot " 160 161 152 162 153 163 ; Boot Menu information strings … … 158 168 db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL 159 169 170 160 171 ; Boot Menu menuitem strings 161 172 ; … … 176 187 %endif 177 188 %endif 178 189 190 %endif ; MODULE_BOOT_MENU 191 %endif ; MODULE_HOTKEYS 192 193 179 194 ;------------------------------------------------------------------------------------------ 180 195 ; -
trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm
r392 r415 35 35 SECTION .text 36 36 37 ; POST drive detection strings 38 g_szDashForZero: ; db "- ",NULL ; Required by Display Library 39 ; db 2dh, 20h, 00h ; uncompressed 40 db 28h, 00h ; compressed 41 42 g_szRomAt: ; db LF,CR,"%s @ %x",LF,CR 43 ; db 0ah, 0dh, 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh ; uncompressed 44 db 3bh, 3eh, 20h, 0c6h, 39h, 3bh ; compressed 45 46 ; db "Released under GNU GPL v2",LF,CR,LF,CR,NULL 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, 3bh, 1bh ; compressed 49 50 51 37 52 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP 38 53 ; To support an optimization in that code, these strings must start on the same 256 byte page, … … 52 67 db 3eh, 20h, 67h, 0fah, 3eh, 40h, 00h ; compressed 53 68 54 %ifdef MODULE_SERIAL ;%%; is stripped off after string compression, %ifdef won't compress properly69 %ifdef MODULE_SERIAL 55 70 g_szDetectCOM: ; db "COM%c%s",NULL 56 71 ; db 43h, 4fh, 4dh, 25h, 63h, 25h, 73h, 00h ; uncompressed … … 69 84 db 2ah, 37h, 29h, 37h, 91h ; compressed 70 85 71 %endif ;%%; is stripped off after string compression, %ifdef won't compress properly86 %endif 72 87 g_szDetectEnd: 73 88 g_szDetectPort: ; db "%x",NULL ; IDE Master at 1F0h: … … 82 97 %endif 83 98 99 100 ; Boot loader strings 101 g_szTryToBoot: ; db "Booting %c",ANGLE_QUOTE_RIGHT,"%c",LF,CR,NULL 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, 35h, 24h, 35h, 1bh ; compressed 104 105 g_szBootSectorNotFound: ; db "Boot sector " 106 ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed 107 db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed 108 109 g_szNotFound: ; db "not found",LF,CR,NULL 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, 1bh ; compressed 112 113 g_szReadError: ; db "Error %x!",LF,CR,NULL 114 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed 115 db 4bh, 78h, 78h, 75h, 0f8h, 39h, 25h, 1bh ; compressed 116 117 118 119 %ifdef MODULE_HOTKEYS 120 121 ; Hotkey Bar strings 122 g_szFDD: ; db "FDD [%c]",NULL ; "FDD [A]" 123 ; db 46h, 44h, 44h, 20h, 5bh, 25h, 63h, 5dh, 00h ; uncompressed 124 db 4ch, 4ah, 0cah, 61h, 35h, 0a3h ; compressed 125 126 g_szHDD: ; db "HDD [%c]",NULL ; "HDD [C]" 127 ; db 48h, 44h, 44h, 20h, 5bh, 25h, 63h, 5dh, 00h ; uncompressed 128 db 4eh, 4ah, 0cah, 61h, 35h, 0a3h ; compressed 129 130 g_szBootMenu: ; db "%sMnu",NULL ; "BootMnu" 131 ; db 25h, 73h, 4dh, 6eh, 75h, 00h ; uncompressed 132 db 3eh, 53h, 74h, 0bbh ; compressed 133 134 g_szRomBoot: ; db "Rom%s",NULL ; "RomBoot" 135 ; db 52h, 6fh, 6dh, 25h, 73h, 00h ; uncompressed 136 db 58h, 75h, 73h, 1eh ; compressed 137 138 g_szBoot: ; db "Boot",NULL 139 ; db 42h, 6fh, 6fh, 74h, 00h ; uncompressed 140 db 48h, 75h, 75h, 0bah ; compressed 141 142 g_szHotkey: ; db "%A%c%c%A%s%A ",NULL ; "C»HDD [A] ", "F2BootMnu " or "F8RomBoot " 143 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed 144 db 3dh, 35h, 35h, 3dh, 3eh, 3dh, 00h ; compressed 145 146 147 148 %ifdef MODULE_BOOT_MENU 149 84 150 ; Boot Menu Floppy Disk strings 85 151 ; … … 117 183 %endif 118 184 119 ; POST drive detection strings120 g_szRomAt: ; db "%s @ %x",LF,CR121 ; db 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh ; uncompressed122 db 3eh, 20h, 0c6h, 39h, 3bh ; compressed123 124 ; db "Released under GNU GPL v2",LF,CR,LF,CR,NULL125 ; 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 ; uncompressed126 db 58h, 6bh, 72h, 6bh, 67h, 79h, 6bh, 0eah, 7bh, 74h, 6ah, 6bh, 0f8h, 4dh, 54h, 0dbh, 4dh, 56h, 0d2h, 7ch, 2ch, 3bh, 1bh ; compressed127 128 129 ; Boot loader strings130 g_szTryToBoot: ; db "Booting %c",ANGLE_QUOTE_RIGHT,"%c",LF,CR,NULL131 ; db 42h, 6fh, 6fh, 74h, 69h, 6eh, 67h, 20h, 25h, 63h, 0afh, 25h, 63h, 0ah, 0dh, 00h ; uncompressed132 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 35h, 24h, 35h, 1bh ; compressed133 134 g_szBootSectorNotFound: ; db "Boot sector "135 ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed136 db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed137 138 g_szNotFound: ; db "not found",LF,CR,NULL139 ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed140 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 1bh ; compressed141 142 g_szReadError: ; db "Error %x!",LF,CR,NULL143 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed144 db 4bh, 78h, 78h, 75h, 0f8h, 39h, 25h, 1bh ; compressed145 146 147 185 148 186 g_szAddressingModes: … … 244 282 245 283 246 g_szDashForZero: ; db "- ",NULL 247 ; db 2dh, 20h, 00h ; uncompressed 248 db 28h, 00h ; compressed 249 250 251 ; Boot menu bottom of screen strings 252 g_szFDD: ; db "FDD [%c]",NULL ; "FDD [A]" 253 ; db 46h, 44h, 44h, 20h, 5bh, 25h, 63h, 5dh, 00h ; uncompressed 254 db 4ch, 4ah, 0cah, 61h, 35h, 0a3h ; compressed 255 256 g_szHDD: ; db "HDD [%c]",NULL ; "HDD [C]" 257 ; db 48h, 44h, 44h, 20h, 5bh, 25h, 63h, 5dh, 00h ; uncompressed 258 db 4eh, 4ah, 0cah, 61h, 35h, 0a3h ; compressed 259 260 g_szBootMenu: ; db "%sMnu",NULL ; "BootMnu" 261 ; db 25h, 73h, 4dh, 6eh, 75h, 00h ; uncompressed 262 db 3eh, 53h, 74h, 0bbh ; compressed 263 264 g_szRomBoot: ; db "Rom%s",NULL ; "RomBoot" 265 ; db 52h, 6fh, 6dh, 25h, 73h, 00h ; uncompressed 266 db 58h, 75h, 73h, 1eh ; compressed 267 268 g_szBoot: ; db "Boot",NULL 269 ; db 42h, 6fh, 6fh, 74h, 00h ; uncompressed 270 db 48h, 75h, 75h, 0bah ; compressed 271 272 g_szHotkey: ; db "%A%c%c%A%s%A ",NULL ; "C»HDD [A] ", "F2BootMnu " or "F8RomBoot " 273 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed 274 db 3dh, 35h, 35h, 3dh, 3eh, 3dh, 00h ; compressed 284 275 285 276 286 … … 297 307 298 308 309 299 310 ; Boot Menu menuitem strings 300 311 ; … … 327 338 %endif 328 339 %endif 340 341 %endif ; MODULE_BOOT_MENU 342 %endif ; MODULE_HOTKEYS 343 329 344 330 345 ;------------------------------------------------------------------------------------------ … … 491 506 ;; s:13 492 507 ;; 5-x:1 493 ;; nl: 8508 ;; nl:9 494 509 ;; 2-I:1 495 510 ;; c:9 -
trunk/XTIDE_Universal_BIOS/makefile
r400 r415 203 203 204 204 strings: src\Strings.asm 205 @$(AS) src\Strings.asm $(ASFLAGS) $(DEFS_ XT) -DCHECK_FOR_UNUSED_ENTRYPOINTS -DMODULE_STRINGS_COMPRESSED_PRECOMPRESS -o build\Strings.bin -l build\StringsPrecompress.lst205 @$(AS) src\Strings.asm $(ASFLAGS) $(DEFS_AT_LARGE) -DCHECK_FOR_UNUSED_ENTRYPOINTS -DMODULE_STRINGS_COMPRESSED_PRECOMPRESS -o build\Strings.bin -l build\StringsPrecompress.lst 206 206 @perl ..\tools\StringsCompress.pl < build\StringsPrecompress.lst > src\StringsCompressed.asm 207 207 @echo StringsCompressed.asm updated!
Note:
See TracChangeset
for help on using the changeset viewer.