Changeset 592 in xtideuniversalbios for trunk/BIOS_Drive_Information_Tool/Src
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (6 years ago)
- Location:
- trunk/BIOS_Drive_Information_Tool/Src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BIOS_Drive_Information_Tool/Src/AtaInfo.asm
r558 r592 71 71 72 72 ; Print L-CHS generated by XTIDE Universal BIOS 73 call DisplayX TUBcompatibilityInfoUsingAtaInfoFromDSBX73 call DisplayXUBcompatibilityInfoUsingAtaInfoFromDSBX 74 74 75 75 .SkipAtaInfoSinceError: … … 80 80 81 81 ;-------------------------------------------------------------------- 82 ; Display XTUBcompatibilityInfoUsingAtaInfoFromDSBX82 ; DisplayPCHSusingAtaInfoFromDSBX 83 83 ; Parameters: 84 84 ; BX: Offset to ATA Information … … 193 193 DisplayPioModeInformationUsingAtaInfoFromDSBX: 194 194 ; Load standard timings (up to PIO-2) 195 mov ax, [bx+ATA1.bPioMode] 195 mov al, [bx+ATA1.bPioMode] 196 cbw 196 197 mov si, ax 197 shlsi, 1 ; Shift for WORD lookup198 eSHL_IM si, 1 ; Shift for WORD lookup 198 199 mov dx, [si+.rgwStandardPioTimings] ; Load min cycle time 199 200 mov cx, -1 ; IORDY not supported … … 203 204 jz SHORT .NoAdvancedPioModesSupported 204 205 205 mov si, [bx+ATA2.bPIOSupp] ; Advanced mode flags 206 mov si, 0FFh 207 and si, [bx+ATA2.bPIOSupp] ; Advanced mode flags 208 jz SHORT .NoAdvancedPioModesSupported 206 209 .IncrementPioMode: 207 210 inc ax … … 222 225 223 226 ;-------------------------------------------------------------------- 224 ; DisplayX TUBcompatibilityInfoUsingAtaInfoFromDSBX227 ; DisplayXUBcompatibilityInfoUsingAtaInfoFromDSBX 225 228 ; Parameters: 226 229 ; BX: Offset to ATA Information … … 230 233 ; AX, BX, CX, DX, BP, SI, DI 231 234 ;-------------------------------------------------------------------- 232 DisplayX TUBcompatibilityInfoUsingAtaInfoFromDSBX:235 DisplayXUBcompatibilityInfoUsingAtaInfoFromDSBX: 233 236 ; Display header 234 mov ax, g_szX TUBversion235 mov si, g_szX TUB237 mov ax, g_szXUBversion 238 mov si, g_szXUB 236 239 call Print_FormatStringFromSIwithParameterInAX 237 240 -
trunk/BIOS_Drive_Information_Tool/Src/Print.asm
r589 r592 149 149 xor dh, dh 150 150 mov si, dx 151 shlsi, 1 ; Shift for WORD lookup151 eSHL_IM si, 1 ; Shift for WORD lookup 152 152 push WORD [si+.rgszXlateModeToString] 153 153 … … 197 197 ;-------------------------------------------------------------------- 198 198 Print_NameFromAtaInfoInBX: 199 %ifdef CLD_NEEDED 199 200 cld 201 %endif 202 mov bp, sp 200 203 lea si, [bx+ATA1.strModel] 204 push si 201 205 mov di, si 202 206 mov cx, A1_MODEL_NUMBER_LENGTH/2 … … 211 215 stosb ; Terminate with NULL 212 216 213 mov bp, sp214 lea si, [bx+ATA1.strModel]215 push si216 217 mov si, g_szFormatDrvName 217 218 jmp SHORT JumpToFormatNullTerminatedStringFromSI -
trunk/BIOS_Drive_Information_Tool/Src/Strings.asm
r590 r592 21 21 SECTION .data 22 22 23 g_szProgramName: db "BIOS Drive Information Tool v1.0. 2",CR,LF24 db "(C) 2012-201 6by XTIDE Universal BIOS Team",CR,LF23 g_szProgramName: db "BIOS Drive Information Tool v1.0.3",CR,LF 24 db "(C) 2012-2018 by XTIDE Universal BIOS Team",CR,LF 25 25 db "Released under GNU GPL v2",CR,LF 26 26 db "http://xtideuniversalbios.org/",CR,LF,NULL … … 42 42 g_szBlockMode: db " Block mode : Set to %u from max %u sectors",CR,LF,NULL 43 43 g_szPIO: db " PIO mode : Max %u, Min cycle times: %u ns, with IORDY %d ns",CR,LF,NULL 44 g_szX TUB: db "XTIDE Universal BIOS %s generates following L-CHS...",CR,LF,NULL45 g_szX TUBversion:db ROM_VERSION_STRING ; This one is NULL terminated44 g_szXUB: db "XTIDE Universal BIOS %s generates following L-CHS...",CR,LF,NULL 45 g_szXUBversion: db ROM_VERSION_STRING ; This one is NULL terminated 46 46 47 47 g_szOldInfoHeader: db "Old INT 13h information from AH=08h and AH=15h...",CR,LF,NULL
Note:
See TracChangeset
for help on using the changeset viewer.