Changeset 613 in xtideuniversalbios for trunk/BIOS_Drive_Information_Tool/Src/AtaInfo.asm
- Timestamp:
- May 27, 2021, 6:25:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BIOS_Drive_Information_Tool/Src/AtaInfo.asm
r612 r613 36 36 37 37 ; Read ATA Information from the drive 38 call Bios_ReadAtaInfoFromDriveDLtoBX 38 call Bios_ReadAtaInfoFromDriveDLtoBX ; Unaltered ATA information 39 39 call Print_ErrorMessageFromAHifError ; AH=25h is not available on many BIOSes 40 40 jc SHORT .SkipAtaInfoSinceError … … 44 44 45 45 ; Print Drive P-CHS parameters 46 call DisplayPCHSusingAtaInfoFromDSBX 46 call DisplayPCHSusingAtaInfoFromDSBX ; Unaltered 47 48 ; Fix and display values (ATA Info will stay fixed) 49 xor ah, ah ; Successfully read ATA ID 50 push ds 51 pop es 52 mov si, bx 53 call AtaID_FixIllegalValuesFromESSI ; Modify ATA information if necessary 54 mov si, g_szWillBeModified 55 call Print_NullTerminatedStringFromSI 56 call DisplayPCHSusingAtaInfoFromDSBX ; Display fixed values 47 57 48 58 ; Print Drive CHS sector count
Note:
See TracChangeset
for help on using the changeset viewer.