Changeset 332 in xtideuniversalbios
- Timestamp:
- Mar 12, 2012, 1:33:24 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BIOS_Drive_Information_Tool/Src/Main.asm
r327 r332 141 141 push cx 142 142 push dx 143 push dx144 143 145 144 call Bios_ReadOldInt13hParametersFromDriveDL … … 151 150 call Print_NullTerminatedStringFromSI 152 151 pop dx 152 push dx 153 153 call Bios_ReadOldInt13hCapacityFromDriveDL 154 154 call Print_ErrorMessageFromAHifError … … 163 163 ret 164 164 165 165 166 166 ALIGN JUMP_ALIGN 167 167 DisplayNewInt13hInformationFromDriveDL: -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeError.asm
r324 r332 23 23 24 24 %ifndef ASSEMBLE_SHARED_IDE_DEVICE_FUNCTIONS ; JR-IDE/ISA 25 jmp ContinueFromMemIdeError ; What's this supposed to do? *FIXME*25 jmp ContinueFromMemIdeError 26 26 %else 27 27 ContinueFromMemIdeError: -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeIO.asm
r181 r332 6 6 7 7 ;-------------------------------------------------------------------- 8 ; IdeIO_OutputALtoIdeControlBlockRegisterInDL 8 9 ; IdeIO_OutputALtoIdeRegisterInDL 9 ; IdeIO_OutputALtoIdeControlBlockRegisterInDL10 10 ; Parameters: 11 11 ; AL: Byte to output 12 ; DL: IDE Register (IdeIO_OutputALtoIdeRegisterInDL)13 ; IDE Control Block Register (IdeIO_OutputALtoIdeControlBlockRegisterInDL)12 ; DL: IDE Control Block Register (IdeIO_OutputALtoIdeControlBlockRegisterInDL) 13 ; IDE Register (IdeIO_OutputALtoIdeRegisterInDL) 14 14 ; DS:DI: Ptr to DPT (in RAMVARS segment) 15 15 ; Returns: … … 19 19 ;-------------------------------------------------------------------- 20 20 ALIGN JUMP_ALIGN 21 IdeIO_OutputALtoIdeControlBlockRegisterInDL: 22 mov bl, IDEVARS.wPortCtrl 23 SKIP2B f ; cmp ax, <next instruction> 24 ; Fall to IdeIO_OutputALtoIdeRegisterInDL 25 21 26 IdeIO_OutputALtoIdeRegisterInDL: 22 27 mov bl, IDEVARS.wPort 23 SKIP2B f ; cmp ax, <next instruction>24 ; Fall to IdeIO_OutputALtoIdeControlBlockRegisterInDL25 26 IdeIO_OutputALtoIdeControlBlockRegisterInDL:27 mov bl, IDEVARS.wPortCtrl28 28 call GetPortToDXandTranslateA0andA3ifNecessary 29 29 out dx, al … … 63 63 GetPortToDXandTranslateA0andA3ifNecessary: 64 64 xor bh, bh 65 add bl, [di+DPT.bIdevarsOffset] ; CS:BX now points port address 65 66 xor dh, dh ; DX now has IDE register offset 66 add bl, [di+DPT.bIdevarsOffset] ; CS:BX now points port address67 67 add dx, [cs:bx] 68 68 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_REVERSED_A0_AND_A3 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH4h_HVerify.asm
r294 r332 27 27 ALIGN JUMP_ALIGN 28 28 AH4h_HandlerForVerifyDiskSectors: 29 call Prepare_ByValidatingSectorsInALforOldInt13h30 29 mov ah, COMMAND_VERIFY_SECTORS 30 call Prepare_ByValidatingSectorsInALforOldInt13h ; Preserves AX 31 31 mov bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_DRQ, FLG_STATUS_DRDY) 32 32 %ifdef USE_186 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH8h_HParams.asm
r294 r332 25 25 ;-------------------------------------------------------------------- 26 26 AH8h_HandlerForReadDiskDriveParameters: 27 test di, di28 j nz SHORT .OurDrive27 test di, di 28 jz SHORT .NotOurDrive 29 29 30 call Int13h_CallPreviousInt13hHandler31 jnc SHORT .MidGame32 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH33 34 .OurDrive:35 30 call AH8h_GetDriveParameters 36 31 … … 67 62 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 68 63 %endif 64 65 .NotOurDrive: 66 call Int13h_CallPreviousInt13hHandler 67 jnc SHORT .MidGame 68 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 69 69 70 70 … … 114 114 115 115 %ifdef MODULE_SERIAL_FLOPPY 116 mov bl, [di+DPT.bFlagsHigh]116 mov bl, [di+DPT.bFlagsHigh] 117 117 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS ; not sure why this is needed for preprocessor-only 118 eSHR_IM bl, FLGH_DPT_SERIAL_FLOPPY_TYPE_FIELD_POSITION118 eSHR_IM bl, FLGH_DPT_SERIAL_FLOPPY_TYPE_FIELD_POSITION 119 119 %endif 120 120 %endif -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS/AH48h_GetExtendedDriveParameters.asm
r324 r332 31 31 mov cx, MINIMUM_EDRIVEINFO_SIZE 32 32 cmp [si+EDRIVE_INFO.wSize], cx 33 jb SHORTPrepare_ReturnFromInt13hWithInvalidFunctionError33 jb Prepare_ReturnFromInt13hWithInvalidFunctionError 34 34 je SHORT .SkipEddConfigurationParameters 35 35 -
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r322 r332 61 61 %endif 62 62 %endif 63 64 g_szBusTypeValues: 65 g_szBusTypeValues_8Dual: db "D8 ",NULL 66 g_szBusTypeValues_8Reversed: db "X8 ",NULL 67 g_szBusTypeValues_8Single: db "S8 ",NULL 68 g_szBusTypeValues_16: db " 16",NULL 69 g_szBusTypeValues_32: db " 32",NULL 70 g_szBusTypeValues_Serial: db "SER",NULL 71 g_szBusTypeValues_8MemMapped: db "M8 ",NULL 72 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues) 73 ; 74 ; Ensure that bus type strings are correctly spaced in memory 75 ; 76 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 77 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues 78 %error "g_szBusTypeValues Displacement Incorrect 1" 79 %endif 80 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement 81 %error "g_szBusTypeValues Displacement Incorrect 2" 82 %endif 83 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement 84 %error "g_szBusTypeValues Displacement Incorrect 3" 85 %endif 86 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement 87 %error "g_szBusTypeValues Displacement Incorrect 4" 88 %endif 89 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement 90 %error "g_szBusTypeValues Displacement Incorrect 5" 91 %endif 92 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement 93 %error "g_szBusTypeValues Displacement Incorrect 6" 94 %endif 95 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement 96 %error "g_szBusTypeValues Displacement Incorrect 7" 97 %endif 98 %endif 99 100 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL 101 102 g_szDashForZero: db "- ",NULL 103 104 ; Boot Menu menuitem strings 105 ; 106 ; The following strings are used by BootMenuPrint_* routines. 107 ; To support optimizations in that code, these strings must start on the same 256 byte page, 108 ; which is checked at assembly time below. 109 ; 110 g_szBootMenuPrintStart: 111 g_szDriveNum: db "%x %s",NULL 112 g_szDriveNumBOOTNFO: db "%x %z",NULL 113 g_szFloppyDrv: db "Floppy Drive %c",NULL 114 g_szBootMenuPrintEnd: 115 g_szForeignHD: db "Foreign Hard Disk",NULL 116 117 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 118 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00) 119 %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" 120 %endif 121 %endif 122 123 ; Boot menu bottom of screen strings 124 g_szFDD: db "FDD ",NULL 125 g_szHDD: db "HDD ",NULL 126 g_szRomBoot: db "ROM Boot",NULL 127 g_szHotkey: db "%A%c%c%A%s%A ",NULL 128 129 ; Boot Menu information strings 130 g_szCapacity: db "Capacity : %s",NULL 131 g_szCapacityNum: db "%5-u.%u %ciB",NULL 132 g_szInformation: db "%s",LF,CR 133 db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR 134 db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL 63 135 64 136 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP … … 85 157 %endif 86 158 %endif 87 88 g_szBusTypeValues:89 g_szBusTypeValues_8Dual: db "D8 ",NULL90 g_szBusTypeValues_8Reversed: db "X8 ",NULL91 g_szBusTypeValues_8Single: db "S8 ",NULL92 g_szBusTypeValues_16: db " 16",NULL93 g_szBusTypeValues_32: db " 32",NULL94 g_szBusTypeValues_Serial: db "SER",NULL95 g_szBusTypeValues_8MemMapped: db "M8 ",NULL96 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues)97 ;98 ; Ensure that bus type strings are correctly spaced in memory99 ;100 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS101 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues102 %error "g_szBusTypeValues Displacement Incorrect 1"103 %endif104 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement105 %error "g_szBusTypeValues Displacement Incorrect 2"106 %endif107 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement108 %error "g_szBusTypeValues Displacement Incorrect 3"109 %endif110 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement111 %error "g_szBusTypeValues Displacement Incorrect 4"112 %endif113 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement114 %error "g_szBusTypeValues Displacement Incorrect 5"115 %endif116 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement117 %error "g_szBusTypeValues Displacement Incorrect 6"118 %endif119 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement120 %error "g_szBusTypeValues Displacement Incorrect 7"121 %endif122 %endif123 124 ; Boot Menu menuitem strings125 ;126 ; The following strings are used by BootMenuPrint_* routines.127 ; To support optimizations in that code, these strings must start on the same 256 byte page,128 ; which is checked at assembly time below.129 ;130 g_szBootMenuPrintStart:131 g_szDriveNum: db "%x %s",NULL132 g_szDriveNumBOOTNFO: db "%x %z",NULL133 g_szFloppyDrv: db "Floppy Drive %c",NULL134 g_szBootMenuPrintEnd:135 g_szForeignHD: db "Foreign Hard Disk",NULL136 137 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS138 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00)139 %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"140 %endif141 %endif142 143 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL144 145 g_szDashForZero: db "- ",NULL146 147 ; Boot menu bottom of screen strings148 g_szFDD: db "FDD ",NULL149 g_szHDD: db "HDD ",NULL150 g_szRomBoot: db "ROM Boot",NULL151 g_szHotkey: db "%A%c%c%A%s%A ",NULL152 153 ; Boot Menu information strings154 g_szCapacity: db "Capacity : %s",NULL155 g_szCapacityNum: db "%5-u.%u %ciB",NULL156 g_szInformation: db "%s",LF,CR157 db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR158 db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL159 159 160 160 ;------------------------------------------------------------------------------------------ -
trunk/XTIDE_Universal_BIOS/Src/StringsCompressed.asm
r322 r332 112 112 %endif 113 113 114 g_szBusTypeValues: 115 g_szBusTypeValues_8Dual: ; db "D8 ",NULL 116 ; db 44h, 38h, 20h, 00h ; uncompressed 117 db 4ah, 31h, 00h ; compressed 118 119 g_szBusTypeValues_8Reversed: ; db "X8 ",NULL 120 ; db 58h, 38h, 20h, 00h ; uncompressed 121 db 5eh, 31h, 00h ; compressed 122 123 g_szBusTypeValues_8Single: ; db "S8 ",NULL 124 ; db 53h, 38h, 20h, 00h ; uncompressed 125 db 59h, 31h, 00h ; compressed 126 127 g_szBusTypeValues_16: ; db " 16",NULL 128 ; db 20h, 31h, 36h, 00h ; uncompressed 129 db 20h, 2bh, 10h ; compressed 130 131 g_szBusTypeValues_32: ; db " 32",NULL 132 ; db 20h, 33h, 32h, 00h ; uncompressed 133 db 20h, 2dh, 0ch ; compressed 134 135 g_szBusTypeValues_Serial: ; db "SER",NULL 136 ; db 53h, 45h, 52h, 00h ; uncompressed 137 db 59h, 4bh, 98h ; compressed 138 139 g_szBusTypeValues_8MemMapped: ; db "M8 ",NULL 140 ; db 4dh, 38h, 20h, 00h ; uncompressed 141 db 53h, 31h, 00h ; compressed 142 143 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues) 144 ; 145 ; Ensure that bus type strings are correctly spaced in memory 146 ; 147 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 148 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues 149 %error "g_szBusTypeValues Displacement Incorrect 1" 150 %endif 151 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement 152 %error "g_szBusTypeValues Displacement Incorrect 2" 153 %endif 154 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement 155 %error "g_szBusTypeValues Displacement Incorrect 3" 156 %endif 157 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement 158 %error "g_szBusTypeValues Displacement Incorrect 4" 159 %endif 160 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement 161 %error "g_szBusTypeValues Displacement Incorrect 5" 162 %endif 163 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement 164 %error "g_szBusTypeValues Displacement Incorrect 6" 165 %endif 166 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement 167 %error "g_szBusTypeValues Displacement Incorrect 7" 168 %endif 169 %endif 170 171 g_szSelectionTimeout: ; db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL 172 ; 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 173 db 32h, 33h, 3dh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ch, 20h, 0b9h ; compressed 174 175 176 g_szDashForZero: ; db "- ",NULL 177 ; db 2dh, 20h, 00h ; uncompressed 178 db 28h, 00h ; compressed 179 180 181 ; Boot Menu menuitem strings 182 ; 183 ; The following strings are used by BootMenuPrint_* routines. 184 ; To support optimizations in that code, these strings must start on the same 256 byte page, 185 ; which is checked at assembly time below. 186 ; 187 g_szBootMenuPrintStart: 188 g_szDriveNum: ; db "%x %s",NULL 189 ; db 25h, 78h, 20h, 25h, 73h, 00h ; uncompressed 190 db 39h, 20h, 1eh ; compressed 191 192 g_szDriveNumBOOTNFO: ; db "%x %z",NULL 193 ; db 25h, 78h, 20h, 25h, 7ah, 00h ; uncompressed 194 db 39h, 20h, 1fh ; compressed 195 196 g_szFloppyDrv: ; db "Floppy Drive %c",NULL 197 ; db 46h, 6ch, 6fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 20h, 25h, 63h, 00h ; uncompressed 198 db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0ebh, 15h ; compressed 199 200 g_szBootMenuPrintEnd: 201 g_szForeignHD: ; db "Foreign Hard Disk",NULL 202 ; db 46h, 6fh, 72h, 65h, 69h, 67h, 6eh, 20h, 48h, 61h, 72h, 64h, 20h, 44h, 69h, 73h, 6bh, 00h ; uncompressed 203 db 4ch, 75h, 78h, 6bh, 6fh, 6dh, 0f4h, 4eh, 67h, 78h, 0eah, 4ah, 6fh, 79h, 0b1h ; compressed 204 205 206 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 207 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00) 208 %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" 209 %endif 210 %endif 211 212 ; Boot menu bottom of screen strings 213 g_szFDD: ; db "FDD ",NULL 214 ; db 46h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed 215 db 4ch, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed 216 217 g_szHDD: ; db "HDD ",NULL 218 ; db 48h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed 219 db 4eh, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed 220 221 g_szRomBoot: ; db "ROM Boot",NULL 222 ; db 52h, 4fh, 4dh, 20h, 42h, 6fh, 6fh, 74h, 00h ; uncompressed 223 db 58h, 55h, 0d3h, 48h, 75h, 75h, 0bah ; compressed 224 225 g_szHotkey: ; db "%A%c%c%A%s%A ",NULL 226 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed 227 db 3dh, 35h, 35h, 3dh, 3eh, 3dh, 00h ; compressed 228 229 230 ; Boot Menu information strings 231 g_szCapacity: ; db "Capacity : %s",NULL 232 ; db 43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3ah, 20h, 25h, 73h, 00h ; uncompressed 233 db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 0c0h, 1eh ; compressed 234 235 g_szCapacityNum: ; db "%5-u.%u %ciB",NULL 236 ; db 25h, 35h, 2dh, 75h, 2eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h ; uncompressed 237 db 38h, 29h, 37h, 20h, 35h, 6fh, 88h ; compressed 238 239 g_szInformation: ; db "%s",LF,CR 240 ; db 25h, 73h, 0ah, 0dh ; uncompressed 241 db 3eh, 3bh ; compressed 242 243 ; db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR 244 ; db 41h, 64h, 64h, 72h, 2eh, 0b3h, 42h, 6ch, 6fh, 63h, 6bh, 0b3h, 42h, 75h, 73h, 0b3h, 49h, 52h, 51h, 0b3h, 52h, 65h, 73h, 65h, 74h, 0ah, 0dh ; uncompressed 245 db 47h, 6ah, 6ah, 78h, 29h, 23h, 48h, 72h, 75h, 69h, 71h, 23h, 48h, 7bh, 79h, 23h, 4fh, 58h, 57h, 23h, 58h, 6bh, 79h, 6bh, 7ah, 3bh ; compressed 246 247 ; db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL 248 ; db 25h, 73h, 0b3h, 25h, 35h, 2dh, 75h, 0b3h, 25h, 73h, 0b3h, 20h, 25h, 32h, 2dh, 49h, 0b3h, 25h, 35h, 2dh, 78h, 00h ; uncompressed 249 db 3eh, 23h, 38h, 23h, 3eh, 23h, 20h, 36h, 23h, 1ah ; compressed 250 251 114 252 ; The following strings are used by DetectPrint_StartDetectWithMasterOrSlaveStringInCXandIdeVarsInCSBP 115 253 ; To support an optimization in that code, these strings must start on the same 256 byte page, … … 162 300 %endif 163 301 %endif 164 165 g_szBusTypeValues:166 g_szBusTypeValues_8Dual: ; db "D8 ",NULL167 ; db 44h, 38h, 20h, 00h ; uncompressed168 db 4ah, 31h, 00h ; compressed169 170 g_szBusTypeValues_8Reversed: ; db "X8 ",NULL171 ; db 58h, 38h, 20h, 00h ; uncompressed172 db 5eh, 31h, 00h ; compressed173 174 g_szBusTypeValues_8Single: ; db "S8 ",NULL175 ; db 53h, 38h, 20h, 00h ; uncompressed176 db 59h, 31h, 00h ; compressed177 178 g_szBusTypeValues_16: ; db " 16",NULL179 ; db 20h, 31h, 36h, 00h ; uncompressed180 db 20h, 2bh, 10h ; compressed181 182 g_szBusTypeValues_32: ; db " 32",NULL183 ; db 20h, 33h, 32h, 00h ; uncompressed184 db 20h, 2dh, 0ch ; compressed185 186 g_szBusTypeValues_Serial: ; db "SER",NULL187 ; db 53h, 45h, 52h, 00h ; uncompressed188 db 59h, 4bh, 98h ; compressed189 190 g_szBusTypeValues_8MemMapped: ; db "M8 ",NULL191 ; db 4dh, 38h, 20h, 00h ; uncompressed192 db 53h, 31h, 00h ; compressed193 194 g_szBusTypeValues_Displacement equ (g_szBusTypeValues_8Reversed - g_szBusTypeValues)195 ;196 ; Ensure that bus type strings are correctly spaced in memory197 ;198 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS199 %if g_szBusTypeValues_8Dual <> g_szBusTypeValues200 %error "g_szBusTypeValues Displacement Incorrect 1"201 %endif202 %if g_szBusTypeValues_8Reversed <> g_szBusTypeValues + g_szBusTypeValues_Displacement203 %error "g_szBusTypeValues Displacement Incorrect 2"204 %endif205 %if g_szBusTypeValues_8Single <> g_szBusTypeValues_8Reversed + g_szBusTypeValues_Displacement206 %error "g_szBusTypeValues Displacement Incorrect 3"207 %endif208 %if g_szBusTypeValues_16 <> g_szBusTypeValues_8Single + g_szBusTypeValues_Displacement209 %error "g_szBusTypeValues Displacement Incorrect 4"210 %endif211 %if g_szBusTypeValues_32 <> g_szBusTypeValues_16 + g_szBusTypeValues_Displacement212 %error "g_szBusTypeValues Displacement Incorrect 5"213 %endif214 %if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement215 %error "g_szBusTypeValues Displacement Incorrect 6"216 %endif217 %if g_szBusTypeValues_8MemMapped <> g_szBusTypeValues_Serial + g_szBusTypeValues_Displacement218 %error "g_szBusTypeValues Displacement Incorrect 7"219 %endif220 %endif221 222 ; Boot Menu menuitem strings223 ;224 ; The following strings are used by BootMenuPrint_* routines.225 ; To support optimizations in that code, these strings must start on the same 256 byte page,226 ; which is checked at assembly time below.227 ;228 g_szBootMenuPrintStart:229 g_szDriveNum: ; db "%x %s",NULL230 ; db 25h, 78h, 20h, 25h, 73h, 00h ; uncompressed231 db 39h, 20h, 1eh ; compressed232 233 g_szDriveNumBOOTNFO: ; db "%x %z",NULL234 ; db 25h, 78h, 20h, 25h, 7ah, 00h ; uncompressed235 db 39h, 20h, 1fh ; compressed236 237 g_szFloppyDrv: ; db "Floppy Drive %c",NULL238 ; db 46h, 6ch, 6fh, 70h, 70h, 79h, 20h, 44h, 72h, 69h, 76h, 65h, 20h, 25h, 63h, 00h ; uncompressed239 db 4ch, 72h, 75h, 76h, 76h, 0ffh, 4ah, 78h, 6fh, 7ch, 0ebh, 15h ; compressed240 241 g_szBootMenuPrintEnd:242 g_szForeignHD: ; db "Foreign Hard Disk",NULL243 ; db 46h, 6fh, 72h, 65h, 69h, 67h, 6eh, 20h, 48h, 61h, 72h, 64h, 20h, 44h, 69h, 73h, 6bh, 00h ; uncompressed244 db 4ch, 75h, 78h, 6bh, 6fh, 6dh, 0f4h, 4eh, 67h, 78h, 0eah, 4ah, 6fh, 79h, 0b1h ; compressed245 246 247 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS248 %if ((g_szBootMenuPrintStart-$$) & 0xff00) <> ((g_szBootMenuPrintEnd-$$) & 0xff00)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"250 %endif251 %endif252 253 g_szSelectionTimeout: ; db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL254 ; 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 ; uncompressed255 db 32h, 33h, 3dh, 59h, 6bh, 72h, 6bh, 69h, 7ah, 6fh, 75h, 0f4h, 6fh, 0f4h, 3ch, 20h, 0b9h ; compressed256 257 258 g_szDashForZero: ; db "- ",NULL259 ; db 2dh, 20h, 00h ; uncompressed260 db 28h, 00h ; compressed261 262 263 ; Boot menu bottom of screen strings264 g_szFDD: ; db "FDD ",NULL265 ; db 46h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed266 db 4ch, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed267 268 g_szHDD: ; db "HDD ",NULL269 ; db 48h, 44h, 44h, 20h, 20h, 20h, 20h, 20h, 00h ; uncompressed270 db 4eh, 4ah, 0cah, 20h, 20h, 20h, 00h ; compressed271 272 g_szRomBoot: ; db "ROM Boot",NULL273 ; db 52h, 4fh, 4dh, 20h, 42h, 6fh, 6fh, 74h, 00h ; uncompressed274 db 58h, 55h, 0d3h, 48h, 75h, 75h, 0bah ; compressed275 276 g_szHotkey: ; db "%A%c%c%A%s%A ",NULL277 ; db 25h, 41h, 25h, 63h, 25h, 63h, 25h, 41h, 25h, 73h, 25h, 41h, 20h, 00h ; uncompressed278 db 3dh, 35h, 35h, 3dh, 3eh, 3dh, 00h ; compressed279 280 281 ; Boot Menu information strings282 g_szCapacity: ; db "Capacity : %s",NULL283 ; db 43h, 61h, 70h, 61h, 63h, 69h, 74h, 79h, 20h, 3ah, 20h, 25h, 73h, 00h ; uncompressed284 db 49h, 67h, 76h, 67h, 69h, 6fh, 7ah, 0ffh, 0c0h, 1eh ; compressed285 286 g_szCapacityNum: ; db "%5-u.%u %ciB",NULL287 ; db 25h, 35h, 2dh, 75h, 2eh, 25h, 75h, 20h, 25h, 63h, 69h, 42h, 00h ; uncompressed288 db 38h, 29h, 37h, 20h, 35h, 6fh, 88h ; compressed289 290 g_szInformation: ; db "%s",LF,CR291 ; db 25h, 73h, 0ah, 0dh ; uncompressed292 db 3eh, 3bh ; compressed293 294 ; db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus",SINGLE_VERTICAL, "IRQ",SINGLE_VERTICAL,"Reset",LF,CR295 ; db 41h, 64h, 64h, 72h, 2eh, 0b3h, 42h, 6ch, 6fh, 63h, 6bh, 0b3h, 42h, 75h, 73h, 0b3h, 49h, 52h, 51h, 0b3h, 52h, 65h, 73h, 65h, 74h, 0ah, 0dh ; uncompressed296 db 47h, 6ah, 6ah, 78h, 29h, 23h, 48h, 72h, 75h, 69h, 71h, 23h, 48h, 7bh, 79h, 23h, 4fh, 58h, 57h, 23h, 58h, 6bh, 79h, 6bh, 7ah, 3bh ; compressed297 298 ; db "%s",SINGLE_VERTICAL, "%5-u",SINGLE_VERTICAL, "%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x" ,NULL299 ; db 25h, 73h, 0b3h, 25h, 35h, 2dh, 75h, 0b3h, 25h, 73h, 0b3h, 20h, 25h, 32h, 2dh, 49h, 0b3h, 25h, 35h, 2dh, 78h, 00h ; uncompressed300 db 3eh, 23h, 38h, 23h, 3eh, 23h, 20h, 36h, 23h, 1ah ; compressed301 302 302 303 303 ;------------------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.