Changeset 612 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE


Ignore:
Timestamp:
May 26, 2021, 1:42:14 PM (3 years ago)
Author:
Krister Nordvall
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/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm

    r611 r612  
    173173    ; Output Sector Address High (only used by LBA48)
    174174%ifdef MODULE_EBIOS
    175     eMOVZX  ax, [bp+IDEPACK.bLbaLowExt]     ; Zero sector count
    176     xchg    al, ah      ; LBA low ext to AH, zero sectors to AL
     175    mov     ah, [bp+IDEPACK.bLbaLowExt]
     176    xor     al, al                          ; Zero sector count
    177177    mov     cx, [bp+IDEPACK.wLbaMiddleAndHighExt]
    178178    call    OutputSectorCountAndAddress
Note: See TracChangeset for help on using the changeset viewer.