Changeset 592 in xtideuniversalbios for trunk/BIOS_Drive_Information_Tool/Src/AtaInfo.asm
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (7 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.