Changeset 322 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm
- Timestamp:
- Mar 11, 2012, 4:17:46 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm
r292 r322 17 17 SECTION .text 18 18 19 ; POST drive detection strings 20 g_szRomAt: ; db "%s @ %x",LF,CR,NULL 21 ; db 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh, 00h ; uncompressed 22 db 3eh, 20h, 0c6h, 39h, 1bh ; compressed 23 24 25 ; Boot loader strings 26 g_szTryToBoot: ; db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL 27 ; 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 28 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 6ch, 78h, 75h, 0f3h, 3eh, 20h, 39h, 24h, 39h, 1bh ; compressed 29 30 g_szBootSectorNotFound: ; db "Boot sector " 31 ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed 32 db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed 33 34 g_szNotFound: ; db "not found",LF,CR,NULL 35 ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed 36 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 1bh ; compressed 37 38 g_szReadError: ; db "Error %x!",LF,CR,NULL 39 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed 40 db 4bh, 78h, 78h, 75h, 0f8h, 39h, 25h, 1bh ; compressed 41 42 43 g_szAddressingModes: 44 g_szLCHS: ; db "L-CHS",NULL 45 ; db 4ch, 2dh, 43h, 48h, 53h, 00h ; uncompressed 46 db 52h, 28h, 49h, 4eh, 99h ; compressed 47 48 g_szPCHS: ; db "P-CHS",NULL 49 ; db 50h, 2dh, 43h, 48h, 53h, 00h ; uncompressed 50 db 56h, 28h, 49h, 4eh, 99h ; compressed 51 52 g_szLBA28: ; db "LBA28",NULL 53 ; db 4ch, 42h, 41h, 32h, 38h, 00h ; uncompressed 54 db 52h, 48h, 47h, 2ch, 11h ; compressed 55 56 g_szLBA48: ; db "LBA48",NULL 57 ; db 4ch, 42h, 41h, 34h, 38h, 00h ; uncompressed 58 db 52h, 48h, 47h, 2eh, 11h ; compressed 59 60 g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes) 61 ; 62 ; Ensure that addressing modes are correctly spaced in memory 63 ; 64 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 65 %if g_szLCHS <> g_szAddressingModes 66 %error "g_szAddressingModes Displacement Incorrect 1" 67 %endif 68 %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement 69 %error "g_szAddressingModes Displacement Incorrect 2" 70 %endif 71 %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement 72 %error "g_szAddressingModes Displacement Incorrect 3" 73 %endif 74 %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement 75 %error "g_szAddressingModes Displacement Incorrect 4" 76 %endif 77 %endif 78 19 79 ; Boot Menu Floppy Disk strings 20 80 ; … … 52 112 %endif 53 113 54 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringIn AXandIdeVarsInCSBP114 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP 55 115 ; To support an optimization in that code, these strings must start on the same 256 byte page, 56 116 ; which is checked at assembly time below. … … 99 159 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 100 160 %if ((g_szDetectEnd-$$) & 0xff00) <> ((g_szDetectStart-$$) & 0xff00) 101 %error "g_szDetect* strings must start on the same 256 byte page, required by DetectPrint_StartDetectWithMasterOrSlaveStringInAXandIdeVarsInCSBP. Please move this block up or down within strings.asm" 161 %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" 162 %endif 163 %endif 164 165 g_szBusTypeValues: 166 g_szBusTypeValues_8Dual: ; db "D8 ",NULL 167 ; db 44h, 38h, 20h, 00h ; uncompressed 168 db 4ah, 31h, 00h ; compressed 169 170 g_szBusTypeValues_8Reversed: ; db "X8 ",NULL 171 ; db 58h, 38h, 20h, 00h ; uncompressed 172 db 5eh, 31h, 00h ; compressed 173 174 g_szBusTypeValues_8Single: ; db "S8 ",NULL 175 ; db 53h, 38h, 20h, 00h ; uncompressed 176 db 59h, 31h, 00h ; compressed 177 178 g_szBusTypeValues_16: ; db " 16",NULL 179 ; db 20h, 31h, 36h, 00h ; uncompressed 180 db 20h, 2bh, 10h ; compressed 181 182 g_szBusTypeValues_32: ; db " 32",NULL 183 ; db 20h, 33h, 32h, 00h ; uncompressed 184 db 20h, 2dh, 0ch ; compressed 185 186 g_szBusTypeValues_Serial: ; db "SER",NULL 187 ; db 53h, 45h, 52h, 00h ; uncompressed 188 db 59h, 4bh, 98h ; compressed 189 190 g_szBusTypeValues_8MemMapped: ; db "M8 ",NULL 191 ; db 4dh, 38h, 20h, 00h ; uncompressed 192 db 53h, 31h, 00h ; compressed 193 194 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues) 195 ; 196 ; Ensure that bus type strings are correctly spaced in memory 197 ; 198 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 199 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues 200 %error "g_szBusTypeValues Displacement Incorrect 1" 201 %endif 202 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement 203 %error "g_szBusTypeValues Displacement Incorrect 2" 204 %endif 205 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement 206 %error "g_szBusTypeValues Displacement Incorrect 3" 207 %endif 208 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement 209 %error "g_szBusTypeValues Displacement Incorrect 4" 210 %endif 211 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement 212 %error "g_szBusTypeValues Displacement Incorrect 5" 213 %endif 214 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement 215 %error "g_szBusTypeValues Displacement Incorrect 6" 216 %endif 217 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement 218 %error "g_szBusTypeValues Displacement Incorrect 7" 102 219 %endif 103 220 %endif … … 131 248 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00) 132 249 %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" 133 %endif134 %endif135 136 ; POST drive detection strings137 g_szRomAt: ; db "%s @ %x",LF,CR,NULL138 ; db 25h, 73h, 20h, 40h, 20h, 25h, 78h, 0ah, 0dh, 00h ; uncompressed139 db 3eh, 20h, 0c6h, 39h, 1bh ; compressed140 141 142 ; Boot loader strings143 g_szTryToBoot: ; db "Booting from %s %x",ANGLE_QUOTE_RIGHT,"%x",LF,CR,NULL144 ; 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 ; uncompressed145 db 48h, 75h, 75h, 7ah, 6fh, 74h, 0edh, 6ch, 78h, 75h, 0f3h, 3eh, 20h, 39h, 24h, 39h, 1bh ; compressed146 147 g_szBootSectorNotFound: ; db "Boot sector "148 ; db 42h, 6fh, 6fh, 74h, 20h, 73h, 65h, 63h, 74h, 6fh, 72h, 20h ; uncompressed149 db 48h, 75h, 75h, 0fah, 79h, 6bh, 69h, 7ah, 75h, 0f8h ; compressed150 151 g_szNotFound: ; db "not found",LF,CR,NULL152 ; db 6eh, 6fh, 74h, 20h, 66h, 6fh, 75h, 6eh, 64h, 0ah, 0dh, 00h ; uncompressed153 db 74h, 75h, 0fah, 6ch, 75h, 7bh, 74h, 6ah, 1bh ; compressed154 155 g_szReadError: ; db "Error %x!",LF,CR,NULL156 ; db 45h, 72h, 72h, 6fh, 72h, 20h, 25h, 78h, 21h, 0ah, 0dh, 00h ; uncompressed157 db 4bh, 78h, 78h, 75h, 0f8h, 39h, 25h, 1bh ; compressed158 159 160 g_szAddressingModes:161 g_szLCHS: ; db "L-CHS",NULL162 ; db 4ch, 2dh, 43h, 48h, 53h, 00h ; uncompressed163 db 52h, 28h, 49h, 4eh, 99h ; compressed164 165 g_szPCHS: ; db "P-CHS",NULL166 ; db 50h, 2dh, 43h, 48h, 53h, 00h ; uncompressed167 db 56h, 28h, 49h, 4eh, 99h ; compressed168 169 g_szLBA28: ; db "LBA28",NULL170 ; db 4ch, 42h, 41h, 32h, 38h, 00h ; uncompressed171 db 52h, 48h, 47h, 2ch, 11h ; compressed172 173 g_szLBA48: ; db "LBA48",NULL174 ; db 4ch, 42h, 41h, 34h, 38h, 00h ; uncompressed175 db 52h, 48h, 47h, 2eh, 11h ; compressed176 177 g_szAddressingModes_Displacement equ (g_szPCHS - g_szAddressingModes)178 ;179 ; Ensure that addressing modes are correctly spaced in memory180 ;181 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS182 %if g_szLCHS <> g_szAddressingModes183 %error "g_szAddressingModes Displacement Incorrect 1"184 %endif185 %if g_szPCHS <> g_szLCHS + g_szAddressingModes_Displacement186 %error "g_szAddressingModes Displacement Incorrect 2"187 %endif188 %if g_szLBA28 <> g_szPCHS + g_szAddressingModes_Displacement189 %error "g_szAddressingModes Displacement Incorrect 3"190 %endif191 %if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement192 %error "g_szAddressingModes Displacement Incorrect 4"193 %endif194 %endif195 196 g_szBusTypeValues:197 g_szBusTypeValues_8Dual: ; db "D8 ",NULL198 ; db 44h, 38h, 20h, 00h ; uncompressed199 db 4ah, 31h, 00h ; compressed200 201 g_szBusTypeValues_8Reversed: ; db "X8 ",NULL202 ; db 58h, 38h, 20h, 00h ; uncompressed203 db 5eh, 31h, 00h ; compressed204 205 g_szBusTypeValues_8Single: ; db "S8 ",NULL206 ; db 53h, 38h, 20h, 00h ; uncompressed207 db 59h, 31h, 00h ; compressed208 209 g_szBusTypeValues_16: ; db " 16",NULL210 ; db 20h, 31h, 36h, 00h ; uncompressed211 db 20h, 2bh, 10h ; compressed212 213 g_szBusTypeValues_32: ; db " 32",NULL214 ; db 20h, 33h, 32h, 00h ; uncompressed215 db 20h, 2dh, 0ch ; compressed216 217 g_szBusTypeValues_Serial: ; db "SER",NULL218 ; db 53h, 45h, 52h, 00h ; uncompressed219 db 59h, 4bh, 98h ; compressed220 221 g_szBusTypeValues_8MemMapped: ; db "M8 ",NULL222 ; db 4dh, 38h, 20h, 00h ; uncompressed223 db 53h, 31h, 00h ; compressed224 225 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues)226 ;227 ; Ensure that bus type strings are correctly spaced in memory228 ;229 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS230 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues231 %error "g_szBusTypeValues Displacement Incorrect 1"232 %endif233 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement234 %error "g_szBusTypeValues Displacement Incorrect 2"235 %endif236 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement237 %error "g_szBusTypeValues Displacement Incorrect 3"238 %endif239 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement240 %error "g_szBusTypeValues Displacement Incorrect 4"241 %endif242 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement243 %error "g_szBusTypeValues Displacement Incorrect 5"244 %endif245 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement246 %error "g_szBusTypeValues Displacement Incorrect 6"247 %endif248 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement249 %error "g_szBusTypeValues Displacement Incorrect 7"250 250 %endif 251 251 %endif
Note:
See TracChangeset
for help on using the changeset viewer.