Changeset 564 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm


Ignore:
Timestamp:
Jul 30, 2013, 2:06:45 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • If Advanced controller needs to limit PIO mode (Vision QD6500), cycle time is now limited as well => QD6500 now works with fast drives.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm

    r526 r564  
    119119    ; Use highest common PIO mode from controller and drive.
    120120    ; Many VLB controllers support PIO modes up to 2.
    121     call    AdvAtaInit_GetControllerMaxPioModeToAL
     121    call    AdvAtaInit_GetControllerMaxPioModeToALandMinPioCycleTimeToBX
    122122    jnc     SHORT .ChangeTo32bitDevice
     123
    123124    and     BYTE [di+DPT.bFlagsHigh], ~FLGH_DPT_IORDY   ; No IORDY supported if need to limit
    124125    MIN_U   [di+DPT_ADVANCED_ATA.bPioMode], al
     126    mov     [di+DPT_ADVANCED_ATA.wMinPioCycleTime], bx
    125127
    126128    ; We have detected 32-bit controller so change Device Type since
Note: See TracChangeset for help on using the changeset viewer.