Changeset 612 in xtideuniversalbios for trunk/BIOS_Drive_Information_Tool/Src/AtaInfo.asm


Ignore:
Timestamp:
May 26, 2021, 1:42:14 PM (3 years ago)
Author:
krille_n_
Message:

Changes:

  • BIOSDRVS builds again (broken since r609). Also removed the last remnants of RESERVE_DIAGNOSTIC_CYLINDER from BIOSDRVS that I missed in r606.
  • Put in a limit on the P-CHS cylinder count in an attempt to improve compatibility with some CF cards that violates the ATA specification. The limit applies only to the BIOS. BIOSDRVS will continue to show the true cylinder count since we might want to add code later to warn the user when encountering incompatible drives like these.
  • Optimized the bug fix in r611.
  • Updated the copyright notices in XTIDECFG and BIOSDRVS.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BIOS_Drive_Information_Tool/Src/AtaInfo.asm

    r592 r612  
    243243    mov     dx, TRANSLATEMODE_AUTO
    244244    call    AtaGeometry_GetLCHStoAXBLBHfromAtaInfoInESSIwithTranslateModeInDX
    245     dec     ax                  ; Reserve diagnostics cylinder
    246245    MIN_U   ax, MAX_LCHS_CYLINDERS
    247246    jmp     Print_ModeFromDLandCHSfromAXLBH
Note: See TracChangeset for help on using the changeset viewer.